#include <ddtCutValuesWidget.hpp>
|
virtual | ~DdtWidget ()=default |
|
| DdtWidget (QWidget *parent=nullptr) |
| DdtWidget.
|
|
QWidget * | AddParentWidget (QLayout *child_layout) |
| AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout.
|
|
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) |
|
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.
|
|
Class for the Cut Values Widget that can be used to defined cut values for the display of the image in an Image Widget
◆ DdtCutValuesWidget()
DdtCutValuesWidget::DdtCutValuesWidget |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Constructor
- Parameters
-
parent | Pointer to the parent widget |
◆ ~DdtCutValuesWidget()
DdtCutValuesWidget::~DdtCutValuesWidget |
( |
| ) |
|
|
virtualdefault |
◆ CurrentCutValues
void DdtCutValuesWidget::CurrentCutValues |
( |
const double | cutvalue_min, |
|
|
const double | cutvalue_max ) |
|
slot |
Slot which is called when the cut values have changed (externally)
◆ get_default_high()
double DdtCutValuesWidget::get_default_high |
( |
| ) |
const |
Retrieve the default value for the high cut value
- Returns
- the default value for the high cut value
◆ get_default_low()
double DdtCutValuesWidget::get_default_low |
( |
| ) |
const |
Retrieve the default value for the low cut value
- Returns
- the default value for the low cut value
◆ set_default_high()
void DdtCutValuesWidget::set_default_high |
( |
const double | high | ) |
|
Set the default value for the high cut value
- Parameters
-
high | the default maximum cut value that should be used |
◆ set_default_low()
void DdtCutValuesWidget::set_default_low |
( |
const double | low | ) |
|
Set the default value for the low cut value
- Parameters
-
low | the default minimum cut value that should be used |
◆ SetAutoCuts
void DdtCutValuesWidget::SetAutoCuts |
( |
| ) |
|
|
signal |
Signal that is used to switch to auto cut levels
◆ SetCutValues
void DdtCutValuesWidget::SetCutValues |
( |
double | low, |
|
|
double | high ) |
|
signal |
Signal that is used to set the specified cut values, implying that the user defined cut levels are applied
- Parameters
-
low | Lower cut value |
high | Upper cut value |
◆ SetMinMaxCuts
void DdtCutValuesWidget::SetMinMaxCuts |
( |
| ) |
|
|
signal |
Signal that is used to switch to min max cut lavels
◆ SwitchToAutoCut
void DdtCutValuesWidget::SwitchToAutoCut |
( |
| ) |
|
|
protectedslot |
Slot which is called when the auto cut radio button was selected
◆ SwitchToMinMaxCut
void DdtCutValuesWidget::SwitchToMinMaxCut |
( |
| ) |
|
|
protectedslot |
Slot which is called when the min/max cut radio button was selected
◆ SwitchToUserCut
void DdtCutValuesWidget::SwitchToUserCut |
( |
| ) |
|
|
protectedslot |
Slot which is called when the user values radio button was selected
◆ default_high
double DdtCutValuesWidget::default_high |
|
readwrite |
Default for the maximum cut value
◆ default_low
double DdtCutValuesWidget::default_low |
|
readwrite |
Default for the minimum cut value
The documentation for this class was generated from the following files: