|
|
KitToolBar is a stationary KToolBar that doesn't need a KMainWindow.
It provides a popup context menu for icon size or text selection and will save these settings in a KDE compatible format.
KitToolBar ( QWidget *parentWidget, const char *widgetName,
bool honorStyle = false, bool readConfig = true )
| KitToolBar |
Constructor
~KitToolBar ()
| ~KitToolBar |
Destructor
void applySettings ( KConfig * config, const QString & grp )
| applySettings |
Apply saved toolbar settings.
Parameters:
grp | the configuration file group name |
Reimplemented from KToolBar.
void saveSettings ( KConfig * config, const QString & grp )
| saveSettings |
Save toolbar settings.
Parameters:
grp | the configuration file group name |
Reimplemented from KToolBar.
void setButtonText ( int id, const QString & text, bool tip = true )
| setButtonText |
Set button text.
Parameters:
id | the button id |
text | the button text |
tip | use button tooltip |
void setToolTip ( int id, const QString & text )
| setToolTip |
Set button text.
Parameters:
id | the button id |
text | the button tooltip text |
QSizePolicy sizePolicy ()
| sizePolicy |
[const]
Returns: the size policy of the toolbar
Reimplemented from KToolBar.
void mousePressEvent ( QMouseEvent * )
| mousePressEvent |
[protected virtual]
Reimplemented from KToolBar.