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

KDEUI

Classes | Enumerations
KStyle widget representation

Classes

struct  KStyle::CheckBox
 
struct  KStyle::ComboBox
 
struct  KStyle::DockWidget
 
struct  KStyle::Generic
 
struct  KStyle::GroupBox
 
struct  KStyle::Header
 
struct  KStyle::LineEdit
 
struct  KStyle::Menu
 
struct  KStyle::MenuBar
 
struct  KStyle::MenuBarItem
 
struct  KStyle::MenuItem
 
struct  KStyle::ProgressBar
 
struct  KStyle::PushButton
 
struct  KStyle::RadioButton
 
struct  KStyle::ScrollBar
 
struct  KStyle::Slider
 
struct  KStyle::SpinBox
 
struct  KStyle::Splitter
 
struct  KStyle::StatusBar
 
struct  KStyle::TabBar
 
struct  KStyle::TabWidget
 
struct  KStyle::ToolBar
 
struct  KStyle::ToolBoxTab
 
struct  KStyle::ToolButton
 
struct  KStyle::Tree
 
struct  KStyle::Window
 

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

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, 'SomeWidget::Margin+MainMargin' is the same as 'SomeWidget::Margin'.

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 440 of file kstyle.h.

enum KStyle::WidgetType
protected

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 401 of file kstyle.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:17 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • 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