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

Plasma

Plasma::GroupBox

Plasma::GroupBox Class Reference

Provides a plasma-themed QGroupBox. More...

#include <Plasma/Widgets/GroupBox>

Inheritance diagram for Plasma::GroupBox:
QGraphicsProxyWidget

List of all members.

Public Member Functions

 GroupBox (QGraphicsWidget *parent=0)
QGroupBox * nativeWidget () const
void setStyleSheet (const QString &stylesheet)
void setText (const QString &text)
QString styleSheet ()
QString text () const
 ~GroupBox ()

Protected Member Functions

void resizeEvent (QGraphicsSceneResizeEvent *event)

Properties

QGroupBox nativeWidget
QGraphicsWidget parentWidget
QString styleSheet
QString text

Detailed Description

Provides a plasma-themed QGroupBox.

Definition at line 39 of file groupbox.h.


Constructor & Destructor Documentation

Plasma::GroupBox::GroupBox ( QGraphicsWidget *  parent = 0  )  [explicit]

Definition at line 45 of file groupbox.cpp.

Plasma::GroupBox::~GroupBox (  ) 

Definition at line 54 of file groupbox.cpp.


Member Function Documentation

QGroupBox* Plasma::GroupBox::nativeWidget (  )  const
Returns:
the native widget wrapped by this GroupBox
void Plasma::GroupBox::resizeEvent ( QGraphicsSceneResizeEvent *  event  )  [protected]

Definition at line 84 of file groupbox.cpp.

void Plasma::GroupBox::setStyleSheet ( const QString &  stylesheet  ) 

Sets the stylesheet used to control the visual display of this GroupBox.

  • stylesheet a CSS string

Definition at line 69 of file groupbox.cpp.

void Plasma::GroupBox::setText ( const QString &  text  ) 

Sets the display text for this GroupBox.

  • text the text to display; should be translated.

Definition at line 59 of file groupbox.cpp.

QString Plasma::GroupBox::styleSheet (  ) 
Returns:
the stylesheet currently used with this widget
QString Plasma::GroupBox::text (  )  const
Returns:
the display text

Property Documentation

QGroupBox * Plasma::GroupBox::nativeWidget [read]

Definition at line 46 of file groupbox.h.

QGraphicsWidget Plasma::GroupBox::parentWidget [read]

Definition at line 43 of file groupbox.h.

QString Plasma::GroupBox::styleSheet [read, write]

Definition at line 45 of file groupbox.h.

QString Plasma::GroupBox::text [read, write]

Definition at line 44 of file groupbox.h.


The documentation for this class was generated from the following files:
  • groupbox.h
  • groupbox.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • 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