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

#include <ddtCutValuesWidget.hpp>

Inheritance diagram for DdtCutValuesWidget:
DdtWidget

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
 
- Public Member Functions inherited from DdtWidget
 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
 

Detailed Description

Class for the Cut Values Widget that can be used to defined cut values for the display of the image in an Image Widget

Constructor & Destructor Documentation

◆ DdtCutValuesWidget()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtCutValuesWidget()

DdtCutValuesWidget::~DdtCutValuesWidget ( )
virtualdefault

Destructor

Member Function Documentation

◆ 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
thedefault 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
thedefault 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
lowLower cut value
highUpper 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

Property Documentation

◆ 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: