lib
KoZoomAction Class Reference
#include <KoZoomAction.h>
Inheritance diagram for KoZoomAction:

Detailed Description
Class KoZoomAction implements an action to provide zoom values.In a toolbar, KoZoomAction will show a dropdown list, also with the possibility for the user to enter arbritrary zoom value (must be an integer). The values shown on the list are alwalys sorted.
Definition at line 31 of file KoZoomAction.h.
Public Slots | |
void | setZoom (const QString &zoom) |
void | setZoom (int zoom) |
Signals | |
void | zoomChanged (const QString &zoom) |
Public Member Functions | |
KoZoomAction (const QString &text, const QIconSet &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) | |
KoZoomAction (const QString &text, const QString &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0) | |
Protected Slots | |
void | activated (const QString &text) |
Protected Member Functions | |
void | init () |
Constructor & Destructor Documentation
|
Creates a new zoom action.
Definition at line 28 of file KoZoomAction.cpp. |
|
Creates a new zoom action.
Definition at line 35 of file KoZoomAction.cpp. |
Member Function Documentation
|
Sets the zoom. If it's not yet on the list of zoom values, it will be inserted into the list at proper place so that the the values remain sorted. Definition at line 79 of file KoZoomAction.cpp. |
|
Sets the zoom. If it's not yet on the list of zoom values, it will be inserted into the list at proper place so that the the values remain sorted. Definition at line 43 of file KoZoomAction.cpp. |
|
Signal zoomChanged is triggered when user changes the zoom value, either by choosing it from the list or by entering new value.
|
The documentation for this class was generated from the following files: