#include <GPS.h>
◆ GPS()
Widgets::GPS::GPS |
( |
const int |
index = -1 | ) |
|
Generates the user interface elements & layout
◆ mousePressEvent()
void Widgets::GPS::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
Manually calls the zoom in / zoom out button clicks when the user presses on the widget
◆ resizeEvent()
void Widgets::GPS::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
Changes the size of the map when the widget is resized
◆ updateData
void Widgets::GPS::updateData |
( |
| ) |
|
|
privateslot |
Checks if the widget is enabled, if so, the widget shall be updated to display the latest data frame.
If the widget is disabled (e.g. the user hides it, or the external window is hidden), then the widget shall ignore the update request.
◆ m_index
int Widgets::GPS::m_index |
|
private |
◆ m_label
QLabel* Widgets::GPS::m_label |
|
private |
◆ m_layout
QVBoxLayout Widgets::GPS::m_layout |
|
private |
◆ m_mapControl
qmapcontrol::MapControl Widgets::GPS::m_mapControl |
|
private |
◆ m_titleLayout
QHBoxLayout Widgets::GPS::m_titleLayout |
|
private |
◆ m_titleWidget
QWidget Widgets::GPS::m_titleWidget |
|
private |
◆ m_zoomIn
QPushButton* Widgets::GPS::m_zoomIn |
|
private |
◆ m_zoomOut
QPushButton* Widgets::GPS::m_zoomOut |
|
private |
The documentation for this class was generated from the following files:
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/GPS.h
- /Users/alex/Documents/GitHub/Serial-Studio/src/UI/Widgets/GPS.cpp