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

#include <ddtPVCMDialog.hpp>

Inheritance diagram for DdtPVCMDialog:
DdtDialog

Public Slots

virtual void ResetPressed ()
 
virtual void MedianFilterPressed ()
 
virtual void QuitPressed ()
 
virtual void UpdateCutValues ()
 
virtual void AutoSetPressed_0 ()
 
virtual void AutoSetPressed_1 ()
 
virtual void AutoSetPressed_2 ()
 
virtual void AutoSetPressed_3 ()
 
virtual void AutoSetPressed_4 ()
 
virtual void AutoSetPressed_5 ()
 
- Public Slots inherited from DdtDialog
virtual void ConfirmPressed ()
 
virtual void CancelPressed ()
 
virtual void QuitPressed ()
 

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

 DdtPVCMDialog (QWidget *parent=nullptr)
 
virtual ~DdtPVCMDialog ()=default
 
void SetInitialParameter (const QString parameter_id, const QVariant parameter) override
 
void SetChangedParameter (const QString param_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 ()
 
virtual void paintEvent (QPaintEvent *event)
 
- 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 PVCM dialog

Constructor & Destructor Documentation

◆ DdtPVCMDialog()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtPVCMDialog()

virtual DdtPVCMDialog::~DdtPVCMDialog ( )
virtualdefault

Destructor

Member Function Documentation

◆ AutoSetPressed_0

void DdtPVCMDialog::AutoSetPressed_0 ( )
virtualslot

Slot called when the auto set button 0 was pressed

◆ AutoSetPressed_1

void DdtPVCMDialog::AutoSetPressed_1 ( )
virtualslot

Slot called when the auto set button 1 was pressed

◆ AutoSetPressed_2

void DdtPVCMDialog::AutoSetPressed_2 ( )
virtualslot

Slot called when the auto set button 2 was pressed

◆ AutoSetPressed_3

void DdtPVCMDialog::AutoSetPressed_3 ( )
virtualslot

Slot called when the auto set button 3 was pressed

◆ AutoSetPressed_4

void DdtPVCMDialog::AutoSetPressed_4 ( )
virtualslot

Slot called when the auto set button 4 was pressed

◆ AutoSetPressed_5

void DdtPVCMDialog::AutoSetPressed_5 ( )
virtualslot

Slot called when the auto set button 5 was pressed

◆ CreateDialog()

void DdtPVCMDialog::CreateDialog ( )
protectedvirtual

Creates the dialog elements

Implements DdtDialog.

◆ GetDialogName()

QString DdtPVCMDialog::GetDialogName ( )
overridevirtual

Method that return the dialogs name in human readable form

Returns
Name of the dialog

Implements DdtDialog.

◆ MedianFilterPressed

void DdtPVCMDialog::MedianFilterPressed ( )
virtualslot

Slot called when the median filter button was pressed. This applies a median filter algorithm to define the cut values.

◆ paintEvent()

void DdtPVCMDialog::paintEvent ( QPaintEvent *  event)
protectedvirtual

◆ ParameterChanged

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

Parameter of dialog has changed

◆ QuitPressed

void DdtPVCMDialog::QuitPressed ( )
virtualslot

Slot called when the quit button was pressed. Stops the PVCM operation.

◆ ResetPressed

void DdtPVCMDialog::ResetPressed ( )
virtualslot

Slot called when the reset button was pressed. This resets the cut levels to the min/max pixel values.

◆ RetranslateUi()

void DdtPVCMDialog::RetranslateUi ( )
protectedvirtual

◆ SetChangedParameter()

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

◆ UpdateCutValues

void DdtPVCMDialog::UpdateCutValues ( )
virtualslot

Slot called when editing in one of the edit fields finished.


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