org.kde.koala
public interface KToolBarSignals
Method Summary | |
---|---|
void | clicked(int id)
Emitted when button id is clicked. |
void | doubleClicked(int id)
Emitted when button id is double-clicked.
|
void | highlighted(int id, boolean isHighlighted)
This signal is emitted when item id gets highlighted/unhighlighted
(i.e when mouse enters/exits).
|
void | highlighted(int id)
This signal is emitted when item id gets highlighted/unhighlighted
(i.e when mouse enters/exits).
|
void | modechange()
This signal is emitted when toolbar detects changing of
following parameters:
highlighting, button-size, button-mode. |
void | moved(int arg1)
Emitted when toolbar changes position, or when
an item is removed from toolbar.
|
void | pressed(int arg1)
Emitted when button id is pressed. |
void | released(int arg1)
Emits when button id is released. |
void | toggled(int arg1)
Emitted when a toggle button changes state.
|
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).
|
id
is clicked.UNKNOWN: Emitted when button id
is clicked.
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.
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.
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.
UNKNOWN: This signal is emitted when toolbar detects changing of following parameters: highlighting, button-size, button-mode.
UNKNOWN: Emitted when toolbar changes position, or when an item is removed from toolbar.
id
is pressed.UNKNOWN: Emitted when button id
is pressed.
id
is released.UNKNOWN: Emits when button id
is released.
UNKNOWN: Emitted when a toggle button changes state.
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).