libs/libksane/src
ksaneviewer.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 mouseMoveEvent(QMouseEvent *e) override
Definition: ksaneviewer.cpp:619
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: ksaneviewer.cpp:302
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: ksaneviewer.cpp:289
void setHighlightShown(int percentage, QColor hideColor=Qt::white)
This function sets the percentage of the highlighted area that is visible.
Definition: ksaneviewer.cpp:346
void drawBackground(QPainter *painter, const QRectF &rect) override
Definition: ksaneviewer.cpp:142
void findSelections(float area=10000.0)
Find selections in the picture.
Definition: ksaneviewer.cpp:811
QRect rect() const
void mouseReleaseEvent(QMouseEvent *e) override
Definition: ksaneviewer.cpp:562
Definition: ksaneviewer.h:37
void wheelEvent(QWheelEvent *e) override
Definition: ksaneviewer.cpp:518
void mousePressEvent(QMouseEvent *e) override
Definition: ksaneviewer.cpp:538
void clearSavedSelections()
Definition: ksaneviewer.cpp:498
bool selectionAt(int index, float &tl_x, float &tl_y, float &br_x, float &br_y)
Definition: ksaneviewer.cpp:446
void clearActiveSelection()
Definition: ksaneviewer.cpp:490
void newSelection(float tl_x, float tl_y, float br_x, float br_y)
QObject * parent() const
KSaneViewer(QImage *img, QWidget *parent=nullptr)
Definition: ksaneviewer.cpp:78
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 15 2019 02:18:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 15 2019 02:18:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.