digiKam
searchsidebarwidget.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 : Side Bar Widget for the search.
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_SEARCH_SIDE_BAR_WIDGET_H
28
#define DIGIKAM_SEARCH_SIDE_BAR_WIDGET_H
29
30
// Local includes
31
32
#include "digikam_config.h"
33
#include "
albummodel.h
"
34
#include "
searchmodificationhelper.h
"
35
#include "
sidebarwidget.h
"
36
37
namespace
Digikam
38
{
39
40
class
SearchSideBarWidget
:
public
SidebarWidget
41
{
42
Q_OBJECT
43
44
public
:
45
46
explicit
SearchSideBarWidget
(QWidget*
const
parent,
47
SearchModel
*
const
searchModel,
48
SearchModificationHelper
*
const
searchModificationHelper);
49
~SearchSideBarWidget
()
override
;
50
51
void
setActive
(
bool
active)
override
;
52
void
doLoadState
()
override
;
53
void
doSaveState
()
override
;
54
void
applySettings
()
override
;
55
void
changeAlbumFromHistory
(
const
QList<Album*>
& album)
override
;
56
const
QIcon
getIcon
()
override
;
57
const
QString
getCaption
()
override
;
58
59
void
newKeywordSearch
();
60
void
newAdvancedSearch
();
61
62
private
:
63
64
class
Private;
65
Private*
const
d;
66
};
67
68
}
// namespace Digikam
69
70
#endif
// DIGIKAM_SEARCH_SIDE_BAR_WIDGET_H
albummodel.h
Digikam::SearchModel
Definition:
albummodel.h:95
Digikam::SearchModificationHelper
Definition:
searchmodificationhelper.h:59
Digikam::SearchSideBarWidget
Definition:
searchsidebarwidget.h:41
Digikam::SearchSideBarWidget::doLoadState
void doLoadState() override
Definition:
searchsidebarwidget.cpp:129
Digikam::SearchSideBarWidget::applySettings
void applySettings() override
Definition:
searchsidebarwidget.cpp:139
Digikam::SearchSideBarWidget::changeAlbumFromHistory
void changeAlbumFromHistory(const QList< Album * > &album) override
Definition:
searchsidebarwidget.cpp:143
Digikam::SearchSideBarWidget::~SearchSideBarWidget
~SearchSideBarWidget() override
Definition:
searchsidebarwidget.cpp:115
Digikam::SearchSideBarWidget::newKeywordSearch
void newKeywordSearch()
Definition:
searchsidebarwidget.cpp:158
Digikam::SearchSideBarWidget::SearchSideBarWidget
SearchSideBarWidget(QWidget *const parent, SearchModel *const searchModel, SearchModificationHelper *const searchModificationHelper)
Definition:
searchsidebarwidget.cpp:71
Digikam::SearchSideBarWidget::doSaveState
void doSaveState() override
Definition:
searchsidebarwidget.cpp:134
Digikam::SearchSideBarWidget::newAdvancedSearch
void newAdvancedSearch()
Definition:
searchsidebarwidget.cpp:163
Digikam::SearchSideBarWidget::setActive
void setActive(bool active) override
Definition:
searchsidebarwidget.cpp:120
Digikam::SearchSideBarWidget::getCaption
const QString getCaption() override
Definition:
searchsidebarwidget.cpp:153
Digikam::SearchSideBarWidget::getIcon
const QIcon getIcon() override
Definition:
searchsidebarwidget.cpp:148
Digikam::SidebarWidget
Definition:
sidebarwidget.h:46
QList< Album * >
Digikam
Definition:
datefolderview.cpp:43
searchmodificationhelper.h
sidebarwidget.h
core
app
views
sidebar
searchsidebarwidget.h
Generated by
1.9.1