Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
options::PageEnvironmentGeneral Class Reference

Class for general system settings. More...

#include <optionspageenvironmentgeneralpage.h>

+ Inheritance diagram for options::PageEnvironmentGeneral:
+ Collaboration diagram for options::PageEnvironmentGeneral:

Public Member Functions

 PageEnvironmentGeneral (OptionsDialog *optionsDialog)
 Constructor for the Environment-General registration card. More...
 
void apply () overridefinal
 Function called when the changes are applied. More...
 
- Public Member Functions inherited from OptionsTabContentsVScrollArea
 OptionsTabContentsVScrollArea ()
 
- Public Member Functions inherited from VerticalScrollArea
 VerticalScrollArea (QWidget *parent=nullptr)
 

Private Slots

void onReactivateWarnings ()
 Reactivate warnings. More...
 

Private Attributes

QComboBox * mLanguageSelection
 
QPushButton * mResetWarningsButton
 

Additional Inherited Members

- Protected Member Functions inherited from VerticalScrollArea
void resizeEvent (QResizeEvent *e) overridefinal
 
- Protected Attributes inherited from OptionsTabContentsVScrollArea
QWidget * mCentralWidget = nullptr
 

Detailed Description

Class for general system settings.

This is the class that manages the system setiings in the options dialog. Options -> Environment -> General Here you can choose the language and you can reactivate all warnings.

Definition at line 40 of file optionspageenvironmentgeneralpage.h.

Constructor & Destructor Documentation

options::PageEnvironmentGeneral::PageEnvironmentGeneral ( OptionsDialog optionsDialog)

Constructor for the Environment-General registration card.

Parameters
optionsDialog: Pointer to the parent options dialog

Definition at line 40 of file optionspageenvironmentgeneralpage.cpp.

+ Here is the call graph for this function:

Member Function Documentation

void options::PageEnvironmentGeneral::apply ( )
finaloverridevirtual

Function called when the changes are applied.

This function checks whether the language has been changed. If this was the case, a warning is shown that the new language will be visible only after restarting the application

Implements options::ContentsWidgetInterface.

Definition at line 102 of file optionspageenvironmentgeneralpage.cpp.

+ Here is the call graph for this function:

void options::PageEnvironmentGeneral::onReactivateWarnings ( )
privateslot

Reactivate warnings.

This function reactivates all warnings that have been previously diabled by checking the box "Do not show this again".

Definition at line 121 of file optionspageenvironmentgeneralpage.cpp.

+ Here is the call graph for this function:

Member Data Documentation

QComboBox* options::PageEnvironmentGeneral::mLanguageSelection
private

Definition at line 52 of file optionspageenvironmentgeneralpage.h.

QPushButton* options::PageEnvironmentGeneral::mResetWarningsButton
private

Definition at line 53 of file optionspageenvironmentgeneralpage.h.


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