QTextLength Class Reference
|
Константа | Значение |
---|---|
QTextLength::VariableLength | 0 |
QTextLength::FixedLength | 1 |
QTextLength::PercentageLength | 2 |
Constructs a new length object which represents a variable size.
Constructs a new length object of the given type and value.
Returns the constraint value that is specific for the type of the length. If the length is QTextLength::PercentageLength then the raw value is in percent, in the range of 0 to 100. If the length is QTextLength::FixedLength then that fixed amount is returned. For variable lengths, zero is returned.
Returns the type of length.
See also QTextLength::Type.
Returns the effective length, constrained by the type of the length object and the specified maximumLength.
See also type().
Returns the text length as a QVariant
Returns true if this text length is different from the other text length.
Returns true if this text length is the same as the other text length.
Copyright © 2008 Nokia | Торговые марки | Qt 4.4.3 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |