OpenHantek
Loading...
Searching...
No Matches
DsoConfigDialog Class Reference

The dialog for the configuration options. More...

#include <configdialog.h>

Inheritance diagram for DsoConfigDialog:

Public Slots

void accept () override
 Saves the settings and closes the dialog.
void apply ()
 Saves the settings.
void changePage (QListWidgetItem *current, QListWidgetItem *previous)
 Change the config page.

Public Member Functions

 DsoConfigDialog (DsoSettings *settings, QWidget *parent=nullptr)
 Creates the configuration dialog and sets initial values.
 ~DsoConfigDialog () override
 Cleans up the dialog.

Private Member Functions

void createIcons ()
 Create the icons for the pages.

Private Attributes

DsoSettingssettings
QVBoxLayout * mainLayout
QHBoxLayout * sectionsLayout
QHBoxLayout * buttonsLayout
QListWidget * contentsWidget
QStackedWidget * pagesWidget
DsoConfigScopePagescopePage
DsoConfigAnalysisPageanalysisPage
DsoConfigColorsPagecolorsPage
QPushButton * acceptButton
QPushButton * applyButton
QPushButton * rejectButton
QShortcut * rejectShortcut

Detailed Description

The dialog for the configuration options.

Constructor & Destructor Documentation

◆ DsoConfigDialog()

DsoConfigDialog::DsoConfigDialog ( DsoSettings * settings,
QWidget * parent = nullptr )

Creates the configuration dialog and sets initial values.

Parameters
settingsThe target settings object.
parentThe parent widget.
flagsFlags for the window manager.

◆ ~DsoConfigDialog()

DsoConfigDialog::~DsoConfigDialog ( )
override

Cleans up the dialog.

Member Function Documentation

◆ accept

void DsoConfigDialog::accept ( )
overrideslot

Saves the settings and closes the dialog.

◆ apply

void DsoConfigDialog::apply ( )
slot

Saves the settings.

◆ changePage

void DsoConfigDialog::changePage ( QListWidgetItem * current,
QListWidgetItem * previous )
slot

Change the config page.

Parameters
currentThe page that has been selected.
previousThe page that was selected before.

◆ createIcons()

void DsoConfigDialog::createIcons ( )
private

Create the icons for the pages.

Field Documentation

◆ acceptButton

QPushButton* DsoConfigDialog::acceptButton
private

◆ analysisPage

DsoConfigAnalysisPage* DsoConfigDialog::analysisPage
private

◆ applyButton

QPushButton * DsoConfigDialog::applyButton
private

◆ buttonsLayout

QHBoxLayout* DsoConfigDialog::buttonsLayout
private

◆ colorsPage

DsoConfigColorsPage* DsoConfigDialog::colorsPage
private

◆ contentsWidget

QListWidget* DsoConfigDialog::contentsWidget
private

◆ mainLayout

QVBoxLayout* DsoConfigDialog::mainLayout
private

◆ pagesWidget

QStackedWidget* DsoConfigDialog::pagesWidget
private

◆ rejectButton

QPushButton * DsoConfigDialog::rejectButton
private

◆ rejectShortcut

QShortcut* DsoConfigDialog::rejectShortcut
private

◆ scopePage

DsoConfigScopePage* DsoConfigDialog::scopePage
private

◆ sectionsLayout

QHBoxLayout* DsoConfigDialog::sectionsLayout
private

◆ settings

DsoSettings* DsoConfigDialog::settings
private

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