PanelTab Class Reference
Class for tab button.
More...
#include <paneltab.h>
List of all members.
Public Member Functions |
| PanelTab (QWidget *parent=0) |
| Constructor.
|
Protected Member Functions |
void | mouseMoveEvent (QMouseEvent *event) |
| Move event for the distance indicator button.
|
void | mousePressEvent (QMouseEvent *event) |
| Event handler for mouse press events.
|
void | mouseReleaseEvent (QMouseEvent *event) |
| Event handler for mouse release events.
|
void | paintEvent (QPaintEvent *event) |
| Draws the tab button.
|
Private Attributes |
bool | m_tabActive |
| Boolean used to track whether the tab button is active or not.
|
bool | m_tabSelected |
| Boolean used to track whether the tab button is selected or not.
|
QPixmap | m_tabActiveImage |
| Pixmap for active tab button.
|
QPixmap | m_tabInactiveImage |
| Pixmap for inactive tab button.
|
QPixmap | m_tabInactiveImage2 |
| Pixmap for inactive tab button below active tab button.
|
QRect | m_tabRect |
| Rect for the tab button.
|
Detailed Description
Class for tab button.
- Author:
- Pekka Nissinen - pekka.nissinen (at) ixonos.com
Constructor & Destructor Documentation
PanelTab::PanelTab |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
void PanelTab::mouseMoveEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Move event for the distance indicator button.
- Parameters:
-
void PanelTab::mousePressEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Event handler for mouse press events.
- Parameters:
-
void PanelTab::mouseReleaseEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Event handler for mouse release events.
- Parameters:
-
void PanelTab::paintEvent |
( |
QPaintEvent * |
event |
) |
[protected] |
Draws the tab button.
- Parameters:
-
The documentation for this class was generated from the following files: