digiKam
inatwidget_p.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 : 2021-03-20
7  * Description : a tool to export images to iNaturalist web service
8  *
9  * Copyright (C) 2021 by Joerg Lohse <joergmlpts at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_INAT_WIDGET_PRIVATE_H
24 #define DIGIKAM_INAT_WIDGET_PRIVATE_H
25 
26 #include "inatwidget.h"
27 
28 // Qt includes
29 
30 #include <QCheckBox>
31 #include <QGridLayout>
32 #include <QGroupBox>
33 #include <QHeaderView>
34 #include <QLabel>
35 #include <QPushButton>
36 #include <QScrollArea>
37 #include <QSpinBox>
38 #include <QVBoxLayout>
39 #include <QTreeWidget>
40 #include <QApplication>
41 #include <QStyle>
42 #include <QDialog>
43 #include <QPlainTextEdit>
44 
45 // KDE includes
46 
47 #include <klocalizedstring.h>
48 
49 // Local includes
50 
51 #include "wscomboboxdelegate.h"
52 #include "wscomboboxintermediate.h"
53 #include "ditemslist.h"
54 #include "inatsuggest.h"
55 
56 using namespace Digikam;
57 
59 {
60 
63 
64 class Q_DECL_HIDDEN INatWidget::Private
65 {
66 public:
67 
68  explicit Private()
69  : removeAccount (nullptr),
70  accountIcon (nullptr),
71  identificationImage (nullptr),
72  identificationLabel (nullptr),
73  closestKnownObservation (nullptr),
74  observationDescription (nullptr),
75  identificationEdit (nullptr),
76  taxonPopup (nullptr),
77  photoMaxTimeDiffSpB (nullptr),
78  photoMaxDistanceSpB (nullptr),
79  closestObservationMaxSpB(nullptr),
80  placesComboBox (nullptr),
81  moreOptionsButton (nullptr),
82  moreOptionsWidget (nullptr),
83  imglst (nullptr)
84  {
85  }
86 
87  QString serviceName;
88  QPushButton* removeAccount;
89  QLabel* accountIcon;
93  QPlainTextEdit* observationDescription;
99  QComboBox* placesComboBox;
100  QPushButton* moreOptionsButton;
103 };
104 
105 } // namespace DigikamGenericINatPlugin
106 
107 #endif // DIGIKAM_INAT_WIDGET_PRIVATE_H
QSpinBox * closestObservationMaxSpB
Definition: inatwidget_p.h:98
QLabel * closestKnownObservation
Definition: inatwidget_p.h:92
SuggestTaxonCompletion * taxonPopup
Definition: inatwidget_p.h:95
QLabel * identificationLabel
Definition: inatwidget_p.h:91
Private()
Definition: inatwidget_p.h:68
QPushButton * removeAccount
Definition: inatwidget_p.h:88
TaxonEdit * identificationEdit
Definition: inatwidget_p.h:94
DItemsList * imglst
Definition: inatwidget_p.h:102
QSpinBox * photoMaxTimeDiffSpB
Definition: inatwidget_p.h:96
QLabel * identificationImage
Definition: inatwidget_p.h:90
QPushButton * moreOptionsButton
Definition: inatwidget_p.h:100
QPlainTextEdit * observationDescription
Definition: inatwidget_p.h:93
QLabel * accountIcon
Definition: inatwidget_p.h:89
QWidget * moreOptionsWidget
Definition: inatwidget_p.h:101
QSpinBox * photoMaxDistanceSpB
Definition: inatwidget_p.h:97
QComboBox * placesComboBox
Definition: inatwidget_p.h:99
QString serviceName
Definition: inatwidget_p.h:87
Definition: inatwidget.h:46
Definition: inattaxonedit.h:36
ColumnType
Definition: ditemslist.h:134
Definition: ditemslist.h:196
Definition: inatbrowserdlg.cpp:64
const DItemsListView::ColumnType ItemDate
Definition: inatwidget.cpp:31
const DItemsListView::ColumnType ItemLocation
Definition: inatwidget.cpp:32
Definition: datefolderview.cpp:43