#include <ddtPVCMDialog.hpp>
|
void | ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter) |
|
void | ParameterChanged (const QString dialog_id, const QString param_id, const QVariant parameter) |
|
|
virtual void | ConfirmPressed () |
|
virtual void | CancelPressed () |
|
virtual void | QuitPressed () |
|
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) |
|
QLayout * | main_layout |
|
Class for the PVCM dialog
◆ DdtPVCMDialog()
DdtPVCMDialog::DdtPVCMDialog |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Constructor
- Parameters
-
parent | Pointer to the parent widget |
◆ ~DdtPVCMDialog()
virtual DdtPVCMDialog::~DdtPVCMDialog |
( |
| ) |
|
|
virtualdefault |
◆ AutoSetPressed0
void DdtPVCMDialog::AutoSetPressed0 |
( |
| ) |
|
|
virtualslot |
Slot called when the auto set button 0 was pressed
◆ AutoSetPressed1
void DdtPVCMDialog::AutoSetPressed1 |
( |
| ) |
|
|
virtualslot |
Slot called when the auto set button 1 was pressed
◆ AutoSetPressed2
void DdtPVCMDialog::AutoSetPressed2 |
( |
| ) |
|
|
virtualslot |
Slot called when the auto set button 2 was pressed
◆ AutoSetPressed3
void DdtPVCMDialog::AutoSetPressed3 |
( |
| ) |
|
|
virtualslot |
Slot called when the auto set button 3 was pressed
◆ AutoSetPressed4
void DdtPVCMDialog::AutoSetPressed4 |
( |
| ) |
|
|
virtualslot |
Slot called when the auto set button 4 was pressed
◆ AutoSetPressed5
void DdtPVCMDialog::AutoSetPressed5 |
( |
| ) |
|
|
virtualslot |
Slot called when the auto set button 5 was pressed
◆ CreateDialog()
void DdtPVCMDialog::CreateDialog |
( |
| ) |
|
|
overrideprotectedvirtual |
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 | ) |
|
|
overrideprotectedvirtual |
◆ 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 |
( |
| ) |
|
|
overridevirtualslot |
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_id | ID of the parameter |
parameter | QVariant 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_id | ID of the parameter to set |
parameter | QVariant 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: