|
OpenHantek
|
Holds the settings of the program. More...
#include <dsosettings.h>
Public Member Functions | |
| DsoSettings (const Dso::ControlSpecification *deviceSpecification) | |
| Set the number of channels. More... | |
| bool | setFilename (const QString &filename) |
| void | load () |
| Read the settings from the last session or another file. More... | |
| void | save () |
| Save the settings to the harddisk. More... | |
Data Fields | |
| DsoSettingsExport | exporting |
| General options of the program. More... | |
| DsoSettingsScope | scope |
| All oscilloscope related settings. More... | |
| DsoSettingsView | view |
| All view related settings. More... | |
| DsoSettingsPostProcessing | post |
| All post processing related settings. More... | |
| bool | alwaysSave = true |
| Always save the settings on exit. More... | |
| QByteArray | mainWindowGeometry |
| Geometry of the main window. More... | |
| QByteArray | mainWindowState |
| State of docking windows and toolbars. More... | |
Private Attributes | |
| std::unique_ptr< QSettings > | store = std::unique_ptr<QSettings>(new QSettings) |
| const Dso::ControlSpecification * | deviceSpecification |
Holds the settings of the program.
|
explicit |
Set the number of channels.
| channels | The new channel count, that will be applied to lists. |
| void DsoSettings::load | ( | ) |
Read the settings from the last session or another file.
| void DsoSettings::save | ( | ) |
Save the settings to the harddisk.
| bool DsoSettings::setFilename | ( | const QString & | filename | ) |
| bool DsoSettings::alwaysSave = true |
Always save the settings on exit.
|
private |
| DsoSettingsExport DsoSettings::exporting |
General options of the program.
| QByteArray DsoSettings::mainWindowGeometry |
Geometry of the main window.
| QByteArray DsoSettings::mainWindowState |
State of docking windows and toolbars.
| DsoSettingsPostProcessing DsoSettings::post |
All post processing related settings.
| DsoSettingsScope DsoSettings::scope |
All oscilloscope related settings.
|
private |
| DsoSettingsView DsoSettings::view |
All view related settings.