digiKam
Digikam::EditorStackView Class Reference
+ Inheritance diagram for Digikam::EditorStackView:

Public Types

enum  StackViewMode { CanvasMode = 0 , ToolViewMode }
 

Public Slots

void setZoomFactor (double)
 
void slotZoomSliderChanged (int)
 

Signals

void signalToggleOffFitToWindow ()
 
void signalZoomChanged (bool isMax, bool isMin, double zoom)
 

Public Member Functions

Canvascanvas () const
 
void decreaseZoom ()
 
 EditorStackView (QWidget *const parent=nullptr)
 
void fitToSelect ()
 
void increaseZoom ()
 
bool isZoomablePreview () const
 
void setCanvas (Canvas *const canvas)
 
void setToolView (QWidget *const view)
 
void setViewMode (int mode)
 
void toggleFitToWindow ()
 
QWidget * toolView () const
 
int viewMode () const
 
double zoomMax () const
 
double zoomMin () const
 
void zoomTo100Percent ()
 
 ~EditorStackView () override
 

Member Enumeration Documentation

◆ StackViewMode

Enumerator
CanvasMode 
ToolViewMode 

Constructor & Destructor Documentation

◆ EditorStackView()

Digikam::EditorStackView::EditorStackView ( QWidget *const  parent = nullptr)
explicit

◆ ~EditorStackView()

Digikam::EditorStackView::~EditorStackView ( )
override

Member Function Documentation

◆ canvas()

Canvas * Digikam::EditorStackView::canvas ( ) const

Referenced by setCanvas().

◆ decreaseZoom()

void Digikam::EditorStackView::decreaseZoom ( )

◆ fitToSelect()

void Digikam::EditorStackView::fitToSelect ( )

References CanvasMode, and viewMode().

◆ increaseZoom()

void Digikam::EditorStackView::increaseZoom ( )

◆ isZoomablePreview()

bool Digikam::EditorStackView::isZoomablePreview ( ) const

Referenced by slotZoomSliderChanged().

◆ setCanvas()

void Digikam::EditorStackView::setCanvas ( Canvas *const  canvas)

◆ setToolView()

void Digikam::EditorStackView::setToolView ( QWidget *const  view)

◆ setViewMode()

void Digikam::EditorStackView::setViewMode ( int  mode)

References CanvasMode, and ToolViewMode.

◆ setZoomFactor

void Digikam::EditorStackView::setZoomFactor ( double  zoom)
slot

◆ signalToggleOffFitToWindow

void Digikam::EditorStackView::signalToggleOffFitToWindow ( )
signal

Referenced by setCanvas().

◆ signalZoomChanged

void Digikam::EditorStackView::signalZoomChanged ( bool  isMax,
bool  isMin,
double  zoom 
)
signal

Referenced by setCanvas().

◆ slotZoomSliderChanged

◆ toggleFitToWindow()

void Digikam::EditorStackView::toggleFitToWindow ( )

◆ toolView()

QWidget * Digikam::EditorStackView::toolView ( ) const

◆ viewMode()

int Digikam::EditorStackView::viewMode ( ) const

◆ zoomMax()

double Digikam::EditorStackView::zoomMax ( ) const

◆ zoomMin()

double Digikam::EditorStackView::zoomMin ( ) const

◆ zoomTo100Percent()

void Digikam::EditorStackView::zoomTo100Percent ( )

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