KDELibs4Support

#include <k4style.h>

Inheritance diagram for K4Style::TextOption:

Public Member Functions

 TextOption (const QString &_text)
 
void init ()
 

Public Attributes

Qt::Alignment hAlign
 
QString text
 
- Public Attributes inherited from K4Style::ColorOption
ColorMode color
 

Additional Inherited Members

- Static Public Member Functions inherited from K4Style::OptionBase< TextOption, ColorOption >
static TextOptiondefaultOption ()
 
- Static Public Member Functions inherited from K4Style::OptionBase< ColorOption, Option >
static ColorOptiondefaultOption ()
 

Detailed Description

Option representing text drawing info. For Generic::Text.

Definition at line 361 of file k4style.h.

Constructor & Destructor Documentation

K4Style::TextOption::TextOption ( const QString _text)

Convenience constructor.

Parameters
_textinitializes the text string property

Definition at line 4206 of file k4style.cpp.

Member Function Documentation

void K4Style::TextOption::init ( )

Called by the constructor to set the default value of hAlign.

Definition at line 4212 of file k4style.cpp.

Member Data Documentation

Qt::Alignment K4Style::TextOption::hAlign

The horizontal alignment, default is Qt::AlignLeft.

Definition at line 362 of file k4style.h.

QString K4Style::TextOption::text

The text to draw.

Definition at line 363 of file k4style.h.


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 Tue Aug 4 2020 22:57:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.