digiKam
inattaxonedit.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_TAXON_EDIT_H
24 #define DIGIKAM_INAT_TAXON_EDIT_H
25 
26 // Local includes
27 
28 #include <QWidget>
29 #include <QLineEdit>
30 #include <QFocusEvent>
31 
33 {
34 
35 class TaxonEdit : public QLineEdit
36 {
37  Q_OBJECT
38 
39 public:
40 
41  explicit TaxonEdit(QWidget* const parent = nullptr);
42  ~TaxonEdit();
43 
44 Q_SIGNALS:
45 
46  void inFocus();
47 
48 protected:
49 
50  virtual void focusInEvent(QFocusEvent* e);
51 };
52 
53 } // namespace DigikamGenericINatPlugin
54 
55 #endif // DIGIKAM_INAT_TAXON_EDIT_H
Definition: inattaxonedit.h:36
TaxonEdit(QWidget *const parent=nullptr)
Definition: inattaxonedit.cpp:32
~TaxonEdit()
Definition: inattaxonedit.cpp:36
virtual void focusInEvent(QFocusEvent *e)
Definition: inattaxonedit.cpp:40
Definition: inatbrowserdlg.cpp:64