OpenHantek
Public Member Functions | Data Fields
DsoSettings Class Reference

Holds the settings of the program. More...

#include <settings.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.
 
void save ()
 Save the settings to the harddisk.
 

Data Fields

DsoSettingsExport exporting
 General options of the program.
 
DsoSettingsScope scope
 All oscilloscope related settings.
 
DsoSettingsView view
 All view related settings.
 
DsoSettingsPostProcessing post
 All post processing related settings.
 
bool alwaysSave = true
 Always save the settings on exit.
 
QByteArray mainWindowGeometry
 Geometry of the main window.
 
QByteArray mainWindowState
 State of docking windows and toolbars.
 

Detailed Description

Holds the settings of the program.

Constructor & Destructor Documentation

◆ DsoSettings()

DsoSettings::DsoSettings ( const Dso::ControlSpecification deviceSpecification)
explicit

Set the number of channels.

Parameters
channelsThe new channel count, that will be applied to lists.

The documentation for this class was generated from the following files: