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
KStyle::TextOption::TextOption | ( | ) |
Definition at line 4467 of file kstyle.cpp.
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
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
Qt::Alignment KStyle::TextOption::hAlign |
The documentation for this struct was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.