QXRD
0.11.16
|
#include <qcepproperty.h>
Public Slots | |
void | setValue (int val, int index) |
void | setValue (int val) |
void | incValue (int step) |
void | setDefaultValue (int val) |
void | resetValue () |
Signals | |
void | valueChanged (int val, int index) |
void | stringValueChanged (QString val) |
Public Member Functions | |
QcepIntProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, int value, QString toolTip) | |
int | value () const |
int | defaultValue () const |
void | linkTo (QSpinBox *spinBox) |
void | linkTo (QComboBox *comboBox) |
void | linkTo (QLabel *label) |
void | linkTo (QProgressBar *progress) |
void | linkTo (QLCDNumber *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 | |
QAtomicInt | m_Default |
QAtomicInt | 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 131 of file qcepproperty.h.
QcepIntProperty::QcepIntProperty | ( | QcepSettingsSaverWPtr | saver, |
QObject * | parent, | ||
const char * | name, | ||
int | value, | ||
QString | toolTip | ||
) |
Definition at line 914 of file qcepproperty.cpp.
int QcepIntProperty::defaultValue | ( | ) | const |
Definition at line 930 of file qcepproperty.cpp.
References m_Default.
Referenced by resetValue().
|
slot |
Definition at line 982 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, QcepProperty::incIndex(), QcepProperty::m_Saver, m_Value, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), stringValueChanged(), value(), and valueChanged().
void QcepIntProperty::linkTo | ( | QSpinBox * | spinBox | ) |
Definition at line 1017 of file qcepproperty.cpp.
References QcepIntPropertySpinBoxHelper::connect(), QcepProperty::debug(), DEBUG_PROPERTIES, HEXARG, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), setValue(), QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepIntProperty::linkTo | ( | QComboBox * | comboBox | ) |
Definition at line 1039 of file qcepproperty.cpp.
References QcepIntPropertyComboBoxHelper::connect(), QcepProperty::debug(), DEBUG_PROPERTIES, HEXARG, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), setValue(), QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepIntProperty::linkTo | ( | QLabel * | label | ) |
Definition at line 1060 of file qcepproperty.cpp.
References QcepProperty::setWidgetToolTip(), stringValueChanged(), and value().
void QcepIntProperty::linkTo | ( | QProgressBar * | progress | ) |
Definition at line 1071 of file qcepproperty.cpp.
References setValue(), QcepProperty::setWidgetToolTip(), and valueChanged().
void QcepIntProperty::linkTo | ( | QLCDNumber * | number | ) |
Definition at line 1078 of file qcepproperty.cpp.
References QcepProperty::setWidgetToolTip(), value(), and valueChanged().
|
slot |
Definition at line 1008 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, defaultValue(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), and setValue().
|
slot |
|
slot |
Definition at line 939 of file qcepproperty.cpp.
References QcepProperty::debug(), QcepProperty::index(), QcepProperty::name(), and QcepProperty::printMessage().
Referenced by linkTo(), and resetValue().
|
slot |
Definition at line 951 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, QcepProperty::incIndex(), QcepProperty::index(), QcepProperty::m_Saver, m_Value, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), stringValueChanged(), and valueChanged().
|
signal |
int QcepIntProperty::value | ( | ) | const |
Definition at line 921 of file qcepproperty.cpp.
References m_Value.
Referenced by incValue(), and linkTo().
|
signal |
Referenced by incValue(), QxrdImagePlot::init(), QxrdAcquisition::initialize(), QxrdWindow::initialize(), QxrdExperiment::initialize(), linkTo(), QxrdDetectorControlWindow::QxrdDetectorControlWindow(), QxrdFileBrowser::QxrdFileBrowser(), QxrdIntegrator::QxrdIntegrator(), QxrdServer::QxrdServer(), QxrdSimpleServer::QxrdSimpleServer(), QxrdSynchronizedAcquisitionDialog::QxrdSynchronizedAcquisitionDialog(), QxrdDataProcessorBase::setAcquisition(), and setValue().
|
private |
Definition at line 157 of file qcepproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 158 of file qcepproperty.h.
Referenced by incValue(), setValue(), and value().