|
Krita Source Code Documentation
|
#include <KoZoomInput.h>
Inheritance diagram for KoZoomInput:Classes | |
| class | Private |
Signals | |
| void | explicitZoomLevelRequested (const QString &level) |
| void | zoomLevelChanged (const QString &level) |
| void | zoomLevelChangedIndex (int index) |
Public Member Functions | |
| bool | eventFilter (QObject *watched, QEvent *event) override |
| bool | isFlat () const |
| KoZoomInput (QWidget *parent=0) | |
| void | setCurrentZoomLevel (const QString &level) |
| void | setCurrentZoomLevel (int index) |
| void | setCurrentZoomLevel (int index, const QString &activeText) |
| void | setFlat (bool flat) |
| void | setZoomLevels (const QStringList &levels) |
| ~KoZoomInput () override | |
Protected Member Functions | |
| void | enterEvent (QEnterEvent *e) override |
| void | keyPressEvent (QKeyEvent *event) override |
| void | leaveEvent (QEvent *event) override |
Private Attributes | |
| Private *const | d |
Definition at line 11 of file KoZoomInput.h.
|
explicit |
Definition at line 32 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, connect(), d, KoZoomInput::Private::inside, KoZoomInput::Private::isFlat, KoZoomInput::Private::label, zoomLevelChanged(), and zoomLevelChangedIndex().
|
override |
|
overrideprotected |
Definition at line 76 of file KoZoomInput.cpp.
|
override |
Definition at line 177 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, d, and KoZoomInput::Private::inside.
|
signal |
| bool KoZoomInput::isFlat | ( | ) | const |
Definition at line 122 of file KoZoomInput.cpp.
References d, and KoZoomInput::Private::isFlat.
|
overrideprotected |
Definition at line 113 of file KoZoomInput.cpp.
|
overrideprotected |
Definition at line 94 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, d, KoZoomInput::Private::inside, and isFlat().
| void KoZoomInput::setCurrentZoomLevel | ( | const QString & | level | ) |
Definition at line 171 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, d, and KoZoomInput::Private::label.
| void KoZoomInput::setCurrentZoomLevel | ( | int | index | ) |
Definition at line 160 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, d, and setCurrentZoomLevel().
| void KoZoomInput::setCurrentZoomLevel | ( | int | index, |
| const QString & | activeText ) |
Definition at line 165 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, d, and KoZoomInput::Private::label.
| void KoZoomInput::setFlat | ( | bool | flat | ) |
Definition at line 127 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, d, enterEvent(), KoZoomInput::Private::inside, KoZoomInput::Private::isFlat, KoZoomInput::Private::label, and leaveEvent().
| void KoZoomInput::setZoomLevels | ( | const QStringList & | levels | ) |
Definition at line 154 of file KoZoomInput.cpp.
References KoZoomInput::Private::combo, and d.
|
signal |
|
signal |
|
private |
Definition at line 44 of file KoZoomInput.h.