class KToolBarRadioGroup

Class for group of radio butons in toolbar. More...

Definition#include <ktoolbarradiogroup.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots


Detailed Description

KToolBarRadioGroup is class for group of radio butons in toolbar. Take toggle buttons which you already inserted into toolbar, create KToolBarRadioGroup instance and add them here. All buttons will emit signals toggled (bool) (or you can use sitgnal toggled (int id) from toolbar). When one button is set down, all others are unset. All buttons emit signals - those who "go down" and those who "go up".

 KToolBarRadioGroup (KToolBar *_parent, const char *_name=0)

KToolBarRadioGroup

Constructor. Parent must be KToolBar .

 ~KToolBarRadioGroup ()

~KToolBarRadioGroup

Destructor.

void  addButton (int id)

addButton

Adds button to group. Button cannot be unset by mouse clicks (you must press some other button tounset this one)

void  removeButton (int id)

removeButton

Removes button from group, making it again toggle button (i.e. You can unset it with mouse).

void  slotToggled (int)

slotToggled

[slot]

Internal - nothing for you here.