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

KDEUI

KStyle widget representation

Things related to the representation of widgets. More...

Classes

struct  KStyle::CheckBox
 Describes widgets like QCheckBox. More...
struct  KStyle::ComboBox
 Describes a widget like QComboBox. More...
struct  KStyle::DockWidget
 Describes the title of a dock widget. More...
struct  KStyle::Generic
 Basic primitive drawing operations. More...
struct  KStyle::GroupBox
 Describes something like QGroupBox. More...
struct  KStyle::Header
 Describes a list header, like in QListView. More...
struct  KStyle::LineEdit
 Describes a text edit widget like QLineEdit. More...
struct  KStyle::Menu
 Describes a menu. More...
struct  KStyle::MenuBar
 Describes widgets like QMenuBar. More...
struct  KStyle::MenuBarItem
 Describes MenuBar items. More...
struct  KStyle::MenuItem
 Describes an item in a menu. More...
struct  KStyle::ProgressBar
 Describes widgets like QProgressBar. More...
struct  KStyle::PushButton
 Describes widgets like QPushButton. More...
struct  KStyle::RadioButton
 Describes widgets like QRadioButton. More...
struct  KStyle::ScrollBar
 Describes widgets like QScrollBar. More...
struct  KStyle::Slider
 Describes a slider, like QSlider. More...
struct  KStyle::SpinBox
 Describes a widget like QSpinBox. More...
struct  KStyle::Splitter
 Describes widgets like QSplitter. More...
struct  KStyle::StatusBar
 Describes a status bar section. More...
struct  KStyle::TabBar
 Describes a tab bar. More...
struct  KStyle::TabWidget
 Describes a tab widget (frame). More...
struct  KStyle::ToolBar
 Describes a tool bar. More...
struct  KStyle::ToolBoxTab
 Describes a tab for a tool box, like QToolBox. More...
struct  KStyle::ToolButton
 Describes widgets like QToolButton (usually inside a QToolBar). More...
struct  KStyle::Tree
 Describes an expandable tree, e.g. More...
struct  KStyle::Window
 Describes windows, like in QWorkspace. More...

Enumerations

enum  KStyle::MarginOffsets {
  KStyle::MainMargin, KStyle::Top, KStyle::Bot, KStyle::Left,
  KStyle::Right, KStyle::MarginInc
}
enum  KStyle::WidgetType {
  KStyle::WT_Generic, KStyle::WT_PushButton, KStyle::WT_Splitter, KStyle::WT_CheckBox,
  KStyle::WT_RadioButton, KStyle::WT_DockWidget, KStyle::WT_ProgressBar, KStyle::WT_MenuBar,
  KStyle::WT_MenuBarItem, KStyle::WT_Menu, KStyle::WT_MenuItem, KStyle::WT_ScrollBar,
  KStyle::WT_TabBar, KStyle::WT_TabWidget, KStyle::WT_Slider, KStyle::WT_Tree,
  KStyle::WT_SpinBox, KStyle::WT_ComboBox, KStyle::WT_Header, KStyle::WT_LineEdit,
  KStyle::WT_GroupBox, KStyle::WT_StatusBar, KStyle::WT_ToolBar, KStyle::WT_ToolButton,
  KStyle::WT_ToolBoxTab, KStyle::WT_Window, KStyle::WT_Limit = 0xFFFF
}

Detailed Description

Things related to the representation of widgets.


Enumeration Type Documentation

enum KStyle::MarginOffsets [protected, inherited]

These constants describe how to access various fields of a margin property.

For example, to set an additional top margin of 2 pixels, use

 setWidgetLayoutProp(WT_SomeWidget, SomeWidget::Margin + Top, 2);
Enumerator:
MainMargin 

The main margin is applied equally on each side.

In the example above, 'SomeWidgetMargin+MainMargin' is the same as 'SomeWidgetMargin'.

Top 

Apply an additional top margin.

Bot 

Apply an additional bottom margin.

Left 

Apply an additional left margin.

Right 

Apply an additional right margin.

MarginInc 

Used to reserve space in an enum for the Top, Bot, Left, Right margins.

Definition at line 439 of file kstyle.h.

enum KStyle::WidgetType [protected, inherited]

This enum is used to represent KStyle's concept of a widget, and to associate drawing requests and metrics with it.

The generic value is used for primitives and metrics that are common between many widgets

Enumerator:
WT_Generic 
See also:
Generic
WT_PushButton 
See also:
PushButton
WT_Splitter 
See also:
Splitter
WT_CheckBox 
See also:
CheckBox
WT_RadioButton 
See also:
RadioButton
WT_DockWidget 
See also:
DockWidget
WT_ProgressBar 
See also:
ProgressBar
WT_MenuBar 
See also:
MenuBar
WT_MenuBarItem 
See also:
MenuBarItem
WT_Menu 
See also:
Menu
WT_MenuItem 
See also:
MenuItem
WT_ScrollBar 
See also:
ScrollBar
WT_TabBar 
See also:
TabBar
WT_TabWidget 
See also:
TabWidget
WT_Slider 
See also:
Slider
WT_Tree 
See also:
Tree
WT_SpinBox 
See also:
SpinBox
WT_ComboBox 
See also:
ComboBox
WT_Header 
See also:
Header
WT_LineEdit 
See also:
LineEdit
WT_GroupBox 
See also:
GroupBox
WT_StatusBar 
See also:
StatusBar
WT_ToolBar 
See also:
ToolBar
WT_ToolButton 
See also:
ToolButton
WT_ToolBoxTab 
See also:
ToolBoxTab
WT_Window 
See also:
Window
WT_Limit 

For enum extensibility.

Definition at line 400 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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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