QTextLength Class Reference
#include <qtextformat.h>
Definition at line 84 of file qtextformat.h.
Enumerator |
---|
VariableLength |
|
FixedLength |
|
PercentageLength |
|
Definition at line 87 of file qtextformat.h.
Definition at line 121 of file qtextformat.h.
122 : lengthType(atype), fixedValueOrPercentage(avalue) {}
qreal value |
( |
qreal |
maximumLength | ) |
const |
|
inline |
Definition at line 104 of file qtextformat.h.
104 {
return fixedValueOrPercentage; }
Definition at line 106 of file qtextformat.h.
107 {
return lengthType == other.lengthType
108 &&
qFuzzyCompare(fixedValueOrPercentage, other.fixedValueOrPercentage); }
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
Definition at line 109 of file qtextformat.h.
110 {
return lengthType != other.lengthType
111 || !
qFuzzyCompare(fixedValueOrPercentage, other.fixedValueOrPercentage); }
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
The documentation for this class was generated from the following file: