Public Slots | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
corbo::gui::CollapsableGroupBox Class Reference

#include <collapsable_groupbox.h>

Inheritance diagram for corbo::gui::CollapsableGroupBox:
Inheritance graph
[legend]

Public Slots

void setCollapsed (bool collapsed)
 

Public Member Functions

 CollapsableGroupBox (const QString &title, QWidget *parent=0)
 
QGroupBox * groupBox ()
 
bool isCollapsed ()
 

Protected Member Functions

void createContentArea ()
 
void createTitle (const QString &title)
 

Private Attributes

QToolButton * _button
 
bool _collapsed
 
QGroupBox * _content
 
QVBoxLayout * _layout
 

Detailed Description

Definition at line 82 of file collapsable_groupbox.h.

Constructor & Destructor Documentation

◆ CollapsableGroupBox()

corbo::gui::CollapsableGroupBox::CollapsableGroupBox ( const QString &  title,
QWidget *  parent = 0 
)
explicit

Definition at line 81 of file collapsable_groupbox.cpp.

Member Function Documentation

◆ createContentArea()

void corbo::gui::CollapsableGroupBox::createContentArea ( )
protected

Definition at line 122 of file collapsable_groupbox.cpp.

◆ createTitle()

void corbo::gui::CollapsableGroupBox::createTitle ( const QString &  title)
protected

Definition at line 96 of file collapsable_groupbox.cpp.

◆ groupBox()

QGroupBox* corbo::gui::CollapsableGroupBox::groupBox ( )
inline

Definition at line 113 of file collapsable_groupbox.h.

◆ isCollapsed()

bool corbo::gui::CollapsableGroupBox::isCollapsed ( )
inline

Definition at line 111 of file collapsable_groupbox.h.

◆ setCollapsed

void corbo::gui::CollapsableGroupBox::setCollapsed ( bool  collapsed)
slot

Definition at line 134 of file collapsable_groupbox.cpp.

Member Data Documentation

◆ _button

QToolButton* corbo::gui::CollapsableGroupBox::_button
private

Definition at line 124 of file collapsable_groupbox.h.

◆ _collapsed

bool corbo::gui::CollapsableGroupBox::_collapsed
private

Definition at line 127 of file collapsable_groupbox.h.

◆ _content

QGroupBox* corbo::gui::CollapsableGroupBox::_content
private

Definition at line 125 of file collapsable_groupbox.h.

◆ _layout

QVBoxLayout* corbo::gui::CollapsableGroupBox::_layout
private

Definition at line 123 of file collapsable_groupbox.h.


The documentation for this class was generated from the following files:


control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:07:21