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

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2018-05-20
0007  * Description : a tool to export images to Box web service
0008  *
0009  * SPDX-FileCopyrightText: 2018      by Tarek Talaat <tarektalaat93 at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_BOX_WIDGET_H
0016 #define DIGIKAM_BOX_WIDGET_H
0017 
0018 // Qt includes
0019 
0020 #include <QWidget>
0021 
0022 // Local includes
0023 
0024 #include "wssettingswidget.h"
0025 #include "boxitem.h"
0026 #include "dinfointerface.h"
0027 
0028 class QButtonGroup;
0029 
0030 using namespace Digikam;
0031 
0032 namespace DigikamGenericBoxPlugin
0033 {
0034 
0035 class BOXWidget : public WSSettingsWidget
0036 {
0037     Q_OBJECT
0038 
0039 public:
0040 
0041     explicit BOXWidget(QWidget* const parent,
0042                        DInfoInterface* const iface,
0043                        const QString& toolName);
0044     ~BOXWidget() override;
0045 
0046     void updateLabels(const QString& name = QString(),
0047                       const QString& url = QString()) override;
0048 
0049 private:
0050 
0051     friend class BOXWindow;
0052 };
0053 
0054 } // namespace DigikamGenericBoxPlugin
0055 
0056 #endif // DIGIKAM_BOX_WIDGET_H