SGSolve
SGSettingsHandler Class Reference

A widget for setting parameters of the algorithm. More...

#include <sgsettingshandler.hpp>

Inheritance diagram for SGSettingsHandler:
Collaboration diagram for SGSettingsHandler:

Signals

void closeSettingsHandler ()
 Signals to SGSolutionHandler to delete this widget.
 
void restoreDefaultSignal ()
 Signals all of the edits and check boxes to reset to default values.
 

Public Member Functions

 SGSettingsHandler (QWidget *parent, SGEnv *_env)
 Constructor.
 
virtual ~SGSettingsHandler ()
 Destructor.
 

Private Slots

void closeWindow ()
 Closes the window by sending signal to SGSolutionHandler.
 
void restoreDefaults ()
 

Private Attributes

SGEnvenv
 Pointer to the associated SGEnv object.
 

Detailed Description

A widget for setting parameters of the algorithm.

This widget is created from the Tools->Settings menu in the main SGViewer window, and it allows for the editing of algorithm parameters in the SGEnv object that is used for the computation. It uses edits that are derived from the QLineEdit and QCheckBox, one for each parameter, that directly synchronize the entered values with those in the associated SGEnv.

Member Function Documentation

◆ restoreDefaults

void SGSettingsHandler::restoreDefaults ( )
inlineprivateslot

Restores default parameter values in the SGEnv object and signals edits/boxes to reset.


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