QXRD
0.11.16
|
#include <qcepproperty.h>
Public Slots | |
void | setValue (QByteArray val, int index) |
void | setValue (QByteArray val) |
void | setDefaultValue (QByteArray val) |
void | resetValue () |
void | clear () |
Signals | |
void | valueChanged (QByteArray val, int index) |
Public Member Functions | |
QcepByteArrayProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QByteArray value, QString toolTip) | |
QByteArray | value () const |
QByteArray | defaultValue () const |
QString | toString (const QByteArray &list) |
Public Member Functions inherited from QcepProperty | |
QcepProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QString toolTip) | |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) |
QString | name () const |
void | setName (QString name) |
QString | parentName () const |
QString | toolTip () const |
void | setToolTip (QString tip) |
QString | expandedToolTip () const |
void | setWidgetToolTip (QWidget *widget) |
int | index () |
int | incIndex (int step) |
int | debug () const |
void | setDebug (int dbg) |
void | setSaver (QcepSettingsSaverWPtr saver) |
Private Attributes | |
QByteArray | m_Default |
QByteArray | m_Value |
Additional Inherited Members | |
Static Public Member Functions inherited from QcepProperty | |
static void | registerMetaTypes () |
static void | setSettingsValue (QSettings *settings, QString name, QVariant value) |
static void | writeSettings (QObject *object, QSettings *settings, QString section) |
static void | readSettings (QObject *object, QSettings *settings, QString section) |
static void | writeSettings (QObject *object, const QMetaObject *meta, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | readSettings (QObject *object, const QMetaObject *meta, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | writeSettings (QObject *object, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | readSettings (QObject *object, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | registerCustomSaver (QString typeName, CustomSettingsSaver *saver) |
Protected Attributes inherited from QcepProperty | |
QMutex | m_Mutex |
QcepSettingsSaverWPtr | m_Saver |
Definition at line 480 of file qcepproperty.h.
QcepByteArrayProperty::QcepByteArrayProperty | ( | QcepSettingsSaverWPtr | saver, |
QObject * | parent, | ||
const char * | name, | ||
QByteArray | value, | ||
QString | toolTip | ||
) |
Definition at line 2359 of file qcepproperty.cpp.
|
slot |
Definition at line 2392 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, and setValue().
QByteArray QcepByteArrayProperty::defaultValue | ( | ) | const |
Definition at line 2373 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
Referenced by resetValue().
|
slot |
Definition at line 2453 of file qcepproperty.cpp.
References DEBUG_PROPERTIES, defaultValue(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), and setValue().
|
slot |
Definition at line 2446 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
|
slot |
Definition at line 2380 of file qcepproperty.cpp.
References QcepProperty::debug(), QcepProperty::index(), QcepProperty::name(), QcepProperty::printMessage(), and toString().
Referenced by clear(), and resetValue().
|
slot |
Definition at line 2419 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, QcepProperty::incIndex(), QcepProperty::index(), QcepProperty::m_Mutex, QcepProperty::m_Saver, m_Value, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), toString(), and valueChanged().
QString QcepByteArrayProperty::toString | ( | const QByteArray & | list | ) |
Definition at line 2399 of file qcepproperty.cpp.
References QcepProperty::m_Mutex.
Referenced by setValue().
QByteArray QcepByteArrayProperty::value | ( | ) | const |
Definition at line 2366 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, and m_Value.
Referenced by QcepBoolPropertyButtonHelper::setChecked(), QcepIntPropertyComboBoxHelper::setCurrentIndex(), QcepStringPropertyComboBoxHelper::setCurrentIndex(), QcepDoublePointPropertyDoubleSpinBoxHelper::setSubValue(), QcepStringPropertyLineEditHelper::setText(), QcepStringPropertyTextEditHelper::setText(), QcepDoublePropertyDoubleSpinBoxHelper::setValue(), QcepIntPropertySpinBoxHelper::setValue(), and QcepProperty::writeSettings().
|
signal |
Referenced by QcepDoublePointPropertyDoubleSpinBoxHelper::connect(), and setValue().
|
private |
Definition at line 500 of file qcepproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 501 of file qcepproperty.h.
Referenced by setValue(), and value().