|
ddt
1.0.0
|
#include <ddtCutValuesWidget.hpp>
Signals | |
| void | SetCutValues (double low, double high) |
| void | SetAutoCuts () |
| void | SetMinMaxCuts () |
Properties | |
| double | default_low |
| double | default_high |
| 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 |
| void | SwitchToAutoCut () |
| void | SwitchToMinMaxCut () |
| void | SwitchToUserCut () |
| void | CurrentCutValues (const double cutvalue_min, const double cutvalue_max) |
Additional Inherited Members | |
Public Member Functions inherited from DdtWidget | |
| virtual | ~DdtWidget ()=default |
| DdtWidget (QWidget *parent=nullptr) | |
| DdtWidget. More... | |
| QWidget * | AddParentWidget (QLayout *child_layout) |
| AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout. More... | |
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
| high | 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
| low | 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