LIDL Soundboard  1.9.0
A simple soundboard, yet better than EXP Soundboard forsenE
Spoiler Class Reference

#include <Spoiler.h>

Inheritance diagram for Spoiler:
Inheritance graph
Collaboration diagram for Spoiler:
Collaboration graph

Public Slots

void Close ()
 
void Open ()
 

Signals

void Opened ()
 
void Closed ()
 

Public Member Functions

 Spoiler (const QString &title="", const int animationDuration=300, QWidget *parent=0)
 
void setContentLayout (QLayout &contentLayout)
 
void setContentLayout (QLayout *ptrLayout)
 
void setTitle (const QString &title)
 

Private Attributes

QGridLayout mainLayout
 
QToolButton toggleButton
 
QFrame headerLine
 
QParallelAnimationGroup toggleAnimation
 
QScrollArea contentArea
 
int animationDuration {300}
 

Constructor & Destructor Documentation

◆ Spoiler()

Spoiler::Spoiler ( const QString &  title = "",
const int  animationDuration = 300,
QWidget *  parent = 0 
)
explicit

Member Function Documentation

◆ Close

void Spoiler::Close ( )
slot

References contentArea, and toggleButton.

Referenced by WrapperProperties::WrapperProperties().

Here is the caller graph for this function:

◆ Closed

void Spoiler::Closed ( )
signal

Referenced by Spoiler().

Here is the caller graph for this function:

◆ Open

void Spoiler::Open ( )
slot

◆ Opened

void Spoiler::Opened ( )
signal

Referenced by Spoiler(), and WrapperProperties::WrapperProperties().

Here is the caller graph for this function:

◆ setContentLayout() [1/2]

void Spoiler::setContentLayout ( QLayout &  contentLayout)

◆ setContentLayout() [2/2]

void Spoiler::setContentLayout ( QLayout *  ptrLayout)

References setContentLayout().

Here is the call graph for this function:

◆ setTitle()

void Spoiler::setTitle ( const QString &  title)

References toggleButton.

Member Data Documentation

◆ animationDuration

int Spoiler::animationDuration {300}
private

Referenced by setContentLayout().

◆ contentArea

QScrollArea Spoiler::contentArea
private

Referenced by Close(), Open(), setContentLayout(), and Spoiler().

◆ headerLine

QFrame Spoiler::headerLine
private

Referenced by Spoiler().

◆ mainLayout

QGridLayout Spoiler::mainLayout
private

Referenced by Spoiler().

◆ toggleAnimation

QParallelAnimationGroup Spoiler::toggleAnimation
private

Referenced by setContentLayout(), and Spoiler().

◆ toggleButton

QToolButton Spoiler::toggleButton
private

Referenced by Close(), Open(), setTitle(), and Spoiler().


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