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

#include <ddtImageScaleWidget.hpp>

Inheritance diagram for DdtImageScaleWidget:
DdtWidget

Public Slots

void UpdateScaleLabel (const QString new_scale_factor)
 UpdateScaleLabel Catch the signal which informs about that the scale factor changed. More...
 
void NewScaleFactors (const QList< QString > new_scale_factor_list)
 NewScaleFactors this will be called after new scale factor values are available *. More...
 
void NewAutoScaleState (const bool new_state)
 NewAutoScaleState this will be called after the auto scale switched to a new state. More...
 

Signals

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

Public Member Functions

 DdtImageScaleWidget (QWidget *parent=nullptr)
 
virtual ~DdtImageScaleWidget ()=default
 
- 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 NewScaleSelected (const int selected_field)
 NewScaleSelected this will be called by the check list after the user selcted a new scale factor. More...
 
void NewAutoScaleSelect (const int new_State)
 NewAutoScaleSelect this will be called after the user pressed the check box of the auto scale. More...
 

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
newState

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

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