File indexing completed on 2025-01-05 03:53:31

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2012-02-02
0007  * Description : a tool to export items to ImageShack web service
0008  *
0009  * SPDX-FileCopyrightText: 2012      by Dodon Victor <dodonvictor at gmail dot com>
0010  * SPDX-FileCopyrightText: 2013-2023 by Caulier Gilles <caulier dot gilles at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 #ifndef DIGIKAM_IMAGE_SHACK_WIDGET_PRIVATE_H
0017 #define DIGIKAM_IMAGE_SHACK_WIDGET_PRIVATE_H
0018 
0019 #include "imageshackwidget.h"
0020 
0021 // Qt includes
0022 
0023 #include <QLabel>
0024 #include <QLineEdit>
0025 #include <QGroupBox>
0026 #include <QCheckBox>
0027 #include <QRadioButton>
0028 #include <QSpinBox>
0029 #include <QStringList>
0030 #include <QGridLayout>
0031 #include <QHBoxLayout>
0032 #include <QVBoxLayout>
0033 #include <QComboBox>
0034 #include <QApplication>
0035 #include <QPushButton>
0036 #include <QMimeDatabase>
0037 #include <QMimeType>
0038 
0039 // KDE includes
0040 
0041 #include <klocalizedstring.h>
0042 
0043 // Local includes
0044 
0045 #include "digikam_debug.h"
0046 #include "ditemslist.h"
0047 #include "dtextedit.h"
0048 #include "imageshacksession.h"
0049 
0050 using namespace Digikam;
0051 
0052 namespace DigikamGenericImageShackPlugin
0053 {
0054 
0055 class Q_DECL_HIDDEN ImageShackWidget::Private
0056 {
0057 public:
0058 
0059     Private()
0060     {
0061         imgList            = nullptr;
0062         iface              = nullptr;
0063         session            = nullptr;
0064         headerLbl          = nullptr;
0065         accountNameLbl     = nullptr;
0066         tagsFld            = nullptr;
0067         privateImagesChb   = nullptr;
0068         remBarChb          = nullptr;
0069         chgRegCodeBtn      = nullptr;
0070         reloadGalleriesBtn = nullptr;
0071         galleriesCob       = nullptr;
0072         progressBar        = nullptr;
0073     }
0074 
0075     DItemsList*        imgList;
0076     DInfoInterface*    iface;
0077     ImageShackSession* session;
0078 
0079     QLabel*            headerLbl;
0080     QLabel*            accountNameLbl;
0081 
0082     DTextEdit*         tagsFld;
0083 
0084     QCheckBox*         privateImagesChb;
0085     QCheckBox*         remBarChb;
0086 
0087     QPushButton*       chgRegCodeBtn;
0088     QPushButton*       reloadGalleriesBtn;
0089 
0090     QComboBox*         galleriesCob;
0091 
0092     DProgressWdg*      progressBar;
0093 };
0094 
0095 } // namespace DigikamGenericImageShackPlugin
0096 
0097 #endif // DIGIKAM_IMAGE_SHACK_WIDGET_PRIVATE_H