Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Slots | Signals | Public Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
CollapsibleWidget Class Reference

#include <collapsiblewidget.h>

Inheritance diagram for CollapsibleWidget:
EffectUI

Public Slots

void header_click (bool s, bool deselect)
 

Signals

void deselect_others (QWidget *)
 
void visibleChanged (bool)
 

Public Member Functions

 CollapsibleWidget (QWidget *parent=nullptr)
 
void SetContents (QWidget *c)
 
QString Title ()
 
void SetTitle (const QString &)
 
bool IsFocused ()
 
bool IsExpanded ()
 
void SetExpanded (bool s)
 
bool IsSelected ()
 

Protected Attributes

QCheckBox * enabled_check
 
CollapsibleWidgetHeadertitle_bar
 
QWidget * contents
 

Private Slots

void on_visible_change ()
 

Private Member Functions

void set_button_icon (bool open)
 

Private Attributes

bool selected
 
QLabel * header
 
QVBoxLayout * layout
 
QPushButton * collapse_button
 
QFrame * line
 
QHBoxLayout * title_bar_layout
 

Constructor & Destructor Documentation

CollapsibleWidget::CollapsibleWidget ( QWidget *  parent = nullptr)

Member Function Documentation

void CollapsibleWidget::deselect_others ( QWidget *  )
signal
void CollapsibleWidget::header_click ( bool  s,
bool  deselect 
)
slot
bool CollapsibleWidget::IsExpanded ( )
bool CollapsibleWidget::IsFocused ( )
bool CollapsibleWidget::IsSelected ( )
void CollapsibleWidget::on_visible_change ( )
privateslot
void CollapsibleWidget::set_button_icon ( bool  open)
private
void CollapsibleWidget::SetContents ( QWidget *  c)
void CollapsibleWidget::SetExpanded ( bool  s)
void CollapsibleWidget::SetTitle ( const QString &  s)
QString CollapsibleWidget::Title ( )
void CollapsibleWidget::visibleChanged ( bool  )
signal

Member Data Documentation

QPushButton* CollapsibleWidget::collapse_button
private
QWidget* CollapsibleWidget::contents
protected
QCheckBox* CollapsibleWidget::enabled_check
protected
QLabel* CollapsibleWidget::header
private
QVBoxLayout* CollapsibleWidget::layout
private
QFrame* CollapsibleWidget::line
private
bool CollapsibleWidget::selected
private
CollapsibleWidgetHeader* CollapsibleWidget::title_bar
protected
QHBoxLayout* CollapsibleWidget::title_bar_layout
private

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