MirrorComboBox is a QComboBox that emits a signal when it loses keyboard focus.
This is useful when creating menus (such as the Mirror Mode menu found in the property window of several tools) that provide previews as the user scrolls through them.
#include <widgets.h>
Signals |
|
void | departed (int) |
This signal is emitted when the
MirrorComboBox loses keyboard focus. |
|
Public Member Functions |
|
MirrorComboBox (QWidget *parent=0, const char *name=0) | |
Constructor (the same as QComboBox) |
|
~MirrorComboBox () | |
Destructor. |
|
Protected Member Functions |
|
void | focusOutEvent (QFocusEvent *) |
This QWidget method is overridden here to
emit the "departed" signal. |
MirrorComboBox | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) | [inline] |
~MirrorComboBox | ( | ) | [inline] |
void departed | ( | int | ) | [signal] |
This signal is emitted when the MirrorComboBox loses keyboard focus.
The value of its parameter is always 0.
void focusOutEvent | ( | QFocusEvent * | ) | [inline, protected] |