digiKam
advprintcroppage.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 : 2017-05-25
7  * Description : a tool to print images
8  *
9  * Copyright (C) 2017-2022 by Gilles Caulier <caulier dot gilles 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_ADV_PRINT_CROP_PAGE_H
24 #define DIGIKAM_ADV_PRINT_CROP_PAGE_H
25 
26 // Qt includes
27 
28 #include <QString>
29 #include <QUrl>
30 
31 // Local includes
32 
33 #include "dwizardpage.h"
34 #include "ditemslist.h"
35 #include "ui_advprintcroppage.h"
36 
37 using namespace Digikam;
38 
40 {
41 
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit AdvPrintCropPage(QWizard* const wizard, const QString& title);
49  ~AdvPrintCropPage() override;
50 
51  Ui_AdvPrintCropPage* ui() const;
52 
53  void setBtnCropEnabled();
54 
55  void initializePage() override;
56  bool validatePage() override;
57 
58 private Q_SLOTS:
59 
60  void slotCropSelection(int);
61  void slotBtnCropPrevClicked();
62  void slotBtnCropNextClicked();
63  void slotBtnCropRotateLeftClicked();
64  void slotBtnCropRotateRightClicked();
65 
66 private:
67 
68  class Private;
69  Private* const d;
70 };
71 
72 } // namespace DigikamGenericPrintCreatorPlugin
73 
74 #endif // DIGIKAM_ADV_PRINT_CROP_PAGE_H
Definition: dwizardpage.h:42
Definition: advprintphoto.cpp:43
Definition: datefolderview.cpp:43