#include <taskheader_p.h>

Public Slots

void fold ()
 

Signals

void activated ()
 

Public Member Functions

bool expandable () const
 
void setExpandable (bool expandable)
 
void setFold (bool)
 
void setScheme (ActionPanelScheme *scheme)
 
 TaskHeader (const QIcon &icon, const QString &title, bool expandable, QWidget *parent=0)
 

Protected Slots

void animate ()
 

Protected Member Functions

void changeIcons ()
 
virtual void enterEvent (QEvent *event)
 
bool eventFilter (QObject *obj, QEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void leaveEvent (QEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

bool m_buttonOver
 
bool m_fold
 
double m_opacity
 
bool m_over
 
QLabelmyButton
 
bool myExpandable
 
ActionPanelSchememyScheme
 
ActionLabelmyTitle
 

Friends

class ActionGroup
 

Constructor & Destructor Documentation

◆ TaskHeader()

QSint::TaskHeader::TaskHeader ( const QIcon &  icon,
const QString &  title,
bool  expandable,
QWidget parent = 0 
)

Member Function Documentation

◆ activated

void QSint::TaskHeader::activated ( )
signal

Referenced by fold(), and mouseReleaseEvent().

◆ animate

void QSint::TaskHeader::animate ( )
protectedslot

◆ changeIcons()

◆ enterEvent()

void QSint::TaskHeader::enterEvent ( QEvent event)
protectedvirtual

References animate(), and m_over.

◆ eventFilter()

bool QSint::TaskHeader::eventFilter ( QObject obj,
QEvent event 
)
protected

◆ expandable()

bool QSint::TaskHeader::expandable ( ) const

◆ fold

void QSint::TaskHeader::fold ( )
slot

◆ keyPressEvent()

void QSint::TaskHeader::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

◆ keyReleaseEvent()

void QSint::TaskHeader::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual

◆ leaveEvent()

void QSint::TaskHeader::leaveEvent ( QEvent event)
protectedvirtual

References animate(), and m_over.

◆ mouseReleaseEvent()

void QSint::TaskHeader::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

References activated().

◆ paintEvent()

void QSint::TaskHeader::paintEvent ( QPaintEvent *  event)
protectedvirtual

◆ setExpandable()

void QSint::TaskHeader::setExpandable ( bool  expandable)

◆ setFold()

void QSint::TaskHeader::setFold ( bool  on)

◆ setScheme()

Friends And Related Function Documentation

◆ ActionGroup

friend class ActionGroup
friend

Member Data Documentation

◆ m_buttonOver

bool QSint::TaskHeader::m_buttonOver
protected

Referenced by changeIcons(), and eventFilter().

◆ m_fold

bool QSint::TaskHeader::m_fold
protected

◆ m_opacity

double QSint::TaskHeader::m_opacity
protected

Referenced by animate(), and paintEvent().

◆ m_over

bool QSint::TaskHeader::m_over
protected

Referenced by animate(), enterEvent(), and leaveEvent().

◆ myButton

QLabel* QSint::TaskHeader::myButton
protected

◆ myExpandable

bool QSint::TaskHeader::myExpandable
protected

◆ myScheme

ActionPanelScheme* QSint::TaskHeader::myScheme
protected

◆ myTitle

ActionLabel* QSint::TaskHeader::myTitle
protected

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/QSint/actionpanel/taskheader_p.h
  • Sources/FreeCAD/src/Gui/QSint/actionpanel/taskheader_p.cpp