JKQtExtras
a library of useful Qt widgets and tools
|
1 #ifndef JKQTEENHANCEDCOMBOBOX_H
2 #define JKQTEENHANCEDCOMBOBOX_H
5 #include "jkqtextras_imexport.h"
24 Q_PROPERTY(
bool readonly READ readonly WRITE setReadonly USER
true)
53 #endif // JKQTEENHANCEDCOMBOBOX_H
this QComboox descendent with en hanced features (e.g. can be set to read-only, editingFinished() sig...
Definition: jkqteenhancedcombobox.h:22
bool m_oldEditable
Definition: jkqteenhancedcombobox.h:47
void setReadonly(bool readonly)
switches the combobox between read-only mode and editable mode
virtual void keyReleaseEvent(QKeyEvent *e)
void editingFinished()
signal, which is emitted when the editing of the widget finishes.
bool m_readonly
Definition: jkqteenhancedcombobox.h:46
virtual void wheelEvent(QWheelEvent *e)
virtual void keyPressEvent(QKeyEvent *e)
bool readonly() const
is the combobox in read-only mode?
JKQTEEnhancedComboBox(QWidget *parent=0)