#include <SearchComboBox.hpp>
Definition at line 10 of file SearchComboBox.hpp.
◆ SearchComboBox()
dbe::SearchComboBox::SearchComboBox |
( |
QWidget * | parent = 0 | ) |
|
|
explicit |
Including QT Headers.
Including DBE
Definition at line 6 of file SearchComboBox.cpp.
7 : QComboBox ( parent ),
9{
10 connect ( this, SIGNAL ( currentIndexChanged ( const QString & ) ), this,
12}
void ChangeToolTip(const QString &Text)
◆ ChangeToolTip
void dbe::SearchComboBox::ChangeToolTip |
( |
const QString & | Text | ) |
|
|
privateslot |
Definition at line 41 of file SearchComboBox.cpp.
42{
43 setToolTip ( QString ( "Search mode: %1" ).arg ( Text ) );
44}
◆ focusInEvent()
void dbe::SearchComboBox::focusInEvent |
( |
QFocusEvent * | Event | ) |
|
|
protected |
◆ keyPressEvent()
void dbe::SearchComboBox::keyPressEvent |
( |
QKeyEvent * | Event | ) |
|
|
protected |
Definition at line 20 of file SearchComboBox.cpp.
21{
22 switch ( Event->key() )
23 {
24 case Qt::Key_Return:
26 return;
27
28 default:
29 break;
30 }
31
32 QComboBox::keyPressEvent ( Event );
33
34 if ( currentText().compare (
UserText ) != 0 )
35 {
38 }
39}
void TextModified(const QString &)
◆ ReturnPressed
void dbe::SearchComboBox::ReturnPressed |
( |
| ) |
|
|
signal |
◆ TextModified
void dbe::SearchComboBox::TextModified |
( |
const QString & | | ) |
|
|
signal |
◆ UserText
QString dbe::SearchComboBox::UserText |
|
private |
The documentation for this class was generated from the following files: