QTextOption & operator=(const QTextOption &o)
Returns true if the text option is the same as the other text option; otherwise returns false...
void setTabs(QList< Tab > tabStops)
Sets the tab positions for the text layout to those specified by tabStops.
~QTextOption()
Destroys the text option.
QList< qreal > tabArray() const
Returns a list of tab positions defined for the text layout.
qreal position
Distance from the start of the paragraph.
QList< QTextOption::Tab > tabStops
QList< Tab > tabs() const
Returns a list of tab positions defined for the text layout.
void setTabArray(QList< qreal > tabStops)
Sets the tab positions for the text layout to those specified by tabStops.
The QTextOption class provides a description of general rich text properties.
QTextOption()
Constructs a text option with default properties for text.
Qt::Alignment alignment() const
Returns the text alignment defined by the option.
Each tab definition is represented by this struct.