QSettingsDialog  1.0.0
A Qt library to easily create a settings dialog for user configurable settings
Public Member Functions | List of all members
QSettingsPropertyEntry Class Reference

A class that combines the QSettingsEntry and the QSettingsPropertyLoader. More...

#include <qsettingspropertyentry.h>

+ Inheritance diagram for QSettingsPropertyEntry:

Public Member Functions

 QSettingsPropertyEntry (const char *propertyName, QObject *object)
 Creates a property entry for a property on an object.
 
 QSettingsPropertyEntry (const QMetaProperty &metaProperty, QObject *object)
 Creates a property entry for a property on an object.
 
 QSettingsPropertyEntry (const char *propertyName, QMetaObject *metaObject, void *gadget)
 Creates a property entry for a property on a gadget, with the gadgets static metaobject.
 
 QSettingsPropertyEntry (const QMetaProperty &metaProperty, void *gadget)
 Creates a property entry for a property on a gadget.
 
 QSettingsPropertyEntry (const char *propertyName, QObject *object, const QString &name, bool optional=false, const QString &tooltip=QString(), const UiPropertyMap &properties=UiPropertyMap())
 Creates a property entry for a property on an object, with entry properties.
 
 QSettingsPropertyEntry (const QMetaProperty &metaProperty, QObject *object, const QString &name, bool optional=false, const QString &tooltip=QString(), const UiPropertyMap &properties=UiPropertyMap())
 Creates a property entry for a property on an object, with entry properties.
 
 QSettingsPropertyEntry (const char *propertyName, QMetaObject *metaObject, void *gadget, const QString &name, bool optional=false, const QString &tooltip=QString(), const UiPropertyMap &properties=UiPropertyMap())
 Creates a property entry for a property on a gadget, with the gadgets static metaobject, with entry properties.
 
 QSettingsPropertyEntry (const QMetaProperty &metaProperty, void *gadget, const QString &name, bool optional=false, const QString &tooltip=QString(), const UiPropertyMap &properties=UiPropertyMap())
 Creates a property entry for a property on a gadget, with entry properties.
 
template<typename... Args>
 QSettingsPropertyEntry (const char *propertyName, QObject *object, const QString &name, bool optional, const QString &tooltip, Args...properties)
 Creates a property entry for a property on an object, with entry properties.
 
template<typename... Args>
 QSettingsPropertyEntry (const QMetaProperty &metaProperty, QObject *object, const QString &name, bool optional, const QString &tooltip, Args...properties)
 Creates a property entry for a property on an object, with entry properties.
 
template<typename... Args>
 QSettingsPropertyEntry (const char *propertyName, QMetaObject *metaObject, void *gadget, const QString &name, bool optional, const QString &tooltip, Args...properties)
 Creates a property entry for a property on a gadget, with the gadgets static metaobject, with entry properties.
 
template<typename... Args>
 QSettingsPropertyEntry (const QMetaProperty &metaProperty, void *gadget, const QString &name, bool optional, const QString &tooltip, Args...properties)
 Creates a property entry for a property on a gadget, with entry properties.
 
int displaytype () override
 Returns the display type id for this entry.
 
- Public Member Functions inherited from QSettingsEntry
 QSettingsEntry (int displaytype, QSettingsLoader *loader)
 Creates a new entry from a display id and a loader. More...
 
 QSettingsEntry (int displaytype, QSettingsLoader *loader, const QString &name, bool optional=false, const QString &tooltip=QString(), const UiPropertyMap &properties=UiPropertyMap())
 Creates a new entry from a display id, a loader and it's properties. More...
 
template<typename... Args>
 QSettingsEntry (int displaytype, QSettingsLoader *loader, const QString &name, bool optional, const QString &tooltip, Args...properties)
 Creates a new entry from a display id, a loader and it's properties. More...
 
virtual ~QSettingsEntry ()
 Virtual destructor.
 
QString entryName () const
 Returns the display name of this entry.
 
void setEntryName (const QString &name)
 Sets the display name of this entry.
 
bool isOptional () const
 Specifies, whether the entry is optional or not.
 
void setOptional (bool optional)
 Sets the entry be optional or not optional.
 
QString tooltip () const
 Returns the tooltip this entry has.
 
void setTooltip (const QString &tooltip)
 Sets this entries tooltip.
 
UiPropertyMap uiProperties () const
 Returns the properties that should be set on the ui-elements for this entry.
 
void setUiProperties (const UiPropertyMap &properties)
 Sets the properties that should be set on the ui-elements for this entry.
 
void setUiProperty (const QString &name, const QVariant &value)
 Adds a new property to the existing ones that should be set on the ui-elements for this entry.
 
virtual QSettingsLoadergetLoader ()
 Will be called to get a reference to loader this entry holds.
 
virtual void freeLoader (QSettingsLoader *loader)
 Will be called to remove a reference to the loader this entry holds.
 

Detailed Description

A class that combines the QSettingsEntry and the QSettingsPropertyLoader.


The documentation for this class was generated from the following file: