Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

Variant Class Reference

#include <variant.h>

List of all members.

Detailed Description

For information: QVariant::type() returns an enum for the current data type contained. e.g. returns QVariant::Color or QVariant::Rect
Daniel Clarke

David Saxton

Definition at line 27 of file variant.h.


void valueChanged (QVariant newValue, QVariant oldValue)

Public Member Functions

QStringList allowed () const
void appendAllowed (QString string)
int colorScheme () const
QVariant defaultValue () const
QString displayString () const
QString editorCaption () const
QString filter () const
bool isAdvanced () const
bool isHidden () const
double maxValue () const
double minAbsValue () const
double minValue () const
void resetToDefault ()
void setAdvanced (bool advanced)
void setAllowed (QStringList stringList)
void setCaption (const QString &caption)
void setColorScheme (int colorScheme)
void setDefaultValue (QVariant val)
void setEditorCaption (const QString &caption)
void setFilter (const QString &filter)
void setHidden (bool hidden)
void setMaxValue (double value)
void setMinAbsValue (double val)
void setMinValue (double value)
void setToolbarCaption (const QString &caption)
void setType (Type::Value type)
void setUnit (const QString &unit)
void setValue (const QVariant &val)
QString toolbarCaption () const
Variant::Type::Value type () const
QString unit () const
QVariant value () const
 Variant (Type::Value type)

Private Attributes

QStringList m_allowed
bool m_bAdvanced
bool m_bHidden
bool m_bSetDefault
int m_colorScheme
QVariant m_defaultValue
QString m_editorCaption
QString m_filter
double m_maxValue
double m_minAbsValue
double m_minValue
QString m_toolbarCaption
Type::Value m_type
QString m_unit
QVariant m_value


class  Type

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index