ddt  1.0.0
Signals | Public Member Functions | List of all members
DdtBinaryTableDialog Class Reference

#include <ddtBinaryTableDialog.hpp>

Inheritance diagram for DdtBinaryTableDialog:
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

 ~DdtBinaryTableDialog () override=default
 
- Public Member Functions inherited from DdtDialog
 DdtDialog (QWidget *parent=nullptr)
 
virtual ~DdtDialog ()
 
 DdtBinaryTableDialog (QWidget *parent=nullptr)
 
void SetInitialParameter (const QString parameter_id, const QVariant parameter) override
 
QString GetDialogName () override
 
void ConfirmPressed () override
 
void QuitPressed () override
 
void CancelPressed () override
 
void SetChangedParameter (const QString param_id, const QVariant parameter) override
 
void CreateDialog () override
 
virtual void RetranslateUi ()
 
void UpdateTableData (const int table_number, const QList< QVariant > table_data) const
 
void UpdateRowColData (const int table_number, const QList< QVariant > col_names) const
 
void ClearAndPrepare (const QVariant parameter)
 
void Clear ()
 

Additional Inherited Members

- Public Slots inherited from DdtDialog
virtual void ConfirmPressed ()
 
virtual void CancelPressed ()
 
virtual void QuitPressed ()
 
virtual void SetChangedParameter (const QString param_id, const QVariant parameter)
 
- 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 ()
 
- Protected Attributes inherited from DdtDialog
QLayout * main_layout
 

Detailed Description

Class for the Binary table dialog

Constructor & Destructor Documentation

◆ DdtBinaryTableDialog()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtBinaryTableDialog()

DdtBinaryTableDialog::~DdtBinaryTableDialog ( )
overridedefault

Destructor

Member Function Documentation

◆ CancelPressed

void DdtBinaryTableDialog::CancelPressed ( )
overrideslot

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

◆ Clear()

void DdtBinaryTableDialog::Clear ( )
protected

Clear the current table widget

◆ ClearAndPrepare()

void DdtBinaryTableDialog::ClearAndPrepare ( const QVariant  parameter)
protected

Clear the current table widget and prepare for the next data to show

◆ ConfirmPressed

void DdtBinaryTableDialog::ConfirmPressed ( )
overrideslot

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

◆ CreateDialog()

void DdtBinaryTableDialog::CreateDialog ( )
overrideprotectedvirtual

Creates the dialog elements

Implements DdtDialog.

◆ GetDialogName()

QString DdtBinaryTableDialog::GetDialogName ( )
overridevirtual

Method that return the dialogs name in human readable form

Returns
Name of the dialog

Implements DdtDialog.

◆ ParameterChanged

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

Parameter of dialog has changed

◆ QuitPressed

void DdtBinaryTableDialog::QuitPressed ( )
overrideslot

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

◆ RetranslateUi()

void DdtBinaryTableDialog::RetranslateUi ( )
protectedvirtual

◆ SetChangedParameter

void DdtBinaryTableDialog::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 DdtBinaryTableDialog::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 DdtBinaryTableDialog::UpdateRowColData ( const int  table_number,
const QList< QVariant >  col_names 
) const
protected

Update the row / column elements in the dialog

◆ UpdateTableData()

void DdtBinaryTableDialog::UpdateTableData ( const int  table_number,
const QList< QVariant >  table_data 
) const
protected

Update the table data elements in the dialog


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