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

KDEUI

KStyle option representation


Detailed Description

Things related to the representation of options passed when drawing things.


Classes

class  KStyle::ColorMode
 A representation for colors for use as a widget layout property. More...
struct  KStyle::ColorOption
 Option representing the color of the thing to draw. More...
struct  KStyle::DoubleButtonOption
 Option for drawing double scrollbar buttons, indicating whether a button should be drawn active or not. More...
struct  KStyle::IconOption
 Option for drawing icons: represents whether the icon should be active or not. More...
struct  KStyle::Option
 Base for our own option classes. More...
struct  KStyle::OptionBase< EventualSubtype, BaseType >
 Intermediatary base that helps implement subtypes of Option that properly handle defaults. More...
struct  KStyle::TextOption
 Option representing text drawing info. For Generic::Text. More...
struct  KStyle::TitleButtonOption
 Option for drawing WT_Window titlebar buttons, indicating whether the button is pressed, and containing the window icon. More...

Functions

template<typename T>
static T KStyle::extractOption (Option *option)

Function Documentation

template<typename T>
T KStyle::extractOption ( Option *  option  )  [inline, static, protected, inherited]

The extractOption method casts the passed in option object, and returns it, if available, or the defaults for the given type.

When implementing drawing of things with associated options, just use this to extract the parameter.

Definition at line 1602 of file kstyle.h.

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal