|
ddt
0.1
|
#include <ddtDialog.hpp>
Public Slots | |
| 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) |
Public Member Functions | |
| DdtDialog (QWidget *parent=nullptr) | |
| virtual | ~DdtDialog () |
| virtual void | SetInitialParameter (const QString parameter_id, const QVariant parameter)=0 |
Protected Member Functions | |
| virtual void | CreateDialog ()=0 |
| virtual void | AddDefaultButtonsToLayout (QBoxLayout *layout, bool show_confirm_button, bool show_quit_button, bool show_cancel_button) |
Base class for the DDT Dialogs
|
explicit |
Constructor
| parent | Pointer to the parent widget |
|
virtualdefault |
Destructor
|
protectedvirtual |
Add the default buttons to the dialog layout
|
virtualslot |
Slot called when the cancel button was pressed. Default behavior is to close the dialog.
|
virtualslot |
Slot called when the confirm button was pressed. Default behavior is to close the dialog.
|
protectedpure virtual |
Method to setup the dialog elements
Implemented in DdtScaleRotateCutDialog, DdtFITSTableDialog, DdtDataStreamDialog, DdtTabularRegionDialog, DdtStatisticDialog, DdtSlitDialog, DdtReferenceLineDialog, DdtPVCMDialog, DdtPickObjectDialog, DdtOffsetDialog, DdtHDUDialog, DdtGraphicalElementsDialog, DdtFITSHeaderDialog, DdtCutValuesDialog, DdtColourmapDialog, and DdtBiasDialog.
|
signal |
Paramter of dialog has changed
|
virtualslot |
Slot called when the quit button was pressed. Default behavior is to close the dialog.
|
virtualslot |
Slot called when a value of the dialog needs to be updated
Reimplemented in DdtStatisticDialog, DdtSlitDialog, DdtReferenceLineDialog, DdtPVCMDialog, and DdtHDUDialog.
|
pure virtual |
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 |
Implemented in DdtFITSHeaderDialog, DdtTabularRegionDialog, DdtStatisticDialog, DdtSlitDialog, DdtScaleRotateCutDialog, DdtReferenceLineDialog, DdtPVCMDialog, DdtPickObjectDialog, DdtOffsetDialog, DdtHDUDialog, DdtGraphicalElementsDialog, DdtFITSTableDialog, DdtDataStreamDialog, DdtCutValuesDialog, DdtColourmapDialog, and DdtBiasDialog.