libs/libksane/libksane
ksane_viewer.h
Go to the documentation of this file.
92 /* This function returns the active visible selection in index 0 and after that the "saved" ones */
void mousePressEvent(QMouseEvent *e)
Definition: ksane_viewer.cpp:526
void setHighlightArea(float tl_x, float tl_y, float br_x, float br_y)
This function is used to darken everything except what is inside the given area.
Definition: ksane_viewer.cpp:294
void setSelection(float tl_x, float tl_y, float br_x, float br_y)
This function is used to set a selection without the user setting it.
Definition: ksane_viewer.cpp:281
void mouseReleaseEvent(QMouseEvent *e)
Definition: ksane_viewer.cpp:552
void drawBackground(QPainter *painter, const QRectF &rect)
Definition: ksane_viewer.cpp:155
void setHighlightShown(int percentage, QColor hideColor=Qt::white)
This function sets the percentage of the highlighted area that is visible.
Definition: ksane_viewer.cpp:338
void findSelections(float area=10000.0)
Find selections in the picture.
Definition: ksane_viewer.cpp:797
KSaneViewer(QImage *img, QWidget *parent=0)
Definition: ksane_viewer.cpp:76
QRect rect() const
Definition: ksane_viewer.h:37
void mouseMoveEvent(QMouseEvent *e)
Definition: ksane_viewer.cpp:610
void clearSavedSelections()
Definition: ksane_viewer.cpp:493
bool selectionAt(int index, float &tl_x, float &tl_y, float &br_x, float &br_y)
Definition: ksane_viewer.cpp:441
void clearActiveSelection()
Definition: ksane_viewer.cpp:485
void newSelection(float tl_x, float tl_y, float br_x, float br_y)
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.