ddt 1.4.0
 
Loading...
Searching...
No Matches
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.
 
virtual ~DdtWidget ()=default
 
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.
 

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: