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

#include <ddtScaleButtonsWidget.hpp>

Inheritance diagram for DdtScaleButtonsWidget:
DdtWidget

Signals

void IncrementScale ()
 
void DecrementScale ()
 
void SetToDefaultScale ()
 

Public Member Functions

 DdtScaleButtonsWidget (QWidget *parent=nullptr)
 
virtual ~DdtScaleButtonsWidget ()
 
- 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 ZoomIn ()
 
void ZoomOut ()
 
void ZoomAll ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DdtScaleButtonsWidget()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtScaleButtonsWidget()

DdtScaleButtonsWidget::~DdtScaleButtonsWidget ( )
virtualdefault

Destructor

Member Function Documentation

◆ DecrementScale

void DdtScaleButtonsWidget::DecrementScale ( )
signal

Signal which is sent when the scale is decreased

◆ IncrementScale

void DdtScaleButtonsWidget::IncrementScale ( )
signal

Signal which is sent when the scale is increased

◆ SetToDefaultScale

void DdtScaleButtonsWidget::SetToDefaultScale ( )
signal

Signal which is sent when the default scale is selected

◆ ZoomAll

void DdtScaleButtonsWidget::ZoomAll ( )
protectedslot

Slot which is called when the Default Scale button was pressed

◆ ZoomIn

void DdtScaleButtonsWidget::ZoomIn ( )
protectedslot

Slot which is called when the "zoom in" button was pressed

◆ ZoomOut

void DdtScaleButtonsWidget::ZoomOut ( )
protectedslot

Slot which is called when the "zoom out" button was pressed


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