KDEUI
KStyle::TextOption Struct Reference
#include <kstyle.h>
Inheritance diagram for KStyle::TextOption:
Public Member Functions | |
| TextOption () | |
| TextOption (const QString &_text) | |
| void | init () |
| Public Member Functions inherited from KStyle::ColorOption | |
| ColorOption () | |
| Public Member Functions inherited from KStyle::Option | |
| virtual | ~Option () |
Public Attributes | |
| Qt::Alignment | hAlign |
| QString | text |
| Public Attributes inherited from KStyle::ColorOption | |
| ColorMode | color |
Additional Inherited Members | |
| Static Public Member Functions inherited from KStyle::OptionBase< TextOption, ColorOption > | |
| static TextOption * | defaultOption () |
| Static Public Member Functions inherited from KStyle::OptionBase< ColorOption, Option > | |
| static ColorOption * | defaultOption () |
Detailed Description
Option representing text drawing info. For Generic::Text.
Constructor & Destructor Documentation
◆ TextOption() [1/2]
| KStyle::TextOption::TextOption | ( | ) |
Definition at line 4467 of file kstyle.cpp.
◆ TextOption() [2/2]
| KStyle::TextOption::TextOption | ( | const QString & | _text | ) |
Convenience constructor.
- Parameters
-
_text initializes the text string property
Definition at line 4472 of file kstyle.cpp.
Member Function Documentation
◆ init()
| void KStyle::TextOption::init | ( | ) |
Called by the constructor to set the default value of hAlign.
Definition at line 4478 of file kstyle.cpp.
Member Data Documentation
◆ hAlign
| Qt::Alignment KStyle::TextOption::hAlign |
◆ text
The documentation for this struct was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.