![]() |
XML Mill
1.0.0
A GUI based XML editor with a memory.
|
A custom combo box providing additional user selection information. More...
#include <gccombobox.h>
Public Member Functions | |
GCComboBox (QWidget *parent=0) | |
Constructor. | |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *e) |
Re-eimplemented from QComboBox to emit the activated(int) signal. | |
void | focusInEvent (QFocusEvent *e) |
Re-eimplemented from QComboBox to emit the activated(int) signal. | |
void | focusOutEvent (QFocusEvent *e) |
Re-eimplemented from QComboBox to emit the currentIndexChanged(QString) signal. |
A custom combo box providing additional user selection information.
The only reason this class exists is so that we may know when a combo box is activated. Initially I understood that the "activated" signal is emitted when a user clicks on a QComboBox (e.g. when the dropdown is expanded), but it turns out that this is not the case.
Definition at line 41 of file gccombobox.h.
GCComboBox::GCComboBox | ( | QWidget * | parent = 0 | ) | [explicit] |
Constructor.
Definition at line 33 of file gccombobox.cpp.
void GCComboBox::focusInEvent | ( | QFocusEvent * | e | ) | [protected] |
Re-eimplemented from QComboBox to emit the activated(int) signal.
Definition at line 46 of file gccombobox.cpp.
void GCComboBox::focusOutEvent | ( | QFocusEvent * | e | ) | [protected] |
Re-eimplemented from QComboBox to emit the currentIndexChanged(QString) signal.
Definition at line 54 of file gccombobox.cpp.
void GCComboBox::mousePressEvent | ( | QMouseEvent * | e | ) | [protected] |
Re-eimplemented from QComboBox to emit the activated(int) signal.
Definition at line 38 of file gccombobox.cpp.