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

Public Types

enum  BarMode { PreviewZoomCtrl = 0 , ThumbsSizeCtrl , NoPreviewZoomCtrl }
 

Public Slots

void slotUpdateTrackerPos ()
 

Signals

void signalDelayedZoomSliderChanged (int)
 
void signalZoomSliderChanged (int)
 
void signalZoomSliderReleased (int)
 
void signalZoomValueEdited (double)
 

Public Member Functions

 DZoomBar (QWidget *const parent=nullptr)
 
QSize minimumSizeHint () const override
 
void setBarMode (BarMode mode)
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setSpacing (int space)
 
void setStretchFactor (QWidget *const widget, int stretch)
 
void setThumbsSize (int size)
 
void setZoom (double zoom, double zmin, double zmax)
 
void setZoomMinusAction (QAction *const action)
 
void setZoomPlusAction (QAction *const action)
 
void setZoomTo100Action (QAction *const action)
 
void setZoomToFitAction (QAction *const action)
 
QSize sizeHint () const override
 
void triggerZoomTrackerToolTip ()
 
 ~DZoomBar () override
 

Static Public Member Functions

static int sizeFromZoom (double zoom, double zmin, double zmax)
 
static double zoomFromSize (int size, double zmin, double zmax)
 

Protected Member Functions

void childEvent (QChildEvent *e) override
 

Member Enumeration Documentation

◆ BarMode

Enumerator
PreviewZoomCtrl 

Preview Zoom controller.

ThumbsSizeCtrl 

Thumb Size controller. Preview zoom controller still visible but disabled.

NoPreviewZoomCtrl 

Thumb Size controller alone. Preview Zoom controller is hidden.

Constructor & Destructor Documentation

◆ DZoomBar()

◆ ~DZoomBar()

Digikam::DZoomBar::~DZoomBar ( )
override

Member Function Documentation

◆ childEvent()

void Digikam::DHBox::childEvent ( QChildEvent *  e)
overrideprotectedinherited

◆ minimumSizeHint()

QSize Digikam::DHBox::minimumSizeHint ( ) const
overrideinherited

◆ setBarMode()

void Digikam::DZoomBar::setBarMode ( BarMode  mode)

◆ setContentsMargins() [1/2]

void Digikam::DHBox::setContentsMargins ( const QMargins &  margins)
inherited

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintFinalPage::AdvPrintFinalPage(), Digikam::AlbumSelectTabs::AlbumSelectTabs(), Digikam::CaptionEdit::CaptionEdit(), Digikam::ColorLabelWidget::ColorLabelWidget(), Digikam::DFontSelect::DFontSelect(), Digikam::FuzzySearchView::FuzzySearchView(), DigikamGenericGeolocationEditPlugin::GeolocationEdit::GeolocationEdit(), Digikam::GPSSearchView::GPSSearchView(), DigikamGenericHtmlGalleryPlugin::HTMLFinalPage::HTMLFinalPage(), DigikamGenericHtmlGalleryPlugin::HTMLParametersPage::HTMLParametersPage(), DigikamGenericHtmlGalleryPlugin::HTMLThemePage::HTMLThemePage(), Digikam::IccProfilesSettings::IccProfilesSettings(), Digikam::ItemDescEditTab::ItemDescEditTab(), DigikamGenericJAlbumPlugin::JAlbumFinalPage::JAlbumFinalPage(), DigikamGenericSendByMailPlugin::MailFinalPage::MailFinalPage(), Digikam::MediaPlayerView::MediaPlayerView(), Digikam::PickLabelWidget::PickLabelWidget(), Digikam::QueueSettingsView::QueueSettingsView(), Digikam::RatingBox::RatingBox(), Digikam::RatingFilter::RatingFilter(), DigikamBqmWatermarkPlugin::WaterMark::registerSettingsWidget(), Digikam::SetupToolTip::SetupToolTip(), ShowFoto::ShowfotoFolderViewBar::ShowfotoFolderViewBar(), DigikamGenericSlideShowPlugin::SlideToolBar::SlideToolBar(), Digikam::TemplateSelector::TemplateSelector(), Digikam::TextFilter::TextFilter(), Digikam::TimelineSideBarWidget::TimelineSideBarWidget(), Digikam::ToolSettingsView::ToolSettingsView(), Digikam::TransactionItem::TransactionItem(), DigikamGenericVideoSlideShowPlugin::VidSlideFinalPage::VidSlideFinalPage(), and DigikamGenericUnifiedPlugin::WSFinalPage::WSFinalPage().

