|
| QgsFieldValuesLineEdit (QWidget *parent=nullptr) |
| Constructor for QgsFieldValuesLineEdit. More...
|
|
| ~QgsFieldValuesLineEdit () override |
|
int | attributeIndex () const |
| Returns the attribute index for the field containing values shown in the widget. More...
|
|
QgsVectorLayer * | layer () const |
| Returns the layer containing the field that values will be shown from. More...
|
|
void | setAttributeIndex (int index) |
| Sets the attribute index for the field containing values to show in the widget. More...
|
|
void | setLayer (QgsVectorLayer *layer) |
| Sets the layer containing the field that values will be shown from. More...
|
|
| QgsFilterLineEdit (QWidget *parent=nullptr, const QString &nullValue=QString()) |
| Constructor for QgsFilterLineEdit. More...
|
|
ClearMode | clearMode () const |
| Returns the clear mode for the widget. More...
|
|
QString | defaultValue () const |
| Returns the default value for the widget. More...
|
|
bool | event (QEvent *event) override |
| Reimplemented to enable/disable the clear action depending on read-only status. More...
|
|
bool | hasStateStored () const |
| Returns if a state is already saved. More...
|
|
bool | isNull () const |
| Determine if the current text represents null. More...
|
|
QString | nullValue () const |
| Returns the string used for representing null values in the widget. More...
|
|
bool | selectOnFocus () const |
| Will select all text when this widget receives the focus. More...
|
|
void | setClearMode (ClearMode mode) |
| Sets the clear mode for the widget. More...
|
|
void | setDefaultValue (const QString &defaultValue) |
| Sets the default value for the widget. More...
|
|
void | setNullValue (const QString &nullValue) |
| Sets the string representation for null values in the widget. More...
|
|
void | setSelectOnFocus (bool selectOnFocus) |
| Will select all text when this widget receives the focus. More...
|
|
void | setShowClearButton (bool visible) |
| Sets whether the widget's clear button is visible. More...
|
|
void | setShowSearchIcon (bool visible) |
| Define if a search icon shall be shown on the left of the image when no text is entered. More...
|
|
void | setShowSpinner (bool showSpinner) |
| Show a spinner icon. More...
|
|
void | setValue (const QString &value) |
| Sets the current text for the widget with support for handling null values. More...
|
|
bool | showClearButton () const |
| Returns true if the widget's clear button is visible. More...
|
|
bool | showSearchIcon () const |
| Returns if a search icon shall be shown on the left of the image when no text is entered. More...
|
|
bool | showSpinner () const |
| Show a spinner icon. More...
|
|
QString | value () const |
| Returns the text of this edit with support for handling null values. More...
|
|