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

Signals

void signalPickLabelChanged (int)
 
void signalPickLabelSelectionChanged (const QList< PickLabel > &)
 

Public Member Functions

QList< PickLabelcolorLabels () const
 
QList< TAlbum * > getCheckedPickLabelTags ()
 
QSize minimumSizeHint () const override
 
 PickLabelFilter (QWidget *const parent=nullptr)
 
void reset ()
 
void setButtonsExclusive (bool b)
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setDescriptionBoxVisible (bool b)
 
void setPickLabels (const QList< PickLabel > &list)
 
void setSpacing (int space)
 
void setStretchFactor (QWidget *const widget, int stretch)
 
QSize sizeHint () const override
 
 ~PickLabelFilter () override
 

Static Public Member Functions

static QIcon buildIcon (PickLabel label)
 
static QString labelPickName (PickLabel label)
 

Protected Member Functions

void childEvent (QChildEvent *e) override
 
bool eventFilter (QObject *obj, QEvent *ev) override
 

Constructor & Destructor Documentation

◆ PickLabelFilter()

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

◆ ~PickLabelFilter()

Digikam::PickLabelFilter::~PickLabelFilter ( )
override

Member Function Documentation

◆ buildIcon()

QIcon Digikam::PickLabelWidget::buildIcon ( PickLabel  label)
staticinherited

◆ childEvent()

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

◆ colorLabels()

QList< PickLabel > Digikam::PickLabelWidget::colorLabels ( ) const
inherited

Return the list of Color Label buttons turned on or an empty list of none.

Referenced by getCheckedPickLabelTags().

◆ eventFilter()

bool Digikam::PickLabelWidget::eventFilter ( QObject *  obj,
QEvent *  ev 
)
overrideprotectedinherited

◆ getCheckedPickLabelTags()

◆ labelPickName()

◆ minimumSizeHint()

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

◆ reset()

void Digikam::PickLabelFilter::reset ( )

◆ setButtonsExclusive()

void Digikam::PickLabelWidget::setButtonsExclusive ( bool  b)
inherited

Set all Color Label buttons exclusive or not. Default is true as only one can be selected. Non-exclusive mode is dedicated for Advanced Search tool.

Referenced by PickLabelFilter(), and Digikam::PickLabelWidget::PickLabelWidget().

◆ 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

◆ setDescriptionBoxVisible()

void Digikam::PickLabelWidget::setDescriptionBoxVisible ( bool  b)
inherited

Show or not on the bottom view the description of label with shortcuts.

References Digikam::PickLabelWidget::labelPickName().

Referenced by PickLabelFilter(), and Digikam::PickLabelWidget::PickLabelWidget().

◆ setPickLabels()

void Digikam::PickLabelWidget::setPickLabels ( const QList< PickLabel > &  list)
inherited

Turn on Color Label buttons using list. Pass an empty list to clear all selection.

Referenced by Digikam::PickLabelWidget::PickLabelWidget(), Digikam::SearchFieldLabels::read(), and reset().

◆ 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().

◆ signalPickLabelChanged

void Digikam::PickLabelWidget::signalPickLabelChanged ( int  )
signalinherited

◆ signalPickLabelSelectionChanged

void Digikam::PickLabelFilter::signalPickLabelSelectionChanged ( const QList< PickLabel > &  )
signal

◆ sizeHint()

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

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