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

#include <ddtCubeNavigationWidget.hpp>

Inheritance diagram for DdtCubeNavigationWidget:
DdtWidget

Public Slots

void CurrentLayer (const int current_layer, const int total_layers)
 

Signals

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

Public Member Functions

 DdtCubeNavigationWidget (QWidget *parent=nullptr)
 
 ~DdtCubeNavigationWidget () override=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 DecLayer ()
 
void IncLayer ()
 
void FastDecLayer ()
 
void FastIncLayer ()
 
void FirstLayer ()
 
void LastLayer ()
 

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

◆ LastLayer

void DdtCubeNavigationWidget::LastLayer ( )
protectedslot

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


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