#include <iistaskheader.h>
Public Slots | |
void | fold () |
Signals | |
void | activated () |
Public Member Functions | |
iisTaskHeader (const QIcon &icon, const QString &title, bool expandable, QWidget *parent=0) | |
void | setScheme (iisTaskPanelScheme *scheme) |
virtual | ~iisTaskHeader () |
Protected Slots | |
void | animate () |
Protected Member Functions | |
void | changeIcons () |
virtual void | enterEvent (QEvent *event) |
bool | eventFilter (QObject *obj, QEvent *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 |
QLabel * | myButton |
bool | myExpandable |
iisIconLabelScheme * | myLabelScheme |
iisTaskPanelScheme * | myScheme |
iisIconLabel * | myTitle |
Definition at line 19 of file iistaskheader.h.
iisTaskHeader::iisTaskHeader | ( | const QIcon & | icon, | |
const QString & | title, | |||
bool | expandable, | |||
QWidget * | parent = 0 | |||
) |
Definition at line 12 of file iistaskheader.cpp.
References activated(), changeIcons(), draftlibs::fcgeo::connect(), iisTaskPanelScheme::defaultScheme(), fold(), iisTaskPanelScheme::headerButtonSize, myButton, myExpandable, myLabelScheme, myScheme, myTitle, setScheme(), and iisIconLabel::setSchemePointer().
iisTaskHeader::~iisTaskHeader | ( | ) | [virtual] |
Definition at line 47 of file iistaskheader.cpp.
void iisTaskHeader::activated | ( | ) | [signal] |
Referenced by fold(), iisTaskHeader(), and mouseReleaseEvent().
void iisTaskHeader::animate | ( | ) | [protected, slot] |
Definition at line 109 of file iistaskheader.cpp.
References iisTaskPanelScheme::headerAnimation, m_opacity, m_over, and myScheme.
Referenced by enterEvent(), and leaveEvent().
void iisTaskHeader::changeIcons | ( | ) | [protected] |
Definition at line 168 of file iistaskheader.cpp.
References iisTaskPanelScheme::headerButtonFold, iisTaskPanelScheme::headerButtonFoldOver, iisTaskPanelScheme::headerButtonSize, iisTaskPanelScheme::headerButtonUnfold, iisTaskPanelScheme::headerButtonUnfoldOver, m_buttonOver, m_fold, myButton, and myScheme.
Referenced by eventFilter(), fold(), iisTaskHeader(), and setScheme().
void iisTaskHeader::enterEvent | ( | QEvent * | event | ) | [protected, virtual] |
Definition at line 138 of file iistaskheader.cpp.
bool iisTaskHeader::eventFilter | ( | QObject * | obj, | |
QEvent * | event | |||
) | [protected] |
Definition at line 52 of file iistaskheader.cpp.
References changeIcons(), fold(), and m_buttonOver.
void iisTaskHeader::fold | ( | ) | [slot] |
Definition at line 158 of file iistaskheader.cpp.
References activated(), changeIcons(), m_fold, and myExpandable.
Referenced by eventFilter(), Gui::TaskView::TaskBox::hideGroupBox(), and iisTaskHeader().
void iisTaskHeader::leaveEvent | ( | QEvent * | event | ) | [protected, virtual] |
Definition at line 148 of file iistaskheader.cpp.
void iisTaskHeader::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 188 of file iistaskheader.cpp.
References activated().
void iisTaskHeader::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Definition at line 92 of file iistaskheader.cpp.
References iisTaskPanelScheme::headerAnimation, iisTaskPanelScheme::headerBackground, iisTaskPanelScheme::headerBorder, m_opacity, myScheme, and draftTools::p.
void iisTaskHeader::setScheme | ( | iisTaskPanelScheme * | scheme | ) |
Definition at line 75 of file iistaskheader.cpp.
References changeIcons(), iisIconLabelScheme::cursorOver, iisTaskPanelScheme::headerLabelScheme, iisTaskPanelScheme::headerSize, myExpandable, myLabelScheme, and myScheme.
Referenced by iisTaskHeader(), and iisTaskBox::setScheme().
bool iisTaskHeader::m_buttonOver [protected] |
Definition at line 52 of file iistaskheader.h.
Referenced by changeIcons(), and eventFilter().
bool iisTaskHeader::m_fold [protected] |
Definition at line 52 of file iistaskheader.h.
Referenced by changeIcons(), and fold().
double iisTaskHeader::m_opacity [protected] |
Definition at line 53 of file iistaskheader.h.
Referenced by animate(), and paintEvent().
bool iisTaskHeader::m_over [protected] |
Definition at line 52 of file iistaskheader.h.
Referenced by animate(), enterEvent(), and leaveEvent().
QLabel* iisTaskHeader::myButton [protected] |
Definition at line 56 of file iistaskheader.h.
Referenced by changeIcons(), and iisTaskHeader().
bool iisTaskHeader::myExpandable [protected] |
Definition at line 51 of file iistaskheader.h.
Referenced by fold(), iisTaskHeader(), and setScheme().
iisIconLabelScheme* iisTaskHeader::myLabelScheme [protected] |
Definition at line 49 of file iistaskheader.h.
Referenced by iisTaskHeader(), and setScheme().
iisTaskPanelScheme* iisTaskHeader::myScheme [protected] |
Definition at line 48 of file iistaskheader.h.
Referenced by animate(), changeIcons(), iisTaskHeader(), paintEvent(), and setScheme().
iisIconLabel* iisTaskHeader::myTitle [protected] |
Definition at line 55 of file iistaskheader.h.
Referenced by iisTaskHeader().