digiKam
labelssidebarwidget.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2009-12-05
7
* Description : Labels sidebar widgets
8
*
9
* Copyright (C) 2009-2010 by Johannes Wienke <languitar at semipol dot de>
10
* Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* Copyright (C) 2014 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
12
* Copyright (C) 2010 by Aditya Bhatt <adityabhatt1991 at gmail dot com>
13
*
14
* This program is free software; you can redistribute it
15
* and/or modify it under the terms of the GNU General
16
* Public License as published by the Free Software Foundation;
17
* either version 2, or (at your option)
18
* any later version.
19
*
20
* This program is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU General Public License for more details.
24
*
25
* ============================================================ */
26
27
#ifndef DIGIKAM_LABELS_SIDE_BAR_WIDGET_H
28
#define DIGIKAM_LABELS_SIDE_BAR_WIDGET_H
29
30
// Local includes
31
32
#include "
album.h
"
33
#include "
sidebarwidget.h
"
34
#include "
labelstreeview.h
"
35
36
namespace
Digikam
37
{
38
39
class
LabelsSideBarWidget
:
public
SidebarWidget
40
{
41
Q_OBJECT
42
43
public
:
44
45
explicit
LabelsSideBarWidget
(QWidget*
const
parent);
46
~LabelsSideBarWidget
()
override
;
47
48
LabelsTreeView
*
labelsTree
();
49
50
void
setActive
(
bool
active)
override
;
51
void
applySettings
()
override
;
52
void
changeAlbumFromHistory
(
const
QList<Album*>
& album)
override
;
53
void
doLoadState
()
override
;
54
void
doSaveState
()
override
;
55
const
QIcon
getIcon
()
override
;
56
const
QString
getCaption
()
override
;
57
58
QHash<LabelsTreeView::Labels, QList<int> >
selectedLabels
();
59
60
private
:
61
62
class
Private;
63
Private*
const
d;
64
};
65
66
}
// namespace Digikam
67
68
#endif
// DIGIKAM_LABELS_SIDE_BAR_WIDGET_H
album.h
Digikam::LabelsSideBarWidget
Definition:
labelssidebarwidget.h:40
Digikam::LabelsSideBarWidget::LabelsSideBarWidget
LabelsSideBarWidget(QWidget *const parent)
Definition:
labelssidebarwidget.cpp:65
Digikam::LabelsSideBarWidget::getCaption
const QString getCaption() override
Definition:
labelssidebarwidget.cpp:126
Digikam::LabelsSideBarWidget::changeAlbumFromHistory
void changeAlbumFromHistory(const QList< Album * > &album) override
Definition:
labelssidebarwidget.cpp:106
Digikam::LabelsSideBarWidget::~LabelsSideBarWidget
~LabelsSideBarWidget() override
Definition:
labelssidebarwidget.cpp:84
Digikam::LabelsSideBarWidget::doSaveState
void doSaveState() override
Definition:
labelssidebarwidget.cpp:116
Digikam::LabelsSideBarWidget::setActive
void setActive(bool active) override
Definition:
labelssidebarwidget.cpp:94
Digikam::LabelsSideBarWidget::labelsTree
LabelsTreeView * labelsTree()
Definition:
labelssidebarwidget.cpp:89
Digikam::LabelsSideBarWidget::applySettings
void applySettings() override
Definition:
labelssidebarwidget.cpp:102
Digikam::LabelsSideBarWidget::selectedLabels
QHash< LabelsTreeView::Labels, QList< int > > selectedLabels()
Definition:
labelssidebarwidget.cpp:131
Digikam::LabelsSideBarWidget::doLoadState
void doLoadState() override
Definition:
labelssidebarwidget.cpp:111
Digikam::LabelsSideBarWidget::getIcon
const QIcon getIcon() override
Definition:
labelssidebarwidget.cpp:121
Digikam::LabelsTreeView
Definition:
labelstreeview.h:43
Digikam::SidebarWidget
Definition:
sidebarwidget.h:46
QList< Album * >
labelstreeview.h
Digikam
Definition:
datefolderview.cpp:43
sidebarwidget.h
core
app
views
sidebar
labelssidebarwidget.h
Generated by
1.9.1