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

KDEUI

KStyle::Generic

KStyle::Generic Struct Reference
[KStyle widget representation]

#include <kstyle.h>

List of all members.


Detailed Description

Basic primitive drawing operations.

Are intended to be used in every WidgetType combination.

Definition at line 395 of file kstyle.h.


Public Types

enum  LayoutProp { DefaultFrameWidth }
enum  Primitive {
  Text = 0xFFFF, Icon, FocusIndicator, Frame,
  ArrowUp, ArrowDown, ArrowRight, ArrowLeft
}

Member Enumeration Documentation

enum KStyle::Generic::LayoutProp

Layout properties.

These can be set with setWidgetLayoutProp() Generic LayoutProps contain a few properties which are not directly related to a specific widget type.

Enumerator:
DefaultFrameWidth  The FrameWidth used by LineEdit, etc..., default is 2 [sets QStyle::PM_DefaultFrameWidth].

Definition at line 402 of file kstyle.h.

enum KStyle::Generic::Primitive

Primitive drawing operations.

Note:
The arrows are centering primitives, which means they draw in the center of the specified rectangle.
Enumerator:
Text  Passes in TextOption.
Icon  Passes in IconOption.
FocusIndicator  Indication that this widget has focus.
Frame  Frame around widget.

Note:
QFrame derived widgets are painted using WT_Generic widget type and this Generic::Frame primitive.
ArrowUp  Up arrow (pointing up).
ArrowDown  Down arrow.
ArrowRight  Right arrow.
ArrowLeft  Left arrow.

Definition at line 412 of file kstyle.h.


The documentation for this struct was generated from the following 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