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

#include <ddtTabularRegionDialog.hpp>

Inheritance diagram for DdtTabularRegionDialog:
DdtDialog

Public Slots

virtual void ConfirmPressed ()
 
virtual void QuitPressed ()
 
virtual void CancelPressed ()
 
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

 DdtTabularRegionDialog (QWidget *parent=nullptr)
 
virtual ~DdtTabularRegionDialog ()=default
 
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 ()
 
virtual void RetranslateUi ()
 
void UpdateTableData (const QList< QVariant > table_data)
 
void UpdateRowColData (const QList< QVariant > table_rowcol_data)
 
void UpdateStatisticData (const QList< QVariant > table_statistic_data)
 
- 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 tabular region dialog

Constructor & Destructor Documentation

◆ DdtTabularRegionDialog()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtTabularRegionDialog()

virtual DdtTabularRegionDialog::~DdtTabularRegionDialog ( )
virtualdefault

Destructor

Member Function Documentation

◆ CancelPressed

void DdtTabularRegionDialog::CancelPressed ( )
virtualslot

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

◆ ConfirmPressed

void DdtTabularRegionDialog::ConfirmPressed ( )
virtualslot

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

◆ CreateDialog()

void DdtTabularRegionDialog::CreateDialog ( )
protectedvirtual

Creates the dialog elements

Implements DdtDialog.

◆ GetDialogName()

QString DdtTabularRegionDialog::GetDialogName ( )
overridevirtual

Method that return the dialogs name in human readable form

Returns
Name of the dialog

Implements DdtDialog.

◆ ParameterChanged

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

Parameter of dialog has changed

◆ QuitPressed

void DdtTabularRegionDialog::QuitPressed ( )
virtualslot

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

◆ RetranslateUi()

void DdtTabularRegionDialog::RetranslateUi ( )
protectedvirtual

◆ SetChangedParameter

void DdtTabularRegionDialog::SetChangedParameter ( const QString  param_id,
const QVariant  parameter 
)
overrideslot

Called when an elemet of the dialog was changed

Parameters
param_idID of the paramter
parameterQVariant of the parameter

◆ SetInitialParameter()

void DdtTabularRegionDialog::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.

◆ UpdateRowColData()

void DdtTabularRegionDialog::UpdateRowColData ( const QList< QVariant >  table_rowcol_data)
protected

Update the row / column elements in the dialog

◆ UpdateStatisticData()

void DdtTabularRegionDialog::UpdateStatisticData ( const QList< QVariant >  table_statistic_data)
protected

Update the statistic data elements in the dialog

◆ UpdateTableData()

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

Update the table data elements in the dialog


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