|
ddt
0.1
|
#include <ddtPickObjectDialog.hpp>
Public Slots | |
| void | SetChangedParameter (const QString param_id, const QVariant parameter) override |
Public Slots inherited from DdtDialog | |
| virtual void | ConfirmPressed () |
| virtual void | CancelPressed () |
| virtual void | QuitPressed () |
| virtual void | SetChangedParameter (const QString param_id, const QVariant parameter) |
Signals | |
| void | ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter) |
Signals inherited from DdtDialog | |
| void | ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter) |
Public Member Functions | |
| DdtPickObjectDialog (QWidget *parent=nullptr) | |
| virtual | ~DdtPickObjectDialog ()=default |
| void | Initialize () |
| void | SetInitialParameter (const QString parameter_id, const QVariant parameter) override |
| QString | GetDialogName () override |
Public Member Functions inherited from DdtDialog | |
| DdtDialog (QWidget *parent=nullptr) | |
| virtual | ~DdtDialog () |
Protected Member Functions | |
| virtual void | CreateDialog () |
| void | UpdateStatisticsValues (const QString all_values_string) |
| void | UpdatePixelWindowSizeMax (const QString magnification_factor) |
| void | closeEvent (QCloseEvent *event) override |
Protected Member Functions inherited from DdtDialog | |
| virtual void | AddDefaultButtonsToLayout (QBoxLayout *layout, bool show_confirm_button, bool show_quit_button, bool show_cancel_button) |
| virtual QLayout * | GetMainLayout () |
Additional Inherited Members | |
Protected Attributes inherited from DdtDialog | |
| QLayout * | main_layout |
Class for the pick object dialog
|
explicit |
Constructor
| parent | Pointer to the parent widget |
|
virtualdefault |
Destructor
|
overrideprotected |
|
protectedvirtual |
Creates the dialog elements
Implements DdtDialog.
|
overridevirtual |
Method that return the dialogs name in human readable form
Implements DdtDialog.
| void DdtPickObjectDialog::Initialize | ( | ) |
Initialize members
|
signal |
Parameter of dialog has changed
|
overrideslot |
Called when an element of the dialog was changed
| param_id | ID of the parameter |
| parameter | QVariant of the parameter |
|
overridevirtual |
Method to set initial parameters that should be selected in a dialog at startup
| parameter_id | ID of the parameter to set |
| parameter | QVariant of the value to set |
Implements DdtDialog.
|
protected |
Set the maximum size of the pixel window for the slider
| magnification_factor | Current maginifcation factor |
|
protected |
Update the elements in the dialog with the values from the calculation
| all_values_string | String containing all the statistics values |