◆ setContentsMargins() [2/2]

void Digikam::DHBox::setContentsMargins ( int  left,
int  top,
int  right,
int  bottom 
)
inherited

◆ setSpacing()

void Digikam::DHBox::setSpacing ( int  space)
inherited

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintFinalPage::AdvPrintFinalPage(), Digikam::AlbumSelectTabs::AlbumSelectTabs(), Digikam::CaptionEdit::CaptionEdit(), Digikam::ColorLabelWidget::ColorLabelWidget(), Digikam::DFontSelect::DFontSelect(), Digikam::FuzzySearchView::FuzzySearchView(), DigikamGenericGeolocationEditPlugin::GeolocationEdit::GeolocationEdit(), Digikam::GPSSearchView::GPSSearchView(), DigikamGenericHtmlGalleryPlugin::HTMLFinalPage::HTMLFinalPage(), DigikamGenericHtmlGalleryPlugin::HTMLParametersPage::HTMLParametersPage(), DigikamGenericHtmlGalleryPlugin::HTMLThemePage::HTMLThemePage(), Digikam::IccProfilesSettings::IccProfilesSettings(), Digikam::ItemDescEditTab::ItemDescEditTab(), DigikamGenericJAlbumPlugin::JAlbumFinalPage::JAlbumFinalPage(), DigikamGenericSendByMailPlugin::MailFinalPage::MailFinalPage(), Digikam::MediaPlayerView::MediaPlayerView(), Digikam::PickLabelWidget::PickLabelWidget(), Digikam::QueueSettingsView::QueueSettingsView(), Digikam::RatingBox::RatingBox(), Digikam::RatingFilter::RatingFilter(), DigikamBqmWatermarkPlugin::WaterMark::registerSettingsWidget(), Digikam::SetupToolTip::SetupToolTip(), Digikam::TemplateSelector::TemplateSelector(), Digikam::TextFilter::TextFilter(), Digikam::TimelineSideBarWidget::TimelineSideBarWidget(), Digikam::ToolSettingsView::ToolSettingsView(), Digikam::TransactionItem::TransactionItem(), DigikamGenericVideoSlideShowPlugin::VidSlideFinalPage::VidSlideFinalPage(), and DigikamGenericUnifiedPlugin::WSFinalPage::WSFinalPage().

◆ setStretchFactor()

