The MainWindow class.
More...
#include <mainwindow.hh>
|
void | closeEvent (QCloseEvent *event) override |
| Reimplemented to savely close reading thread. More...
|
|
Definition at line 38 of file mainwindow.hh.
◆ MainWindow()
MainWindow::MainWindow |
( |
QWidget * |
parent = nullptr | ) |
|
- Parameters
-
[in] | parent | Pointer to parent QWidget object |
Definition at line 27 of file mainwindow.cpp.
◆ ~MainWindow()
MainWindow::~MainWindow |
( |
| ) |
|
◆ addDropShadow()
void MainWindow::addDropShadow |
( |
QGroupBox * |
group, |
|
|
int |
xOffset, |
|
|
int |
yOffset, |
|
|
int |
radius |
|
) |
| |
|
private |
- Parameters
-
[in] | group | Group Box handle to which drop shaddow add |
[in] | xOffset | Shadow offset on x axis |
[in] | yOffset | Shadow offset on y axis |
[in] | radius | Shadow radius |
Definition at line 172 of file mainwindow.cpp.
◆ addMessageToLogs
void MainWindow::addMessageToLogs |
( |
const QString & |
message | ) |
|
|
privateslot |
- Parameters
-
[in] | message | Info message string |
Definition at line 165 of file mainwindow.cpp.
◆ addValueAccelerationL
void MainWindow::addValueAccelerationL |
( |
const QString & |
message | ) |
|
|
privateslot |
◆ addValueAccelerationR
void MainWindow::addValueAccelerationR |
( |
const QString & |
message | ) |
|
|
privateslot |
◆ addValueBaterry
void MainWindow::addValueBaterry |
( |
const int |
message | ) |
|
|
privateslot |
◆ addValueGSpeedL
void MainWindow::addValueGSpeedL |
( |
const QString & |
message | ) |
|
|
privateslot |
◆ addValueGSpeedR
void MainWindow::addValueGSpeedR |
( |
const QString & |
message | ) |
|
|
privateslot |
◆ addValueSpeedL
void MainWindow::addValueSpeedL |
( |
const QString & |
message | ) |
|
|
privateslot |
◆ addValueSpeedR
void MainWindow::addValueSpeedR |
( |
const QString & |
message | ) |
|
|
privateslot |
◆ closeEvent()
void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
overrideprotected |
◆ connectSerialDevice
void MainWindow::connectSerialDevice |
( |
const QString & |
actionName | ) |
|
|
privateslot |
- Parameters
-
[in] | actionName | Name of the action that have been clicked [Action name represents device name] |
Definition at line 123 of file mainwindow.cpp.
◆ on_actionClose_triggered
void MainWindow::on_actionClose_triggered |
( |
| ) |
|
|
privateslot |
Slot connected to actionClose which triger closing application
Definition at line 79 of file mainwindow.cpp.
◆ on_actionDisconnect_triggered
void MainWindow::on_actionDisconnect_triggered |
( |
| ) |
|
|
privateslot |
Slot connected to actionDesconnect which triger disconnection from serial device
Definition at line 86 of file mainwindow.cpp.
◆ on_actionSearch_triggered
void MainWindow::on_actionSearch_triggered |
( |
| ) |
|
|
privateslot |
Slot connected to actionSearch which trigger search of serial devices
Definition at line 101 of file mainwindow.cpp.
◆ serialTimeout
void MainWindow::serialTimeout |
( |
| ) |
|
|
privateslot |
◆ showErrorMessage
void MainWindow::showErrorMessage |
( |
const QString & |
message | ) |
|
|
privateslot |
- Parameters
-
[in] | message | Error message string |
Definition at line 160 of file mainwindow.cpp.
◆ _communication
◆ _frameThread
◆ _parser
◆ _serialTimer
QTimer MainWindow::_serialTimer |
|
private |
◆ ui
Ui::MainWindow* MainWindow::ui |
|
private |
The documentation for this class was generated from the following files: