org.kde.koala

Interface KToolBarSignals

public interface KToolBarSignals

Method Summary
voidclicked(int id)
Emitted when button id is clicked.
voiddoubleClicked(int id)
Emitted when button id is double-clicked.
voidhighlighted(int id, boolean isHighlighted)
This signal is emitted when item id gets highlighted/unhighlighted (i.e when mouse enters/exits).
voidhighlighted(int id)
This signal is emitted when item id gets highlighted/unhighlighted (i.e when mouse enters/exits).
voidmodechange()
This signal is emitted when toolbar detects changing of following parameters: highlighting, button-size, button-mode.
voidmoved(int arg1)
Emitted when toolbar changes position, or when an item is removed from toolbar.
voidpressed(int arg1)
Emitted when button id is pressed.
voidreleased(int arg1)
Emits when button id is released.
voidtoggled(int arg1)
Emitted when a toggle button changes state.
voidtoolbarDestroyed()
This signal is emitted when the toolbar is getting deleted, and before ~KToolbar finishes (so it's still time to remove widgets from the toolbar).

Method Detail

clicked

public void clicked(int id)
Emitted when button id is clicked.

UNKNOWN: Emitted when button id is clicked.

doubleClicked

public void doubleClicked(int id)
Emitted when button id is double-clicked. Note: you will always recive two clicked() , pressed() and released() signals. There is no way to avoid it - at least no easy way. If you need to resolve this all you can do is set up timers which wait for QApplication.doubleClickInterval() to expire. If in that time you don't get this signal, you may belive that button was only clicked and not double-clicked. And please note that butons with popup menus do not emit this signal, but those with delayed popup do.

UNKNOWN: Emitted when button id is double-clicked.

highlighted

public void highlighted(int id, boolean isHighlighted)
This signal is emitted when item id gets highlighted/unhighlighted (i.e when mouse enters/exits). Note that this signal is emitted from all buttons (normal, disabled and toggle) even when there is no visible change in buttons (i.e., buttons do not raise when mouse enters). The parameter isHighlighted is true when mouse enters and false when mouse exits.

UNKNOWN: This signal is emitted when item id gets highlighted/unhighlighted (i.

highlighted

public void highlighted(int id)
This signal is emitted when item id gets highlighted/unhighlighted (i.e when mouse enters/exits). Note that this signal is emitted from all buttons (normal, disabled and toggle) even when there is no visible change in buttons (i.e., buttons do not raise when mouse enters).

UNKNOWN: This signal is emitted when item id gets highlighted/unhighlighted (i.

modechange

public void modechange()
This signal is emitted when toolbar detects changing of following parameters: highlighting, button-size, button-mode. This signal is internal, aimed to buttons.

UNKNOWN: This signal is emitted when toolbar detects changing of following parameters: highlighting, button-size, button-mode.

moved

public void moved(int arg1)
Emitted when toolbar changes position, or when an item is removed from toolbar. If you subclass KMainWindow and reimplement KMainWindow.resizeEvent() be sure to connect to this signal. Note: You can connect this signal to a slot that doesn't take parameter.

UNKNOWN: Emitted when toolbar changes position, or when an item is removed from toolbar.

pressed

public void pressed(int arg1)
Emitted when button id is pressed.

UNKNOWN: Emitted when button id is pressed.

released

public void released(int arg1)
Emits when button id is released.

UNKNOWN: Emits when button id is released.

toggled

public void toggled(int arg1)
Emitted when a toggle button changes state. Emitted also if you change state with setButton() or toggleButton() If you make a button normal again, with setToggle(false), this signal won't be emitted.

UNKNOWN: Emitted when a toggle button changes state.

toolbarDestroyed

public void toolbarDestroyed()
This signal is emitted when the toolbar is getting deleted, and before ~KToolbar finishes (so it's still time to remove widgets from the toolbar). Used by KWidgetAction.

UNKNOWN: This signal is emitted when the toolbar is getting deleted, and before ~KToolbar finishes (so it's still time to remove widgets from the toolbar).