ddt
0.1
|
#include <ddtCutValuesWidget.hpp>
Public Slots | |
void | CurrentCutValues (const double cutvalue_min, const double cutvalue_max) |
Signals | |
void | SetCutValues (double low, double high) |
void | SetAutoCuts () |
void | SetMinMaxCuts () |
Public Member Functions | |
DdtCutValuesWidget (QWidget *parent=nullptr) | |
virtual | ~DdtCutValuesWidget () |
void | set_default_low (const double low) |
double | get_default_low () const |
void | set_default_high (const double high) |
double | get_default_high () const |
![]() | |
DdtWidget (QWidget *parent=nullptr) | |
DdtWidget. More... | |
virtual | ~DdtWidget ()=default |
QLayout * | addParentLayout (QLayout *childLayout) |
addParentLayout This will add the given layout to the layout of the parent inside the group box. More... | |
Protected Slots | |
void | SwitchToAutoCut () |
void | SwitchToMinMaxCut () |
void | SwitchToUserCut () |
Properties | |
double | default_low |
double | default_high |
Class for the Cut Values Widget that can be used to defined cut values for the display of the image in an Image Widget
|
explicit |
Constructor
parent | Pointer to the parent widget |
|
virtualdefault |
Destructor
|
slot |
Slot which is called when the cut values have changed (externally)
double DdtCutValuesWidget::get_default_high | ( | ) | const |
Retrieve the default value for the high cut value
double DdtCutValuesWidget::get_default_low | ( | ) | const |
Retrieve the default value for the low cut value
void DdtCutValuesWidget::set_default_high | ( | const double | high | ) |
Set the default value for the high cut value
the | default maximum cut value that should be used |
void DdtCutValuesWidget::set_default_low | ( | const double | low | ) |
Set the default value for the low cut value
the | default minimum cut value that should be used |
|
signal |
Signal that is used to switch to auto cut levels
|
signal |
Signal that is used to set the specified cut values, implying that the user defined cut levels are applied
low | Lower cut value |
high | Upper cut value |
|
signal |
Signal that is used to switch to min max cut lavels
|
protectedslot |
Slot which is called when the auto cut radio button was selected
|
protectedslot |
Slot which is called when the min/max cut radio button was selected
|
protectedslot |
Slot which is called when the user values radio button was selected
|
readwrite |
Default for the maximum cut value
|
readwrite |
Default for the minimum cut value