#include <qcepvector3dproperty.h>
|
| QcepVector3DProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QcepVector3D value, QString toolTip) |
|
| QcepVector3DProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, double x, double y, double z, QString toolTip) |
|
QcepVector3D | value () const |
|
QcepVector3D | defaultValue () const |
|
QString | toString (const QcepVector3D &mat) |
|
| 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) |
|
|
static void | registerMetaTypes () |
|
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) |
|
Definition at line 7 of file qcepvector3dproperty.h.
Definition at line 6 of file qcepvector3dproperty.cpp.
QcepProperty(QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QString toolTip)
QcepVector3DProperty::QcepVector3DProperty |
( |
QcepSettingsSaverWPtr |
saver, |
|
|
QObject * |
parent, |
|
|
const char * |
name, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
QString |
toolTip |
|
) |
| |
|
explicit |
Definition at line 13 of file qcepvector3dproperty.cpp.
QcepProperty(QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QString toolTip)
Definition at line 53 of file qcepvector3dproperty.cpp.
References QcepProperty::debug(), DEBUG_PROPERTIES, QcepProperty::incIndex(), QcepProperty::m_Mutex, QcepProperty::m_Saver, m_Value, QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), toString(), and valueChanged().
58 printMessage(tr(
"%1: QcepVector3DProperty::incValue(QcepVector3D %2...)")
qint64 qcepDebug(int cond)
virtual void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime())
QSharedPointer< QcepSettingsSaver > QcepSettingsSaverPtr
QString toString(const QcepVector3D &mat)
QcepSettingsSaverWPtr m_Saver
void valueChanged(QcepVector3D val, int index)
void QcepVector3DProperty::registerMetaTypes |
( |
| ) |
|
|
static |
Definition at line 20 of file qcepvector3dproperty.cpp.
22 qRegisterMetaType< QcepVector3D >(
"QcepVector3D");
24 qRegisterMetaTypeStreamOperators< QcepVector3D >(
"QcepVector3D");
void QcepVector3DProperty::resetValue |
( |
| ) |
|
|
slot |
void QcepVector3DProperty::setDefaultValue |
( |
QcepVector3D |
val | ) |
|
|
slot |
void QcepVector3DProperty::setValue |
( |
QcepVector3D |
val, |
|
|
int |
index |
|
) |
| |
|
slot |
Definition at line 82 of file qcepvector3dproperty.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().
87 printMessage(tr(
"%1 QcepVector3DProperty::setValue(QcepVector3D %2)")
93 printMessage(tr(
"%1: QcepVector3DProperty::setValue(QcepVector3D %2) [%3]")
102 saver->changed(
this);
qint64 qcepDebug(int cond)
virtual void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime())
QSharedPointer< QcepSettingsSaver > QcepSettingsSaverPtr
QString toString(const QcepVector3D &mat)
QcepSettingsSaverWPtr m_Saver
void valueChanged(QcepVector3D val, int index)
QString QcepVector3DProperty::toString |
( |
const QcepVector3D & |
mat | ) |
|
void QcepVector3DProperty::valueChanged |
( |
QcepVector3D |
val, |
|
|
int |
index |
|
) |
| |
|
signal |
The documentation for this class was generated from the following files: