QXRD
0.11.16
|
#include <qcepproperty.h>
Public Slots | |
void | setValue (double val, int index) |
void | setValue (double val) |
void | incValue (double step) |
void | setDefaultValue (double val) |
void | resetValue () |
Signals | |
void | valueChanged (double val, int index) |
void | stringValueChanged (QString val) |
Public Member Functions | |
QcepDoubleProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, double value, QString toolTip) | |
double | value () const |
double | defaultValue () const |
void | linkTo (QDoubleSpinBox *spinBox) |
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 | |
double | m_Default |
double | 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 83 of file qcepproperty.h.
QcepDoubleProperty::QcepDoubleProperty | ( | QcepSettingsSaverWPtr | saver, |
QObject * | parent, | ||
const char * | name, | ||
double | value, | ||
QString | toolTip | ||
) |
Definition at line 710 of file qcepproperty.cpp.
double QcepDoubleProperty::defaultValue | ( | ) | const |
Definition at line 724 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
Referenced by resetValue().
|
slot |
Definition at line 773 of file qcepproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, QcepProperty::incIndex(), QcepProperty::m_Mutex, QcepProperty::m_Saver, m_Value, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), stringValueChanged(), value(), and valueChanged().
void QcepDoubleProperty::linkTo | ( | QDoubleSpinBox * | spinBox | ) |
Definition at line 814 of file qcepproperty.cpp.
References QcepDoublePropertyDoubleSpinBoxHelper::connect(), QcepProperty::debug(), DEBUG_PROPERTIES, HEXARG, QcepProperty::m_Mutex, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), setValue(), QcepProperty::setWidgetToolTip(), value(), and valueChanged().
void QcepDoubleProperty::linkTo | ( | QLabel * | label | ) |
Definition at line 838 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, QcepProperty::setWidgetToolTip(), stringValueChanged(), and value().
void QcepDoubleProperty::linkTo | ( | QProgressBar * | progress | ) |
Definition at line 849 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, setValue(), QcepProperty::setWidgetToolTip(), and valueChanged().
void QcepDoubleProperty::linkTo | ( | QLCDNumber * | number | ) |
Definition at line 858 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, QcepProperty::setWidgetToolTip(), value(), and valueChanged().
|
slot |
Definition at line 803 of file qcepproperty.cpp.
References DEBUG_PROPERTIES, defaultValue(), QcepProperty::m_Mutex, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), and setValue().
|
slot |
Definition at line 796 of file qcepproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
|
slot |
Definition at line 731 of file qcepproperty.cpp.
References QcepProperty::debug(), QcepProperty::index(), QcepProperty::m_Mutex, QcepProperty::name(), and QcepProperty::printMessage().
Referenced by linkTo(), QxrdFitParameter::readSettings(), and resetValue().
|
slot |
Definition at line 745 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(), stringValueChanged(), value(), and valueChanged().
|
signal |
double QcepDoubleProperty::value | ( | ) | const |
Definition at line 717 of file qcepproperty.cpp.
References QcepProperty::m_Mutex, and m_Value.
Referenced by incValue(), linkTo(), setValue(), and QxrdFitParameter::writeSettings().
|
signal |
Referenced by incValue(), QxrdImagePlot::init(), QxrdAcquisition::initialize(), QxrdWindow::initialize(), linkTo(), QxrdAcquisitionExtraInputs::QxrdAcquisitionExtraInputs(), QxrdAcquisitionExtraInputsChannel::QxrdAcquisitionExtraInputsChannel(), QxrdCalibrantDialog::QxrdCalibrantDialog(), QxrdCenterFinder::QxrdCenterFinder(), QxrdCenterFinderDialog::QxrdCenterFinderDialog(), QxrdIntegrator::QxrdIntegrator(), QxrdSynchronizedAcquisitionDialog::QxrdSynchronizedAcquisitionDialog(), QxrdDataProcessorBase::setAcquisition(), and setValue().
|
private |
Definition at line 108 of file qcepproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 109 of file qcepproperty.h.
Referenced by incValue(), setValue(), and value().