|
OpenHantek
|
The main window of the application. The main window contains the classic oszilloscope-screen and the gui elements used to control the oszilloscope. More...
#include <mainwindow.h>
Public Slots | |
| void | showNewData (std::shared_ptr< PPresult > newData) |
| void | exporterStatusChanged (const QString &exporterName, const QString &status) |
| void | exporterProgressChanged () |
Signals | |
| void | settingsLoaded (DsoSettingsScope *scope, const Dso::ControlSpecification *spec) |
Public Member Functions | |
| MainWindow (HantekDsoControl *dsoControl, DsoSettings *dsoSettings, ExporterRegistry *exporterRegistry, QWidget *parent=nullptr) | |
| ~MainWindow () override | |
Data Fields | |
| QElapsedTimer | elapsedTime |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) override |
| Save the settings before exiting. | |
Private Types | |
| enum | screenshotType_t { SCREENSHOT , HARDCOPY , PRINTER } |
Private Member Functions | |
| void | screenShot (screenshotType_t screenshotType=SCREENSHOT, bool autoSave=false) |
| bool | openDocument (QString docName) |
Private Attributes | |
| Ui::MainWindow * | ui |
| QIcon | iconPause |
| QIcon | iconPlay |
| QLineEdit * | commandEdit |
| QString | lastSaveAsDir = "" |
| DsoWidget * | dsoWidget |
| DsoSettings * | dsoSettings |
| ExporterRegistry * | exporterRegistry |
| screenshotType_t | screenshotType |
The main window of the application. The main window contains the classic oszilloscope-screen and the gui elements used to control the oszilloscope.
|
private |
|
explicit |
|
override |
|
overrideprotected |
Save the settings before exiting.
| event | The close event that should be handled. |
|
slot |
|
slot |
|
private |
|
private |
|
signal |
|
slot |
|
private |
|
private |
|
private |
| QElapsedTimer MainWindow::elapsedTime |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |