ddt 1.2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
DdtHDUDialog Class Reference

#include <ddtHDUDialog.hpp>

Inheritance diagram for DdtHDUDialog:
DdtDialog

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

virtual ~DdtHDUDialog ()=default
 
- Public Member Functions inherited from DdtDialog
 DdtDialog (QWidget *parent=nullptr)
 
virtual ~DdtDialog ()
 
 DdtHDUDialog (QWidget *parent=nullptr)
 
void SetInitialParameter (const QString parameter_id, const QVariant parameter) override
 
void SetChangedParameter (const QString param_id, const QVariant parameter) override
 
QString GetDialogName () override
 
virtual void CreateDialog () override
 
virtual void RetranslateUi ()
 
void UpdateTableData (const QList< QVariant > table_data)
 
virtual void ConfirmPressed () override
 
virtual void QuitPressed () override
 
virtual void CancelPressed () override
 
virtual void OpenSingle ()
 
virtual void AllAsOne ()
 
virtual void TableItemClicked (int selected_row, int selected_column)
 

Additional Inherited Members

- Public Slots inherited from DdtDialog
virtual void ConfirmPressed ()
 
virtual void CancelPressed ()
 
virtual void QuitPressed ()
 
- Protected Member Functions inherited from DdtDialog
template<typename Func1 , typename Func2 >
void connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot)
 connect Template version of QObject::connection with fixed Qt::QueuedConnection flag. Normally used to connect a signal with a lambda function.
 
virtual void AddDefaultButtonsToLayout (QBoxLayout *layout, bool show_confirm_button, bool show_quit_button, bool show_cancel_button)
 
virtual QLayout * GetMainLayout ()
 
void connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 connect Group of overloaded functions that use the QObject::connect method with the Qt::QueuedConnection flag. This defines Qt Signal and Slots connection the same way thought out the QApplication.
 
void connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
void connect (const QObject *sender, const char *signal, const char *member)
 
- Protected Attributes inherited from DdtDialog
QLayout * main_layout
 

Detailed Description

Class for the HDU dialog

Constructor & Destructor Documentation

◆ DdtHDUDialog()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtHDUDialog()

virtual DdtHDUDialog::~DdtHDUDialog ( )
virtualdefault

Destructor

Member Function Documentation

◆ AllAsOne

void DdtHDUDialog::AllAsOne ( )
virtualslot

Slot called when the Display as one Image button was pressed.

◆ CancelPressed

void DdtHDUDialog::CancelPressed ( )
overridevirtualslot

Slot called when the cancel button was pressed. Stops the pick operation.

◆ ConfirmPressed

void DdtHDUDialog::ConfirmPressed ( )
overridevirtualslot

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

◆ CreateDialog()

void DdtHDUDialog::CreateDialog ( )
overrideprotectedvirtual

Creates the dialog elements

Implements DdtDialog.

◆ GetDialogName()

QString DdtHDUDialog::GetDialogName ( )
overridevirtual

Method that return the dialogs name in human readable form

Returns
Name of the dialog

Implements DdtDialog.

◆ OpenSingle

void DdtHDUDialog::OpenSingle ( )
virtualslot

Slot called when the Open button was pressed.

◆ ParameterChanged

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

Parameter of dialog has changed

◆ QuitPressed

void DdtHDUDialog::QuitPressed ( )
overridevirtualslot

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

◆ RetranslateUi()

void DdtHDUDialog::RetranslateUi ( )
protectedvirtual

◆ SetChangedParameter()

void DdtHDUDialog::SetChangedParameter ( const QString param_id,
const QVariant parameter )
overridevirtual

Called when an element of the dialog was changed

Parameters
param_idID of the parameter
parameterQVariant of the parameter

Reimplemented from DdtDialog.

◆ SetInitialParameter()

void DdtHDUDialog::SetInitialParameter ( const QString parameter_id,
const 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.

◆ TableItemClicked

void DdtHDUDialog::TableItemClicked ( int selected_row,
int selected_column )
virtualslot

Slot called when a table item is double clicked.

◆ UpdateTableData()

void DdtHDUDialog::UpdateTableData ( const QList< QVariant > table_data)
protected

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