ddt 1.2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
DdtImageScaleWidget Class Reference

#include <ddtImageScaleWidget.hpp>

Inheritance diagram for DdtImageScaleWidget:
DdtWidget

Signals

void IncrementScale ()
 IncrementScale Signal which is sent when the scale is increased.
 
void DecrementScale ()
 DecrementScale Signal which is sent when the scale is decreased.
 
void SetToDefaultScale ()
 SetToDefaultScale Signal which is sent when the default scale is selected.
 
void SelectScale (QString next_scale)
 SelectScale this will be sent after the user choose another scale value with the combo box.
 
void SetAutoScale (const bool new_auto_scale_state)
 SetAutoScale Signal is send after the check box changed the state.
 

Public Member Functions

virtual ~DdtImageScaleWidget ()=default
 
- 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.
 
 DdtImageScaleWidget (QWidget *parent=nullptr)
 
void UpdateScaleLabel (const QString new_scale_factor)
 UpdateScaleLabel Catch the signal which informs about that the scale factor changed.
 
void NewScaleFactors (const QList< QString > new_scale_factor_list)
 NewScaleFactors this will be called after new scale factor values are available *.
 
void NewAutoScaleState (const bool new_state)
 NewAutoScaleState this will be called after the auto scale switched to a new state.
 
void Reset ()
 
void NewScaleSelected (const int selected_field)
 NewScaleSelected this will be called by the check list after the user selcted a new scale factor.
 
void NewAutoScaleSelect (const int new_state)
 NewAutoScaleSelect this will be called after the user pressed the check box of the auto scale.
 

Detailed Description

Class for the Image Scale Widget that can be used to zoom the image in an Image Widget

Constructor & Destructor Documentation

◆ DdtImageScaleWidget()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtImageScaleWidget()

virtual DdtImageScaleWidget::~DdtImageScaleWidget ( )
virtualdefault

Destructor

Member Function Documentation

◆ DecrementScale

void DdtImageScaleWidget::DecrementScale ( )
signal

DecrementScale Signal which is sent when the scale is decreased.

◆ IncrementScale

void DdtImageScaleWidget::IncrementScale ( )
signal

IncrementScale Signal which is sent when the scale is increased.

◆ NewAutoScaleSelect

void DdtImageScaleWidget::NewAutoScaleSelect ( const int new_state)
protectedslot

NewAutoScaleSelect this will be called after the user pressed the check box of the auto scale.

Parameters
new_state

◆ NewAutoScaleState

void DdtImageScaleWidget::NewAutoScaleState ( const bool new_state)
slot

NewAutoScaleState this will be called after the auto scale switched to a new state.

Parameters
new_state

◆ NewScaleFactors

void DdtImageScaleWidget::NewScaleFactors ( const QList< QString > new_scale_factor_list)
slot

NewScaleFactors this will be called after new scale factor values are available *.

Parameters
new_scale_factor_list

◆ NewScaleSelected

void DdtImageScaleWidget::NewScaleSelected ( const int selected_field)
protectedslot

NewScaleSelected this will be called by the check list after the user selcted a new scale factor.

◆ Reset

void DdtImageScaleWidget::Reset ( )
slot

Slot which is called when the image in the image widget is cleared

◆ SelectScale

void DdtImageScaleWidget::SelectScale ( QString next_scale)
signal

SelectScale this will be sent after the user choose another scale value with the combo box.

Parameters
next_scale

◆ SetAutoScale

void DdtImageScaleWidget::SetAutoScale ( const bool new_auto_scale_state)
signal

SetAutoScale Signal is send after the check box changed the state.

◆ SetToDefaultScale

void DdtImageScaleWidget::SetToDefaultScale ( )
signal

SetToDefaultScale Signal which is sent when the default scale is selected.

◆ UpdateScaleLabel

void DdtImageScaleWidget::UpdateScaleLabel ( const QString new_scale_factor)
slot

UpdateScaleLabel Catch the signal which informs about that the scale factor changed.

Parameters
new_scale_factor

The documentation for this class was generated from the following files: