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

Plasma

  • Plasma
  • GroupBox
Public Member Functions | Protected Member Functions | Properties

Plasma::GroupBox Class Reference

Provides a plasma-themed QGroupBox. More...

#include <Plasma/Widgets/GroupBox>

Inheritance diagram for Plasma::GroupBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

void changeEvent (QEvent *event)
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 49 of file groupbox.cpp.

Plasma::GroupBox::~GroupBox ( )

Definition at line 60 of file groupbox.cpp.


Member Function Documentation

void Plasma::GroupBox::changeEvent ( QEvent *  event) [protected]

Definition at line 95 of file groupbox.cpp.

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

Definition at line 90 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 75 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 65 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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