◆ StateSavingDepth
This enum defines the "depth" of the StateSavingObject::loadState() and StateSavingObject::saveState() methods.
Enumerator |
---|
INSTANCE | Only the instance the saving / restoring was invoked on is saved / restored.
|
DIRECT_CHILDREN | The instance itself and all direct children of this instance implementing StateSavingObject are saved / restored.
|
RECURSIVE | The instance and all children in the complete hierarchy are saved / restored.
|
◆ TimelineSideBarWidget()
References Digikam::AbstractAlbumModel::AlbumIdRole, Digikam::AbstractAlbumModel::AlbumTitleRole, Digikam::TimeLineWidget::Day, Digikam::StateSavingObject::getConfigGroup(), Digikam::AlbumManager::instance(), Digikam::TimeLineWidget::LinScale, Digikam::TimeLineWidget::LogScale, Digikam::TimeLineWidget::Month, Digikam::DHBox::setContentsMargins(), Digikam::DHBox::setSpacing(), Digikam::TimeLineWidget::Week, and Digikam::TimeLineWidget::Year.
◆ ~TimelineSideBarWidget()
Digikam::TimelineSideBarWidget::~TimelineSideBarWidget |
( |
| ) |
|
|
override |
◆ applySettings()
void Digikam::TimelineSideBarWidget::applySettings |
( |
| ) |
|
|
overridevirtual |
This method is invoked when the application settings should be (re-) applied to this widget.
Implements Digikam::SidebarWidget.
◆ changeAlbumFromHistory()
void Digikam::TimelineSideBarWidget::changeAlbumFromHistory |
( |
const QList< Album * > & |
album | ) |
|
|
overridevirtual |
This is called on this widget when the history requires to move back to the specified album
Implements Digikam::SidebarWidget.
◆ doLoadState()
void Digikam::TimelineSideBarWidget::doLoadState |
( |
| ) |
|
|
overridevirtual |
◆ doSaveState()
void Digikam::TimelineSideBarWidget::doSaveState |
( |
| ) |
|
|
overridevirtual |
◆ entryName()
QString Digikam::StateSavingObject::entryName |
( |
const QString & |
base | ) |
const |
|
protectedinherited |
Always use this method to create config group entry names. This allows to manipulate the entry keys externally by eg. setting a prefix.
- Parameters
-
base | original name planned for the config group entry |
- Returns
- entry name after manipulating it with externally set parameters
Referenced by Digikam::FilterSideBarWidget::doLoadState(), Digikam::AbstractAlbumTreeView::doLoadState(), Digikam::AbstractCheckableAlbumTreeView::doLoadState(), Digikam::LabelsTreeView::doLoadState(), Digikam::ImportItemPropertiesSideBarImport::doLoadState(), Digikam::ItemPropertiesSideBar::doLoadState(), Digikam::ItemPropertiesSideBarDB::doLoadState(), Digikam::TagCheckView::doLoadState(), Digikam::Sidebar::doLoadState(), Digikam::SearchTextBar::doLoadState(), ShowFoto::ShowfotoFolderViewSideBar::doLoadState(), ShowFoto::ShowfotoStackViewSideBar::doLoadState(), Digikam::FaceScanWidget::doLoadState(), Digikam::FuzzySearchView::doLoadState(), Digikam::GPSSearchView::doLoadState(), Digikam::FilterSideBarWidget::doSaveState(), Digikam::AbstractAlbumTreeView::doSaveState(), Digikam::AbstractCheckableAlbumTreeView::doSaveState(), Digikam::LabelsTreeView::doSaveState(), Digikam::ImportItemPropertiesSideBarImport::doSaveState(), Digikam::ItemPropertiesSideBar::doSaveState(), Digikam::ItemPropertiesSideBarDB::doSaveState(), Digikam::TagCheckView::doSaveState(), Digikam::Sidebar::doSaveState(), Digikam::SearchTextBar::doSaveState(), ShowFoto::ShowfotoFolderViewSideBar::doSaveState(), ShowFoto::ShowfotoStackViewSideBar::doSaveState(), Digikam::FaceScanWidget::doSaveState(), Digikam::FuzzySearchView::doSaveState(), and Digikam::GPSSearchView::doSaveState().
◆ getCaption()
const QString Digikam::TimelineSideBarWidget::getCaption |
( |
| ) |
|
|
overridevirtual |
Must be implemented to return the title of this sidebar's tab.
- Returns
- localized title string
Implements Digikam::SidebarWidget.
◆ getConfigGroup()
KConfigGroup Digikam::StateSavingObject::getConfigGroup |
( |
| ) |
const |
|
protectedinherited |
Returns the config group that must be used for state saving and loading.
- Returns
- config group for state saving and loading
Referenced by Digikam::AlbumFolderViewSideBarWidget::AlbumFolderViewSideBarWidget(), Digikam::DateFolderViewSideBarWidget::DateFolderViewSideBarWidget(), Digikam::FilterSideBarWidget::doLoadState(), Digikam::TagViewSideBarWidget::doLoadState(), doLoadState(), Digikam::MapWidgetView::doLoadState(), Digikam::TableView::doLoadState(), Digikam::AbstractAlbumTreeView::doLoadState(), Digikam::AbstractCheckableAlbumTreeView::doLoadState(), Digikam::LabelsTreeView::doLoadState(), Digikam::ImportItemPropertiesSideBarImport::doLoadState(), Digikam::ItemPropertiesSideBar::doLoadState(), Digikam::ItemPropertiesSideBarDB::doLoadState(), Digikam::TagsManager::doLoadState(), Digikam::TagCheckView::doLoadState(), Digikam::Sidebar::doLoadState(), Digikam::SearchTextBar::doLoadState(), ShowFoto::ShowfotoFolderViewSideBar::doLoadState(), ShowFoto::ShowfotoStackViewSideBar::doLoadState(), Digikam::FaceScanWidget::doLoadState(), Digikam::FuzzySearchView::doLoadState(), Digikam::GPSSearchView::doLoadState(), Digikam::FilterSideBarWidget::doSaveState(), Digikam::TagViewSideBarWidget::doSaveState(), doSaveState(), Digikam::MapWidgetView::doSaveState(), Digikam::TableView::doSaveState(), Digikam::AbstractAlbumTreeView::doSaveState(), Digikam::AbstractCheckableAlbumTreeView::doSaveState(), Digikam::LabelsTreeView::doSaveState(), Digikam::ImportItemPropertiesSideBarImport::doSaveState(), Digikam::ItemPropertiesSideBar::doSaveState(), Digikam::ItemPropertiesSideBarDB::doSaveState(), Digikam::TagsManager::doSaveState(), Digikam::TagCheckView::doSaveState(), Digikam::Sidebar::doSaveState(), Digikam::SearchTextBar::doSaveState(), ShowFoto::ShowfotoFolderViewSideBar::doSaveState(), ShowFoto::ShowfotoStackViewSideBar::doSaveState(), Digikam::FaceScanWidget::doSaveState(), Digikam::FuzzySearchView::doSaveState(), Digikam::GPSSearchView::doSaveState(), Digikam::FuzzySearchSideBarWidget::FuzzySearchSideBarWidget(), Digikam::GPSSearchSideBarWidget::GPSSearchSideBarWidget(), Digikam::LabelsSideBarWidget::LabelsSideBarWidget(), Digikam::PeopleSideBarWidget::PeopleSideBarWidget(), Digikam::SearchSideBarWidget::SearchSideBarWidget(), Digikam::TagsManager::setupUi(), Digikam::TagViewSideBarWidget::TagViewSideBarWidget(), and TimelineSideBarWidget().
◆ getIcon()
const QIcon Digikam::TimelineSideBarWidget::getIcon |
( |
| ) |
|
|
overridevirtual |
Must be implemented and return the icon that shall be visible for this sidebar widget.
- Returns
- pixmap icon
Implements Digikam::SidebarWidget.
◆ getStateSavingDepth()
Returns the depth used for state saving or loading. Default is StateSavingDepth::INSTANCE.
- Returns
- state saving / restoring depth
◆ loadState()
void Digikam::StateSavingObject::loadState |
( |
| ) |
|
|
inherited |
◆ requestActiveTab
void Digikam::SidebarWidget::requestActiveTab |
( |
SidebarWidget * |
| ) |
|
|
signalinherited |
This signal can be emitted if this sidebar widget wants to be the one that is active.
◆ saveState()
void Digikam::StateSavingObject::saveState |
( |
| ) |
|
|
inherited |
◆ setActive()
void Digikam::TimelineSideBarWidget::setActive |
( |
bool |
active | ) |
|
|
overridevirtual |
◆ setConfigGroup()
void Digikam::StateSavingObject::setConfigGroup |
( |
const KConfigGroup & |
group | ) |
|
|
virtualinherited |
◆ setEntryPrefix()
void Digikam::StateSavingObject::setEntryPrefix |
( |
const QString & |
prefix | ) |
|
|
virtualinherited |
Define a prefix that will be used for every entry in the config group. The default prefix is empty.
You can re-implement this method to pass the prefix set here to child objects. Don't forget to call this method in your implementation.
- Parameters
-
prefix | the prefix to use for the config entries |
References prefix.
◆ setStateSavingDepth()
void Digikam::StateSavingObject::setStateSavingDepth |
( |
const StateSavingDepth |
depth | ) |
|
|
inherited |
Sets the depth used for state saving or loading.
- Parameters
-
◆ signalNotificationError
void Digikam::SidebarWidget::signalNotificationError |
( |
const QString & |
message, |
|
|
int |
type |
|
) |
| |
|
signalinherited |
The documentation for this class was generated from the following files: