class KitToolBar

A KDE toolbar that doesn't need a KMainWindow. More...

Definition#include <toolbar.h>
InheritsKToolBar (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

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:
grpthe configuration file group name

Reimplemented from KToolBar.

void  saveSettings ( KConfig * config, const QString & grp )

saveSettings

Save toolbar settings.

Parameters:
grpthe configuration file group name

Reimplemented from KToolBar.

void  setButtonText ( int id, const QString & text, bool tip = true )

setButtonText

Set button text.

Parameters:
idthe button id
textthe button text
tipuse button tooltip

void  setToolTip ( int id, const QString & text )

setToolTip

Set button text.

Parameters:
idthe button id
textthe 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.