QXRD
0.11.16
|
#include <qcepproperty.h>
Public Slots | |
void | setValue (QString val, int index) |
void | setValue (QString val) |
void | setDefaultValue (QString val) |
void | resetValue () |
Signals | |
void | valueChanged (QString val, int index) |
Public Member Functions | |
QcepStringProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QString value, QString toolTip) | |
QString | value () const |
QString | defaultValue () const |
void | linkTo (QComboBox *comboBox) |
void | linkTo (QLineEdit *lineEdit) |
void | linkTo (QLabel *label) |
void | linkTo (QLCDNumber *number) |
void | linkTo (QTextEdit *number) |
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 | |
QString | m_Default |
QString | 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 243 of file qcepproperty.h.
QcepStringProperty::QcepStringProperty | ( | QcepSettingsSaverWPtr | saver, |
QObject * | parent, | ||
const char * | name, | ||
QString | value, | ||
QString | toolTip | ||
) |
Definition at line 1330 of file qcepproperty.cpp.
QString QcepStringProperty::defaultValue | ( | ) | const |
Definition at line 1344 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
Referenced by resetValue().
void QcepStringProperty::linkTo | ( | QComboBox * | comboBox | ) |
Definition at line 1406 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, HEXARG, QcepProperty::index(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), setValue(), QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepStringProperty::linkTo | ( | QLineEdit * | lineEdit | ) |
Definition at line 1429 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, HEXARG, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), setValue(), QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepStringProperty::linkTo | ( | QLabel * | label | ) |
Definition at line 1450 of file qcepproperty.cpp.
References QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepStringProperty::linkTo | ( | QLCDNumber * | number | ) |
Definition at line 1459 of file qcepproperty.cpp.
References QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepStringProperty::linkTo | ( | QTextEdit * | number | ) |
Definition at line 1468 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, HEXARG, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), setValue(), QcepProperty::setWidgetToolTip(), value(), and valueChanged().
|
slot |
Definition at line 1397 of file qcepproperty.cpp.
References DEBUG_PROPERTIES, defaultValue(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), and setValue().
|
slot |
Definition at line 1390 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
|
slot |
Definition at line 1351 of file qcepproperty.cpp.
References QcepProperty::debug(), QcepProperty::index(), QcepProperty::name(), and QcepProperty::printMessage().
Referenced by linkTo(), and resetValue().
|
slot |
Definition at line 1363 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(), and valueChanged().
QString QcepStringProperty::value | ( | ) | const |
Definition at line 1337 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, and m_Value.
Referenced by linkTo().
|
signal |
Referenced by linkTo(), QxrdAcquisitionExtraInputsChannel::QxrdAcquisitionExtraInputsChannel(), QxrdAcquisitionExtraInputsDialog::QxrdAcquisitionExtraInputsDialog(), QxrdDetectorControlWindow::QxrdDetectorControlWindow(), QxrdDetectorProcessor::QxrdDetectorProcessor(), QxrdFileBrowser::QxrdFileBrowser(), QxrdIntegrator::QxrdIntegrator(), QxrdSynchronizedAcquisitionDialog::QxrdSynchronizedAcquisitionDialog(), and setValue().
|
private |
Definition at line 267 of file qcepproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 268 of file qcepproperty.h.
Referenced by setValue(), and value().