KDEUI
KStyle::TextOption Struct Reference
#include <kstyle.h>
Inheritance diagram for KStyle::TextOption:

Public Member Functions | |
TextOption () | |
TextOption (const QString &_text) | |
void | init () |
![]() | |
ColorOption () | |
![]() | |
virtual | ~Option () |
Public Attributes | |
Qt::Alignment | hAlign |
QString | text |
![]() | |
ColorMode | color |
Additional Inherited Members | |
![]() | |
static TextOption * | defaultOption () |
![]() | |
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-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.