ddt  0.1
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
DdtFITSHeaderDialog Class Reference

#include <ddtFITSHeaderDialog.hpp>

Inheritance diagram for DdtFITSHeaderDialog:
DdtDialog

Public Slots

virtual void QuitPressed ()
 
- 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 (QString dialog_id, QString param_id, QVariant parameter)
 
- Signals inherited from DdtDialog
void ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter)
 

Public Member Functions

 DdtFITSHeaderDialog (QWidget *parent=nullptr)
 
virtual ~DdtFITSHeaderDialog ()=default
 
void SetInitialParameter (QString parameter_id, QVariant parameter) override
 
QString GetDialogName () override
 
- Public Member Functions inherited from DdtDialog
 DdtDialog (QWidget *parent=nullptr)
 
virtual ~DdtDialog ()
 

Protected Member Functions

virtual void CreateDialog ()
 
- 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
 

Detailed Description

Class for the fits header dialog

Constructor & Destructor Documentation

◆ DdtFITSHeaderDialog()

DdtFITSHeaderDialog::DdtFITSHeaderDialog ( QWidget *  parent = nullptr)
explicit

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtFITSHeaderDialog()

virtual DdtFITSHeaderDialog::~DdtFITSHeaderDialog ( )
virtualdefault

Destructor

Member Function Documentation

◆ CreateDialog()

void DdtFITSHeaderDialog::CreateDialog ( )
protectedvirtual

Creates the dialog elements

Implements DdtDialog.

◆ GetDialogName()

QString DdtFITSHeaderDialog::GetDialogName ( )
overridevirtual

Method that return the dialogs name in human readable form

Returns
Name of the dialog

Implements DdtDialog.

◆ ParameterChanged

void DdtFITSHeaderDialog::ParameterChanged ( QString  dialog_id,
QString  param_id,
QVariant  parameter 
)
signal

Parameter of dialog has changed

◆ QuitPressed

void DdtFITSHeaderDialog::QuitPressed ( )
virtualslot

Slot called when the quit button was pressed. Default behavior is to close the dialog.

◆ SetInitialParameter()

void DdtFITSHeaderDialog::SetInitialParameter ( QString  parameter_id,
QVariant  parameter 
)
overridevirtual

Method to set initial parameters that should be selected in a dialog at startup

Parameters
parameter_idID of the parameter to set
parameterQVariant of the value to set

Implements DdtDialog.


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