kexicomboboxbase.h
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 void slotItemSelected(KexiTableItem *)
Call this from slot.
Definition kexicomboboxbase.cpp:456
virtual KexiTableViewColumn * column() const =0
virtual TQWidget * internalEditor() const =0
Implement this to return the internal editor.
virtual TQVariant value()
Note: Generally in current implementation this is integer > 0; may be null if no value is set.
Definition kexicomboboxbase.cpp:237
bool m_setVisibleValueOnSetValueInternal
Definition kexicomboboxbase.h:165
KexiTableItem * selectItemForEnteredValueInLookupTable(const TQVariant &v)
Definition kexicomboboxbase.cpp:168
virtual void setValueInInternalEditor(const TQVariant &value)=0
Implement this to perform "set value" in the internal editor.
void setValueOrTextInInternalEditor(const TQVariant &value)
Definition kexicomboboxbase.cpp:512
virtual TQPoint mapFromParentToGlobal(const TQPoint &pos) const =0
virtual TQVariant origValue() const =0
virtual void slotRowAccepted(KexiTableItem *item, int row)
Call this from slot.
Definition kexicomboboxbase.cpp:434
virtual void clear()
Reimplement this and call this impl.: used to clear internal editor.
Definition kexicomboboxbase.cpp:301
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
KexiDB::LookupFieldSchema * lookupFieldSchema() const
Definition kexicomboboxbase.cpp:53
bool m_updatePopupSelectionOnShow
Definition kexicomboboxbase.h:159
TQString valueForString(const TQString &str, int *row, uint lookInColumn, uint returnFromColumn, bool allowNulls=false)
Definition kexicomboboxbase.cpp:207
bool m_internalEditorValueChanged
true if user has text or other value inside editor
Definition kexicomboboxbase.h:154
virtual void setValueInternal(const TQVariant &add, bool removeOld)
Definition kexicomboboxbase.cpp:89
virtual KexiDB::Field * field() const =0
void slotInternalEditorValueChanged(const TQVariant &v)
Call this from slot.
Definition kexicomboboxbase.cpp:498
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.
int rowToHighlightForLookupTable() const
Definition kexicomboboxbase.cpp:63
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
