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

Plasma

  • Plasma
  • GroupBox
Public Member Functions | Protected Member Functions | Properties | List of all members
Plasma::GroupBox Class Reference

#include <Plasma/Widgets/GroupBox>

Inheritance diagram for Plasma::GroupBox:
QGraphicsProxyWidget

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

◆ GroupBox()

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

Definition at line 48 of file groupbox.cpp.

◆ ~GroupBox()

Plasma::GroupBox::~GroupBox ( )

Definition at line 59 of file groupbox.cpp.

Member Function Documentation

◆ changeEvent()

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

Definition at line 94 of file groupbox.cpp.

◆ nativeWidget()

QGroupBox * Plasma::GroupBox::nativeWidget ( ) const
Returns
the native widget wrapped by this GroupBox

Definition at line 84 of file groupbox.cpp.

◆ resizeEvent()

void Plasma::GroupBox::resizeEvent ( QGraphicsSceneResizeEvent *  event)
protected

Definition at line 89 of file groupbox.cpp.

◆ setStyleSheet()

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

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

Parameters
stylesheeta CSS string

Definition at line 74 of file groupbox.cpp.

◆ setText()

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

Sets the display text for this GroupBox.

Parameters
textthe text to display; should be translated.

Definition at line 64 of file groupbox.cpp.

◆ styleSheet()

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

◆ text()

QString Plasma::GroupBox::text ( ) const
Returns
the display text

Definition at line 69 of file groupbox.cpp.

Property Documentation

◆ nativeWidget

QGroupBox * Plasma::GroupBox::nativeWidget
read

Definition at line 1 of file groupbox.h.

◆ parentWidget

QGraphicsWidget * Plasma::GroupBox::parentWidget
read

Definition at line 1 of file groupbox.h.

◆ styleSheet

QString Plasma::GroupBox::styleSheet
readwrite

Definition at line 1 of file groupbox.h.

◆ text

QString Plasma::GroupBox::text
readwrite

Definition at line 1 of file groupbox.h.


The documentation for this class was generated from the following files:
  • groupbox.h
  • groupbox.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

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