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

KDEUI

  • KStyle
  • ToolButton
Public Types | List of all members
KStyle::ToolButton Struct Reference
KStyle widget representation

#include <kstyle.h>

Public Types

enum  LayoutProps {
  ContentsMargin, FocusMargin = ContentsMargin + MarginInc, MenuIndicatorSize, InlineMenuIndicatorSize = FocusMargin + MarginInc,
  InlineMenuIndicatorXOff, InlineMenuIndicatorYOff
}
 
enum  Primitive { Panel }
 

Detailed Description

Describes widgets like QToolButton (usually inside a QToolBar).

The drawing of ToolButton's is much like that of PushButtons; however, in some cases the widget is configured to not have a separate arrow area, but to incorporate the area inside the button itself. To handle this mode, set InlineMenuIndicatorSize to the size of the arrow, and the InlineMenuIndicatorXOff, and InlineMenuIndicatorYOff to offset from the bottom-right corner to place that rectangle. If InlineMenuIndicatorSize isn't set, the arrow won't be drawn.

See also
WT_ToolButton

Definition at line 1388 of file kstyle.h.


The documentation for this struct was generated from the following file:
  • kstyle.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Oct 7 2015 10:27:09 by doxygen 1.8.9.1 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-4.14.12 API Reference

Skip menu "kdelibs-4.14.12 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
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