#include <aiselectorprivate.h>
|
static AISelectorCache * | cache |
|
◆ AISelectorPrivate()
AISelectorPrivate::AISelectorPrivate |
( |
AISelector * | pParent | ) |
|
◆ addAllowedId()
void AISelectorPrivate::addAllowedId |
( |
const int | pId | ) |
|
|
virtual |
◆ canNew()
bool AISelectorPrivate::canNew |
( |
| ) |
const |
|
virtual |
◆ canOpen()
bool AISelectorPrivate::canOpen |
( |
| ) |
const |
|
virtual |
◆ getRowForValue()
int AISelectorPrivate::getRowForValue |
( |
const QVariant & | pValue, |
|
|
int | pCol, |
|
|
Qt::MatchFlags | pMatchFlags = Qt::MatchFixedString ) const |
|
virtual |
Find the row containing a given value in a given column.
Look for the given value in the given column. This looks for matches several different ways, as people have reported multiple bugs in the past about invisible spaces in data and in search fields.
- Parameters
-
pValue | The value to search for |
pCol | The column to search in |
- Returns
- The row number in the source model
◆ sClearFormats
void AISelectorPrivate::sClearFormats |
( |
| ) |
|
|
virtualslot |
Restore default formatting on the line edit.
◆ sCompleterActivated
void AISelectorPrivate::sCompleterActivated |
( |
const QModelIndex & | pIndex | ) |
|
|
virtualslot |
◆ setDefault()
void AISelectorPrivate::setDefault |
( |
| ) |
|
|
virtual |
◆ setQueryStr()
bool AISelectorPrivate::setQueryStr |
( |
const QString & | pQueryStr | ) |
|
|
virtual |
◆ sHandleCompleter
void AISelectorPrivate::sHandleCompleter |
( |
| ) |
|
|
virtualslot |
Create a completer when the user types in the selector or clicks on the combo button (▽).
When the user is typing, this throws away leading whitespace as that's invisible and usually unintended. It keeps trailing whitespace to narrow the search when values may contain embedded whitespace.
◆ sOpenWindow
QWidget * AISelectorPrivate::sOpenWindow |
( |
const QString & | pUiName, |
|
|
ParameterList & | params ) |
|
virtualslot |
◆ sPopulateMenu
void AISelectorPrivate::sPopulateMenu |
( |
| ) |
|
|
virtualslot |
◆ activeFont
QFont AISelectorPrivate::activeFont |
◆ allowNull
bool AISelectorPrivate::allowNull |
◆ baseQueryStr
QString AISelectorPrivate::baseQueryStr |
◆ buttonFont
QFont AISelectorPrivate::buttonFont |
◆ cache
AISelectorCache * AISelectorPrivate::cache |
|
static |
◆ comboButton
QAbstractButton* AISelectorPrivate::comboButton |
◆ completer
QCompleter* AISelectorPrivate::completer |
◆ completerId
int AISelectorPrivate::completerId |
◆ dataColumn
int AISelectorPrivate::dataColumn |
◆ editPriv
QString AISelectorPrivate::editPriv |
◆ idColName
QString AISelectorPrivate::idColName |
◆ inactiveFont
QFont AISelectorPrivate::inactiveFont |
◆ lastIndex
QPersistentModelIndex AISelectorPrivate::lastIndex |
◆ listMax
int AISelectorPrivate::listMax |
◆ menuButton
QAbstractButton* AISelectorPrivate::menuButton |
◆ newPriv
QString AISelectorPrivate::newPriv |
◆ popup
◆ proxyModel
◆ queryStr
QString AISelectorPrivate::queryStr |
◆ selector
◆ showInactive
bool AISelectorPrivate::showInactive |
◆ sourceName
QString AISelectorPrivate::sourceName |
◆ title
QString AISelectorPrivate::title |
◆ uiName
QString AISelectorPrivate::uiName |
◆ viewPriv
QString AISelectorPrivate::viewPriv |
◆ wherevals
QList<QPair<QString, QVariant> > AISelectorPrivate::wherevals |
The documentation for this class was generated from the following files:
- aiselectorprivate.h
- aiselector.cpp