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

Public Types

enum  PreviewMode {
  PreviewOriginalImage = 0x00000001 , PreviewBothImagesHorz = 0x00000002 , PreviewBothImagesVert = 0x00000004 , PreviewBothImagesHorzCont = 0x00000008 ,
  PreviewBothImagesVertCont = 0x00000010 , PreviewTargetImage = 0x00000020 , PreviewToggleOnMouseOver = 0x00000040 , NoPreviewMode = 0x00000080 ,
  AllPreviewModes , UnSplitPreviewModes = PreviewOriginalImage | PreviewTargetImage | PreviewToggleOnMouseOver
}
 

Signals

void signalPreviewModeChanged (int)
 

Public Member Functions

PreviewMode previewMode () const
 
 PreviewToolBar (QWidget *const parent=nullptr)
 
void readSettings (KConfigGroup &group)
 
void registerMenuActionGroup (EditorWindow *const editor)
 
void setPreviewMode (PreviewMode mode)
 
void setPreviewModeMask (int mask)
 
void writeSettings (KConfigGroup &group)
 
 ~PreviewToolBar () override
 

Member Enumeration Documentation

◆ PreviewMode

Enumerator
PreviewOriginalImage 

Original image only.

PreviewBothImagesHorz 

Horizontal with original and target duplicated.

PreviewBothImagesVert 

Vertical with original and target duplicated.

PreviewBothImagesHorzCont 

Horizontal with original and target in contiguous.

PreviewBothImagesVertCont 

Vertical with original and target in contiguous.

PreviewTargetImage 

Target image only.

PreviewToggleOnMouseOver 

Original image if mouse is over image area, else target image.

NoPreviewMode 

Target image only without information displayed.

AllPreviewModes 
UnSplitPreviewModes 

Constructor & Destructor Documentation

◆ PreviewToolBar()

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

◆ ~PreviewToolBar()

Digikam::PreviewToolBar::~PreviewToolBar ( )
override

Member Function Documentation

◆ previewMode()

PreviewToolBar::PreviewMode Digikam::PreviewToolBar::previewMode ( ) const

References NoPreviewMode.

Referenced by setPreviewModeMask(), and writeSettings().

◆ readSettings()

void Digikam::PreviewToolBar::readSettings ( KConfigGroup &  group)

◆ registerMenuActionGroup()

void Digikam::PreviewToolBar::registerMenuActionGroup ( EditorWindow *const  editor)

◆ setPreviewMode()

void Digikam::PreviewToolBar::setPreviewMode ( PreviewMode  mode)

Referenced by readSettings().

◆ setPreviewModeMask()

◆ signalPreviewModeChanged

void Digikam::PreviewToolBar::signalPreviewModeChanged ( int  )
signal

◆ writeSettings()

void Digikam::PreviewToolBar::writeSettings ( KConfigGroup &  group)

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