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

#include <ddtCubeNavigationWidget.hpp>

Inheritance diagram for DdtCubeNavigationWidget:
DdtWidget

Signals

void IncrementLayer (const int inc)
 
void DecrementLayer (const int dec)
 
void JumpToLayer (const int num)
 

Public Member Functions

 ~DdtCubeNavigationWidget () override=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.
 
 DdtCubeNavigationWidget (QWidget *parent=nullptr)
 
void CurrentLayer (const int current_layer, const int total_layers)
 
void DecLayer ()
 
void IncLayer ()
 
void FastDecLayer ()
 
void FastIncLayer ()
 
void FirstLayer ()
 
void LastLayer ()
 
void JumpLayer ()
 
void SelectLayer (int selected_value)
 
void Reset ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DdtCubeNavigationWidget()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtCubeNavigationWidget()

DdtCubeNavigationWidget::~DdtCubeNavigationWidget ( )
overridedefault

Destructor

Member Function Documentation

◆ CurrentLayer

void DdtCubeNavigationWidget::CurrentLayer ( const int current_layer,
const int total_layers )
slot

Slot which is called when the current layer and the total number of layers of a 3D cube image are provided

Parameters
current_layerthe current layer
total_layersthe total number of layers

◆ DecLayer

void DdtCubeNavigationWidget::DecLayer ( )
protectedslot

Slot which is called when the "decrement layer" button was pressed

◆ DecrementLayer

void DdtCubeNavigationWidget::DecrementLayer ( const int dec)
signal

Signal which is sent when the layer is decreased

Parameters
decthe decrement value. A value of 0 will set the layer to the first one.

◆ FastDecLayer

void DdtCubeNavigationWidget::FastDecLayer ( )
protectedslot

Slot which is called when the "fast decrement layer" button was pressed

◆ FastIncLayer

void DdtCubeNavigationWidget::FastIncLayer ( )
protectedslot

Slot which is called when the "fast increment layer" button was pressed

◆ FirstLayer

void DdtCubeNavigationWidget::FirstLayer ( )
protectedslot

Slot which is called when the "first layer" button was pressed

◆ IncLayer

void DdtCubeNavigationWidget::IncLayer ( )
protectedslot

Slot which is called when the "increment layer" button was pressed

◆ IncrementLayer

void DdtCubeNavigationWidget::IncrementLayer ( const int inc)
signal

Signal which is sent when the layer is increased

Parameters
incthe increment value. A value of 0 will set the layer to the last

◆ JumpLayer

void DdtCubeNavigationWidget::JumpLayer ( )
protectedslot

Slot which is called when the "current layer" was confirmed by the slider

◆ JumpToLayer

void DdtCubeNavigationWidget::JumpToLayer ( const int num)
signal

Signal which is sent when the layer is specifically selected

Parameters
numthe layer number to be display.

◆ LastLayer

void DdtCubeNavigationWidget::LastLayer ( )
protectedslot

Slot which is called when the "last layer" button was pressed

◆ Reset

void DdtCubeNavigationWidget::Reset ( )
protectedslot

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

◆ SelectLayer

void DdtCubeNavigationWidget::SelectLayer ( int selected_value)
protectedslot

Slot which is called when the "slider" is moving


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