ddt 1.2.1
Loading...
Searching...
No Matches
Signals | Properties | List of all members
DdtCutValuesWidget Class Reference

#include <ddtCutValuesWidget.hpp>

Inheritance diagram for DdtCutValuesWidget:
DdtWidget

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.
 
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.
 

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
highthe 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
lowthe 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
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: