qproperty.3qt
来自「tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件」· 3QT 代码 · 共 361 行 · 第 1/2 页
3QT
361 行
.BI "const QColor& \fBcolorValue\fR () const".br.ti -1c.BI "const QPalette& \fBpaletteValue\fR () const".br.ti -1c.BI "const QColorGroup& \fBcolorgroupValue\fR () const".br.ti -1c.BI "int \fBintValue\fR () const".br.ti -1c.BI "bool \fBboolValue\fR () const".br.ti -1c.BI "double \fBdoubleValue\fR () const".br.ti -1c.BI "virtual void \fBload\fR ( QDataStream & )".br.ti -1c.BI "virtual void \fBsave\fR ( QDataStream & ) const".br.in -1c.SS "Static Public Members".in +1c.ti -1c.BI "QString \fBtypeToName\fR ( Type _typ )".br.ti -1c.BI "Type \fBnameToType\fR ( const QString & _name )".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "virtual void \fBclear\fR ()".br.in -1c.SH DESCRIPTIONActs like a union for the most common Qt data types..PPUnfortunately one can not use C++ unions with classes that have constructors and destructors since the compiler and the runtime library could not determine which destructor to call..PPTo come around this QProperty can store the most common Qt and C++ data types. Like every union it can hold one value of a certain type at a time..SH MEMBER FUNCTION DOCUMENTATION.SH "QProperty::QProperty ()"Creates an empty property..SH "QProperty::QProperty ( QDataStream & s )"Reads the property from the data stream..SH "QProperty::QProperty ( bool _v )"Creates a new property with a boolean value..SH "QProperty::QProperty ( const QBrush & _v )"Creates a new property with a brush value..SH "QProperty::QProperty ( const QColor & _v )"Creates a new property with a color value..SH "QProperty::QProperty ( const QColorGroup & _v )"Creates a new property with a color group value..SH "QProperty::QProperty ( const QFont & _v )"Creates a new property with a font value..SH "QProperty::QProperty ( const QImage & _v )"Creates a new property with an image value..SH "QProperty::QProperty ( const QPalette & _v )"Creates a new property with a color palette value..SH "QProperty::QProperty ( const QPixmap & _v )"Creates a new property with a pixmap value..SH "QProperty::QProperty ( const QPoint & _v )"Creates a new property with a point value..SH "QProperty::QProperty ( const QRect & _v )"Creates a new property with a rect value..SH "QProperty::QProperty ( const QSize & _v )"Creates a new property with a size value..SH "QProperty::QProperty ( const QString & _v )"Creates a new property with a string value..SH "QProperty::QProperty ( const QStringList & _v )"Creates a new property with a string list value..SH "QProperty::QProperty ( const QValueList<double> & _v )"Creates a new property with a floating point list value..SH "QProperty::QProperty ( const QValueList<int> & _v )"Creates a new property with a integer list value..SH "QProperty::QProperty ( const QProperty & p )"Constructs a deep copy of the property passed as argument to this constructor..SH "QProperty::QProperty ( double _v )"Creates a new property with a floating point value..SH "QProperty::QProperty ( int _v )"Creates a new property with an integer value..SH "QProperty::~QProperty () \fC[virtual]\fR"Subclasses which re-implement clear() should reimplement the destructor to call clear() - so that the overridden clear() is called..SH "bool QProperty::boolValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QBrush& QProperty::brushValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "void QProperty::clear () \fC[virtual protected]\fR"De-allocate, based on the type, producing an Empty property..SH "const QColor& QProperty::colorValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QColorGroup& QProperty::colorgroupValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QValueList<double>& QProperty::doubleListValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "double QProperty::doubleValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QFont& QProperty::fontValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QImage& QProperty::imageValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QValueList<int>& QProperty::intListValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "int QProperty::intValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "bool QProperty::isEmpty () const"Returns TRUE if the storage type of this property is QProperty::Empty..SH "void QProperty::load ( QDataStream & s ) \fC[virtual]\fR"Internal function for loading a property. Use the stream operators instead..SH "QProperty& QProperty::operator= ( const QProperty & p )"Assigns the value of one property to another. This creates a deep copy..SH "const QPalette& QProperty::paletteValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QPixmap& QProperty::pixmapValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QPoint& QProperty::pointValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QRect& QProperty::rectValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "void QProperty::save ( QDataStream & s ) const \fC[virtual]\fR"Internal function for saving a property. Use the stream operators instead..SH "void QProperty::setValue ( bool _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QBrush & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QColor & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QColorGroup & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QFont & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QImage & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QPalette & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QPixmap & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QPoint & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QRect & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QSize & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QString & _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( const QStringList & _value )"Changes the value of this property. The previous value is dropped. This function creates a copy of the list. This is very fast since QStringList is implicit shared..SH "void QProperty::setValue ( const QValueList<double> & _value )"Changes the value of this property. The previous value is dropped. This function creates a copy of the list. This is very fast since QStringList is implicit shared..SH "void QProperty::setValue ( const QValueList<int> & _value )"Changes the value of this property. The previous value is dropped. This function creates a copy of the list. This is very fast since QStringList is implicit shared..SH "void QProperty::setValue ( double _value )"Changes the value of this property. The previous value is dropped..SH "void QProperty::setValue ( int _value )"Changes the value of this property. The previous value is dropped..SH "const QSize& QProperty::sizeValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QStringList& QProperty::stringListValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "const QString& QProperty::stringValue () const"Returns the value stored in the property. If the properties value does not match the return type of this function then this function will abort your process. So check with type() or typeName() first wether the property holds the correct data type..SH "Type QProperty::type () const"Returns the stoarge type of the value stored in the property currently..SH "QString QProperty::typeName () const \fC[virtual]\fR"Returns the type stored in the property currently in ASCII format.The returned strings describe the C++ datatype used to store thedata, for example "QFont", "QString" or "QValueList<int>"..SH "SEE ALSO".BR http://www.troll.no/qt/qproperty.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS. See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?