|
int | appendEntry (QSettingsEntry *entry) override |
|
int | prependEntry (QSettingsEntry *entry) override |
|
int | insertEntry (int index, QSettingsEntry *entry) override |
|
int | insertEntry (int index, QSharedPointer< QSettingsEntry > entry) override |
|
void | appendGroup (const QString &id, int displayId=0, const QString &name=QString(), bool optional=false, const QString &tooltip=QString()) |
| Creates and appends a new group to the containers children.
|
|
void | prependGroup (const QString &id, int displayId=0, const QString &name=QString(), bool optional=false, const QString &tooltip=QString()) |
| Creates and prepends a new group to the containers children.
|
|
void | insertGroup (int index, const QString &id, int displayId=0, const QString &name=QString(), bool optional=false, const QString &tooltip=QString()) |
| Creates and inserts a new group to the containers children at the given index.
|
|
bool | removeEntry (int id) override |
|
bool | removeGroup (const QString &id) |
| Removes the group with the given id. More...
|
|
bool | removeElementFromIndex (int index) override |
|
void | moveElement (int indexFrom, int indexTo) override |
|
virtual int | appendEntry (QSettingsEntry *entry)=0 |
| Appends the entry to the containers children. More...
|
|
virtual int | prependEntry (QSettingsEntry *entry)=0 |
| Prepends the entry to the containers children. More...
|
|
virtual int | insertEntry (int index, QSettingsEntry *entry)=0 |
| Inserts the entry to the containers children at the given index. More...
|
|
virtual int | insertEntry (int index, QSharedPointer< QSettingsEntry > entry)=0 |
| Appends the entry to the containers children at the given index.
|
|
virtual bool | removeEntry (int id)=0 |
| Removes the entry with the given id. More...
|
|
virtual bool | removeElementFromIndex (int index)=0 |
| Removes the element at the given index. More...
|
|
virtual void | moveElement (int indexFrom, int indexTo)=0 |
| Moves the element from the old to the new index.
|
|
|
| QSectionSettingsContainer (QSettingsDialog *settingsDialog, const QString &containerPath, QObject *parent=nullptr) |
| Creates a new container for a container at the given path for the given dialog. More...
|
|
| QSectionSettingsContainer (const QSettingsLayout &layout, QObject *parent=nullptr) |
| Creates a new container from a settings layout. More...
|
|
| ~QSectionSettingsContainer () |
| Destructor.
|
|
QSettingsDialog * | dialog () const override |
| Returns the dialog this container belongs to.
|
|
QString | containerPath () const override |
| Returns the container path this container has.
|
|
int | elementCount () const override |
| Returns the number of elements in this container.
|
|
bool | isEntry (int index) const override |
| Checks whether the element at the given index is an entry or not.
|
|
int | getEntryIndex (int id) const override |
| Searches for entries index. More...
|
|
int | getGroupIndex (const QString &id) const |
| Searches for groups index. More...
|
|
QVariant | getElementId (int index) const |
| Returns the id for the element at the index. More...
|
|
int | getEntryId (int index) const override |
| Returns the id for the entry at the index. More...
|
|
QString | getGrouptId (int index) const |
| Returns the id for the group at the index. More...
|
|
QSharedPointer< QSettingsEntry > | getEntry (int id) const override |
| Returns the entry with the given id. More...
|
|
QSharedPointer< QSettingsEntry > | getEntryFromIndex (int index) const override |
| Returns the entry at the given index. More...
|
|
bool | transferElement (int indexFrom, QSettingsContainer *targetContainer, int indexTo) override |
| Tries to transfer the element at index to the target container. More...
|
|
QGroupSettingsContainer * | createGroupContainer (const QString &id) |
| Creates a new container for the child group with the given id. More...
|
|
QGroupSettingsContainer * | createGroupContainer (const QString &id, QObject *parent) const |
| Creates a new container for the child group with the given id. More...
|
|
QGroupSettingsContainer * | createGroupContainerFromIndex (int index) |
| Creates a new container for the child group at the given index. More...
|
|
QGroupSettingsContainer * | createGroupContainerFromIndex (int index, QObject *parent) const |
| Creates a new container for the child group at the given index. More...
|
|
| QObject (QObject *parent) |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
virtual const QMetaObject * | metaObject () const |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | isWindowType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool block) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *targetThread) |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
void | killTimer (int id) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *parent) |
|
void | installEventFilter (QObject *filterObj) |
|
void | removeEventFilter (QObject *obj) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
|
bool | disconnect (const QObject *receiver, const char *method) const |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | destroyed (QObject *obj) |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const |
|
bool | inherits (const char *className) const |
|
void | deleteLater () |
|
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
| objectName |
|
A settings container for sections.