kexicomboboxbase.h
A base class for handling data-aware combo boxes. This class is used by KexiComboBoxTableEdit and Kex...
Definition kexicomboboxbase.h:38
bool m_mouseBtnPressedWhenPopupVisible
Used only by KexiComboBoxTableEdit.
Definition kexicomboboxbase.h:157
TQVariant m_userEnteredValue
value (usually a text) entered by hand (by the user)
Definition kexicomboboxbase.h:152
virtual TQVariant valueFromInternalEditor()=0
Implement this to return value from the internal editor.
virtual void moveCursorToEndInInternalEditor()=0
Implement this to perform "move cursor to end" in the internal editor.
virtual KexiTableViewColumn * column() const =0
virtual TQWidget * internalEditor() const =0
Implement this to return the internal editor.
bool m_setVisibleValueOnSetValueInternal
Used in setValueInternal() to control whether we want to set visible value on setValueInternal()
Definition kexicomboboxbase.h:165
virtual void setValueInInternalEditor(const TQVariant &value)=0
Implement this to perform "set value" in the internal editor.
virtual TQPoint mapFromParentToGlobal(const TQPoint &pos) const =0
Implement this to return a position pos mapped from parent (e.g.
virtual TQVariant origValue() const =0
virtual int popupWidthHint() const =0
Implement this to return a hint for popup width.
bool m_setValueOrTextInInternalEditor_enabled
Used in setValueOrTextInInternalEditor() and slotItemSelected()
Definition kexicomboboxbase.h:156
bool m_updatePopupSelectionOnShow
Set to false as soon as the item corresponding with the current value is selected in the popup table.
Definition kexicomboboxbase.h:159
bool m_internalEditorValueChanged
true if user has text or other value inside editor
Definition kexicomboboxbase.h:154
virtual KexiDB::Field * field() const =0
bool m_slotInternalEditorValueChanged_enabled
Used in slotInternalEditorValueChanged()
Definition kexicomboboxbase.h:155
bool m_insideCreatePopup
true if we're inside createPopup(); used in slotItemSelected()
Definition kexicomboboxbase.h:158
virtual void selectAllInInternalEditor()=0
Implement this to perform "select all" in the internal editor.
Provides information about lookup field's setup.
Definition lookupfieldschema.h:56
Definition kexitableviewdata.h:52
3-state logical type with three values: true, false and cancelled and convenient operators.
Definition tristate.h:100
