#include <iisiconlabel.h>
Signals | |
| void | activated () |
| void | clicked () |
| void | contextMenu () |
| void | pressed () |
| void | released () |
Public Member Functions | |
| iisIconLabel (const QIcon &icon, const QString &title, QWidget *parent=0) | |
| virtual QSize | minimumSizeHint () const |
| void | setColors (const QColor &color, const QColor &colorOver, const QColor &colorOff) |
| void | setFocusPen (const QPen &pen) |
| void | setFont (const QFont &font) |
| void | setSchemePointer (iisIconLabelScheme **pointer) |
| virtual QSize | sizeHint () const |
| virtual | ~iisIconLabel () |
Protected Member Functions | |
| virtual void | enterEvent (QEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | leaveEvent (QEvent *event) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
| bool | m_changeCursorOver |
| bool | m_over |
| bool | m_pressed |
| bool | m_underlineOver |
| QColor | myColor |
| QColor | myColorDisabled |
| QColor | myColorOver |
| QFont | myFont |
| QPen | myPen |
| QIcon | myPixmap |
| iisIconLabelScheme ** | mySchemePointer |
| QString | myText |
Constructor & Destructor Documentation
◆ iisIconLabel()
| iisIconLabel::iisIconLabel | ( | const QIcon & | icon, |
| const QString & | title, | ||
| QWidget * | parent = 0 |
||
| ) |
References myColor, myColorDisabled, myColorOver, myFont, and myPen.
◆ ~iisIconLabel()
|
virtual |
Member Function Documentation
◆ activated
|
signal |
Referenced by keyPressEvent(), and mouseReleaseEvent().
◆ clicked
|
signal |
Referenced by mouseReleaseEvent().
◆ contextMenu
|
signal |
Referenced by mousePressEvent().
◆ enterEvent()
◆ keyPressEvent()
|
protectedvirtual |
References activated().
◆ leaveEvent()
◆ minimumSizeHint()
|
virtual |
References myFont, myPixmap, mySchemePointer, and myText.
◆ mousePressEvent()
|
protectedvirtual |
References contextMenu(), m_pressed, and pressed().
◆ mouseReleaseEvent()
|
protectedvirtual |
References activated(), clicked(), m_pressed, and released().
◆ paintEvent()
|
protectedvirtual |
References m_over, m_underlineOver, myColor, myColorDisabled, myColorOver, myFont, myPen, myPixmap, mySchemePointer, and myText.
◆ pressed
|
signal |
Referenced by mousePressEvent().
◆ released
|
signal |
Referenced by mouseReleaseEvent().
◆ setColors()
| void iisIconLabel::setColors | ( | const QColor & | color, |
| const QColor & | colorOver, | ||
| const QColor & | colorOff | ||
| ) |
References myColor, myColorDisabled, and myColorOver.
Referenced by SandboxGui::TaskPanelView::TaskPanelView(), and test::test().
◆ setFocusPen()
| void iisIconLabel::setFocusPen | ( | const QPen & | pen | ) |
References myPen.
Referenced by SandboxGui::TaskPanelView::TaskPanelView(), and test::test().
◆ setFont()
| void iisIconLabel::setFont | ( | const QFont & | font | ) |
References myFont.
◆ setSchemePointer()
| void iisIconLabel::setSchemePointer | ( | iisIconLabelScheme ** | pointer | ) |
References mySchemePointer.
Referenced by iisTaskHeader::iisTaskHeader().
◆ sizeHint()
|
virtual |
Member Data Documentation
◆ m_changeCursorOver
|
protected |
◆ m_over
|
protected |
Referenced by enterEvent(), leaveEvent(), and paintEvent().
◆ m_pressed
|
protected |
Referenced by mousePressEvent(), and mouseReleaseEvent().
◆ m_underlineOver
|
protected |
Referenced by paintEvent().
◆ myColor
|
protected |
Referenced by iisIconLabel(), paintEvent(), and setColors().
◆ myColorDisabled
|
protected |
Referenced by iisIconLabel(), paintEvent(), and setColors().
◆ myColorOver
|
protected |
Referenced by iisIconLabel(), paintEvent(), and setColors().
◆ myFont
|
protected |
Referenced by iisIconLabel(), minimumSizeHint(), paintEvent(), and setFont().
◆ myPen
|
protected |
Referenced by iisIconLabel(), paintEvent(), and setFocusPen().
◆ myPixmap
|
protected |
Referenced by minimumSizeHint(), and paintEvent().
◆ mySchemePointer
|
protected |
Referenced by minimumSizeHint(), paintEvent(), and setSchemePointer().
◆ myText
|
protected |
Referenced by minimumSizeHint(), and paintEvent().
The documentation for this class was generated from the following files:
- src/Gui/iisTaskPanel/src/iisiconlabel.h
- src/Gui/iisTaskPanel/src/iisiconlabel.cpp
1.8.17