void Digikam::DHBox::setStretchFactor ( QWidget *const  widget,
int  stretch 
)
inherited

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintFinalPage::AdvPrintFinalPage(), DigikamGenericPrintCreatorPlugin::AdvPrintIntroPage::AdvPrintIntroPage(), Digikam::AlbumSelectTabs::AlbumSelectTabs(), Digikam::AssignNameOverlay::createWidget(), Digikam::DFileSelector::DFileSelector(), Digikam::DFontSelect::DFontSelect(), DigikamGenericExpoBlendingPlugin::ExpoBlendingLastPage::ExpoBlendingLastPage(), DigikamGenericExpoBlendingPlugin::ExpoBlendingPreProcessPage::ExpoBlendingPreProcessPage(), DigikamGenericHtmlGalleryPlugin::HTMLFinalPage::HTMLFinalPage(), Digikam::ImageQualitySettings::ImageQualitySettings(), DigikamGenericMetadataEditPlugin::IPTCContent::IPTCContent(), DigikamGenericMetadataEditPlugin::IPTCEnvelope::IPTCEnvelope(), DigikamGenericMetadataEditPlugin::IPTCStatus::IPTCStatus(), DigikamGenericJAlbumPlugin::JAlbumFinalPage::JAlbumFinalPage(), DigikamGenericJAlbumPlugin::JAlbumIntroPage::JAlbumIntroPage(), Digikam::LensFunCameraSelector::LensFunCameraSelector(), DigikamGenericSendByMailPlugin::MailFinalPage::MailFinalPage(), DigikamGenericSendByMailPlugin::MailIntroPage::MailIntroPage(), Digikam::MaintenanceDlg::MaintenanceDlg(), Digikam::MediaPlayerView::MediaPlayerView(), DigikamGenericPanoramaPlugin::PanoLastPage::PanoLastPage(), DigikamGenericPanoramaPlugin::PanoOptimizePage::PanoOptimizePage(), DigikamGenericPanoramaPlugin::PanoPreProcessPage::PanoPreProcessPage(), Digikam::QueueSettingsView::QueueSettingsView(), DigikamBqmAutoCorrectionPlugin::AutoCorrection::registerSettingsWidget(), DigikamBqmChannelMixerPlugin::ChannelMixer::registerSettingsWidget(), DigikamBqmCurvesAdjustPlugin::CurvesAdjust::registerSettingsWidget(), DigikamBqmIccConvertPlugin::IccConvert::registerSettingsWidget(), DigikamBqmUserScriptPlugin::UserScript::registerSettingsWidget(), DigikamBqmWatermarkPlugin::WaterMark::registerSettingsWidget(), Digikam::Restoration::registerSettingsWidget(), DigikamBqmFlipPlugin::Flip::registerSettingsWidget(), DigikamBqmResizePlugin::Resize::registerSettingsWidget(), DigikamBqmRotatePlugin::Rotate::registerSettingsWidget(), Digikam::SetupMime::SetupMime(), Digikam::SetupToolTip::SetupToolTip(), ShowFoto::ShowfotoFolderViewBar::ShowfotoFolderViewBar(), Digikam::TemplateSelector::TemplateSelector(), Digikam::ToolSettingsView::ToolSettingsView(), Digikam::TransactionItem::TransactionItem(), DigikamGenericVideoSlideShowPlugin::VidSlideFinalPage::VidSlideFinalPage(), DigikamGenericUnifiedPlugin::WSFinalPage::WSFinalPage(), DigikamGenericUnifiedPlugin::WSImagesPage::WSImagesPage(), and DigikamGenericUnifiedPlugin::WSIntroPage::WSIntroPage().

◆ setThumbsSize()

void Digikam::DZoomBar::setThumbsSize ( int  size)

◆ setZoom()

void Digikam::DZoomBar::setZoom ( double  zoom,
double  zmin,
double  zmax 
)

References sizeFromZoom().

◆ setZoomMinusAction()

void Digikam::DZoomBar::setZoomMinusAction ( QAction *const  action)

◆ setZoomPlusAction()

void Digikam::DZoomBar::setZoomPlusAction ( QAction *const  action)

◆ setZoomTo100Action()

void Digikam::DZoomBar::setZoomTo100Action ( QAction *const  action)

◆ setZoomToFitAction()

void Digikam::DZoomBar::setZoomToFitAction ( QAction *const  action)

◆ signalDelayedZoomSliderChanged

void Digikam::DZoomBar::signalDelayedZoomSliderChanged ( int  )
signal

◆ signalZoomSliderChanged

void Digikam::DZoomBar::signalZoomSliderChanged ( int  )
signal

Referenced by DZoomBar().

◆ signalZoomSliderReleased

void Digikam::DZoomBar::signalZoomSliderReleased ( int  )
signal

◆ signalZoomValueEdited

void Digikam::DZoomBar::signalZoomValueEdited ( double  )
signal

◆ sizeFromZoom()

int Digikam::DZoomBar::sizeFromZoom ( double  zoom,
double  zmin,
double  zmax 
)
static

◆ sizeHint()

QSize Digikam::DHBox::sizeHint ( void  ) const
overrideinherited

◆ slotUpdateTrackerPos

void Digikam::DZoomBar::slotUpdateTrackerPos ( )
slot

◆ triggerZoomTrackerToolTip()

void Digikam::DZoomBar::triggerZoomTrackerToolTip ( )

Referenced by setThumbsSize().

◆ zoomFromSize()


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