CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
213 int findData(
const CFxUIVariant &
data,
int role = Qt::UserRole, Qt::MatchFlags flags =
static_cast<Qt::MatchFlags
> ( Qt::MatchExactly | Qt::MatchCaseSensitive ))
const;
214 int findText(
const CFxUIString & text, Qt::MatchFlags flags =
static_cast<Qt::MatchFlags
> ( Qt::MatchExactly | Qt::MatchCaseSensitive ))
const;
void insertItem(int index, const CFxUIIcon &icon, const CFxUIString &text, const CFxUIVariant &userData=CFxUIVariant())
void setItemIcon(int index, const CFxUIIcon &icon)
void setEditText(const CFxUIString &text)
CFxUISignal< void(void)> & editingFinished()
void insertItems(int index, const CFxUIStringList &list)
@ InsertAtCurrent
The current item will be replaced by the string.
@ InsertBeforeCurrent
The string is inserted before the current item in the combobox.
void addItem(const CFxUIIcon &icon, const CFxUIString &text, const CFxUIVariant &userData=CFxUIVariant())
void addItem(const CFxUIString &text, const CFxUIVariant &userData=CFxUIVariant())
void removeItem(int index)
CFxUISignal< void(int)> & activated()
CFxUISignal< void(const CFxUIString &)> & currentStringChanged()
void setIconSize(CFxUISize size)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
CFxUISignal< void(const CFxUIString &)> & editTextChanged()
QValidator CFxUIValidator
@ InsertAfterCurrent
The string is inserted after the current item in the combobox.
CFxUIVariant itemData(int index, int role=Qt::UserRole) const
void setCurrentIndex(int iIndex)
void setMaxVisibleItems(int Value)
CFxUIString currentText() const
int findData(const CFxUIVariant &data, int role=Qt::UserRole, Qt::MatchFlags flags=static_cast< Qt::MatchFlags >(Qt::MatchExactly|Qt::MatchCaseSensitive)) const
@ InsertAtTop
The string will be inserted as the first item in the combobox.
int findText(const CFxUIString &text, Qt::MatchFlags flags=static_cast< Qt::MatchFlags >(Qt::MatchExactly|Qt::MatchCaseSensitive)) const
QStringList CFxUIStringList
void insertItem(int index, const CFxUIString &text, const CFxUIVariant &userData=CFxUIVariant())
CFxUISignal< void(int)> & currentIndexChanged()
void setHideEmptyText(bool)
void setValidator(const CFxUIValidator *)
void setInsertPolicy(CFxUIComboBox::InsertPolicy)
@ NoInsert
The string will not be inserted into the combobox.
void setItemText(int index, const CFxUIString &text)
@ InsertAtBottom
The string will be inserted after the last item in the combobox.
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
void setItemData(int index, const CFxUIVariant &data, int role=Qt::UserRole)
CFxUIString itemText(int index) const
void setCurrentText(const CFxUIString &text)