QXRD
0.11.16
|
#include <qcepproperty.h>
Public Slots | |
void | setValue (QPointF val, int index) |
void | setValue (QPointF val) |
void | setDefaultValue (QPointF val) |
void | resetValue () |
void | setSubValue (int axis, double value, int index) |
void | setSubValue (int axis, double value) |
Signals | |
void | valueChanged (QPointF val, int index) |
void | subValueChanged (int axis, double val, int index) |
Public Member Functions | |
QcepDoublePointProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QPointF value, QString toolTip) | |
QPointF | value () const |
QPointF | defaultValue () const |
double | subValue (int axis) const |
void | linkTo (QDoubleSpinBox *xSpinBox, QDoubleSpinBox *ySpinBox) |
void | linkTo (int axis, QDoubleSpinBox *spinBox) |
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 | |
QPointF | m_Default |
QPointF | 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 504 of file qcepproperty.h.
QcepDoublePointProperty::QcepDoublePointProperty | ( | QcepSettingsSaverWPtr | saver, |
QObject * | parent, | ||
const char * | name, | ||
QPointF | value, | ||
QString | toolTip | ||
) |
Definition at line 2462 of file qcepproperty.cpp.
QPointF QcepDoublePointProperty::defaultValue | ( | ) | const |
Definition at line 2476 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
Referenced by resetValue().
void QcepDoublePointProperty::linkTo | ( | QDoubleSpinBox * | xSpinBox, |
QDoubleSpinBox * | ySpinBox | ||
) |
Definition at line 2595 of file qcepproperty.cpp.
void QcepDoublePointProperty::linkTo | ( | int | axis, |
QDoubleSpinBox * | spinBox | ||
) |
Definition at line 2606 of file qcepproperty.cpp.
References QcepDoublePointPropertyDoubleSpinBoxHelper::connect(), QcepProperty::m_Mutex, setSubValue(), setValue(), QcepProperty::setWidgetToolTip(), subValue(), and subValueChanged().
|
slot |
Definition at line 2586 of file qcepproperty.cpp.
References DEBUG_PROPERTIES, defaultValue(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), and setValue().
|
slot |
Definition at line 2577 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
|
slot |
Definition at line 2543 of file qcepproperty.cpp.
References QcepProperty::index().
Referenced by linkTo().
|
slot |
Definition at line 2550 of file qcepproperty.cpp.
References QcepProperty::incIndex(), QcepProperty::m_Mutex, m_Value, subValueChanged(), and valueChanged().
|
slot |
Definition at line 2494 of file qcepproperty.cpp.
References QcepProperty::debug(), QcepProperty::index(), QcepProperty::name(), and QcepProperty::printMessage().
Referenced by linkTo(), and resetValue().
|
slot |
Definition at line 2506 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(), subValueChanged(), and valueChanged().
double QcepDoublePointProperty::subValue | ( | int | axis | ) | const |
Definition at line 2483 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, and m_Value.
Referenced by linkTo().
|
signal |
QPointF QcepDoublePointProperty::value | ( | ) | const |
Definition at line 2469 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, and m_Value.
|
signal |
|
private |
Definition at line 529 of file qcepproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 530 of file qcepproperty.h.
Referenced by setSubValue(), setValue(), subValue(), and value().