|
| SearchTextBarDb (QWidget *const parent, const QString &name, const QString &msg=QString()) |
|
void | setFilterModel (AlbumFilterModel *const filterModel) |
| Sets the filter model this text bar shall use to invoke filtering on and reading the result for highlighting from.
|
|
void | setModel (AbstractAlbumModel *const model) |
| Sets the album model this text bar shall use to invoke filtering on and reading the result for highlighting from.
|
|
void | setModel (QAbstractItemModel *model, int uniqueIdRole, int displayRole=Qt::DisplayRole) |
| If the given model is != null, the model is used to populate the completion for this text field.
|
|
| SearchTextBar (QWidget *const parent, const QString &name, const QString &msg=QString()) |
|
ModelCompleter * | completerModel () const |
|
HighlightState | getCurrentHighlightState () const |
| Tells the current highlighting state of the text input indicated via the background color.
|
|
bool | hasCaseSensitive () const |
|
bool | hasTextQueryCompletion () const |
|
SearchTextSettings | searchTextSettings () const |
|
void | setCaseSensitive (bool b) |
| Indicate whether this search text bar can be toggled to between case- sensitive and -insensitive or if always case-insensitive shall be used.
|
|
void | setHighlightOnResult (bool highlight) |
| Tells whether highlighting for found search results shall be used or not (green and red).
|
|
void | setSearchTextSettings (const SearchTextSettings &settings) |
|
void | setTextQueryCompletion (bool b) |
|
| StateSavingObject (QObject *const host) |
| Constructor.
|
|
virtual | ~StateSavingObject () |
| Destructor.
|
|
StateSavingDepth | getStateSavingDepth () const |
| Returns the depth used for state saving or loading.
|
|
void | loadState () |
| Invokes loading the class' state.
|
|
void | saveState () |
| Invokes saving the class' state.
|
|
virtual void | setConfigGroup (const KConfigGroup &group) |
| Sets a dedicated config group that will be used to store and reload the state from.
|
|
virtual void | setEntryPrefix (const QString &prefix) |
| Define a prefix that will be used for every entry in the config group.
|
|
void | setStateSavingDepth (const StateSavingDepth depth) |
| Sets the depth used for state saving or loading.
|
|
Can be used on Database Models.
- Author
- Gilles Caulier