IndicatorButton Class Reference
Indicator button class.
More...
#include <indicatorbutton.h>
List of all members.
Detailed Description
Indicator button class.
- Author:
- Katri Kaikkonen - katri.kaikkonen (at) ixonos.com
-
Kaj Wallin - kaj.wallin (at) ixonos.com
-
Sami Rämö - sami.ramo (at) ixonos.com
Constructor & Destructor Documentation
IndicatorButton::IndicatorButton |
( |
QWidget * |
parent = 0 |
) |
|
Member Function Documentation
void IndicatorButton::autoCenteringTriggered |
( |
bool |
enabled |
) |
[signal] |
Automatic centering setting changed by user.
- Parameters:
-
| enabled | True if automatic centering is enabled, otherwise false |
void IndicatorButton::mousePressEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Event handler for mouse press events.
- Parameters:
-
void IndicatorButton::mouseReleaseEvent |
( |
QMouseEvent * |
event |
) |
[protected] |
Event handler for mouse release events.
- Parameters:
-
void IndicatorButton::paintEvent |
( |
QPaintEvent * |
event |
) |
[protected] |
Event handler for paint events.
Paints the button and its icon
- Parameters:
-
void IndicatorButton::setDirection |
( |
qreal |
direction, |
|
|
bool |
draw | |
|
) |
| | [slot] |
Sets direction information for the distance indicator button.
Paints the button and its icon
- Parameters:
-
| direction | Direction to the GPS position (in degrees) |
| draw | True if direction triangle should be drawn |
The documentation for this class was generated from the following files: