PythonQt.QtGui.QTextLength
QTextLength
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
When we specify a value for the length of an element in a text document, we often need to provide some other information so that the length is used in the way we expect. For example, when we specify a table width, the value can represent a fixed number of pixels, or it can be a percentage value. This information changes both the meaning of the value and the way it is used.
Generally, this class is used to specify table widths. These can be specified either as a fixed amount of pixels, as a percentage of the containing frame's width, or by a variable width that allows it to take up just the space it requires.
Source: https://doc.qt.io/archives/qt-5.15/qtextlength.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
FixedLength |
attribute | Any |
|
PercentageLength |
attribute | Any |
|
Type |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
VariableLength |
attribute | Any |
|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
rawValue |
function | (self) -> float |
X.rawValue() -> float |
readFrom |
function | (self, arg__1: Any) -> Any |
(shared captured text) |
type |
function | (self) -> Any |
Returns the type of this length object. |
value |
function | (self, maximumLength: float) -> float |
X.value(maximumLength) -> float |
writeTo |
function | (self, arg__1: Any) -> Any |
(shared captured text) |