• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • KStyle
  • TextOption
Public Member Functions | Public Attributes | List of all members
KStyle::TextOption Struct Reference
KStyle option representation

#include <kstyle.h>

Inheritance diagram for KStyle::TextOption:
Inheritance graph
[legend]

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.

Definition at line 369 of file kstyle.h.

Constructor & Destructor Documentation

KStyle::TextOption::TextOption ( )

Definition at line 4467 of file kstyle.cpp.

KStyle::TextOption::TextOption ( const QString &  _text)

Convenience constructor.

Parameters
_textinitializes 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 horizontal alignment, default is Qt::AlignLeft.

Definition at line 371 of file kstyle.h.

QString KStyle::TextOption::text

The text to draw.

Definition at line 372 of file kstyle.h.


The documentation for this struct was generated from the following files:
  • kstyle.h
  • kstyle.cpp
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

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal