File indexing completed on 2025-01-05 03:53:13
0001 /* =============================================================== 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2010-10-01 0007 * Description : Dialog to allow a custom page layout 0008 * 0009 * SPDX-FileCopyrightText: 2010-2012 by Angelo Naselli <anaselli at linux dot it> 0010 * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================== */ 0015 0016 #ifndef DIGIKAM_ADV_PRINT_CUSTOM_DLG_H 0017 #define DIGIKAM_ADV_PRINT_CUSTOM_DLG_H 0018 0019 // Qt includes 0020 0021 #include <QDialog> 0022 #include <QWidget> 0023 0024 // Local includes 0025 0026 #include "ui_advprintcustomlayout.h" 0027 0028 namespace DigikamGenericPrintCreatorPlugin 0029 { 0030 0031 class AdvPrintCustomLayoutDlg : public QDialog, 0032 public Ui::AdvPrintCustomLayout 0033 { 0034 Q_OBJECT 0035 0036 public: 0037 0038 explicit AdvPrintCustomLayoutDlg(QWidget* const parent = nullptr); 0039 ~AdvPrintCustomLayoutDlg() override; 0040 0041 void readSettings(); 0042 void saveSettings(); 0043 0044 private: 0045 0046 enum CustomChoice 0047 { 0048 PHOTO_GRID = 1, 0049 FIT_AS_MANY_AS_POSSIBLE = 2 0050 }; 0051 }; 0052 0053 } // namespace DigikamGenericPrintCreatorPlugin 0054 0055 #endif // DIGIKAM_ADV_PRINT_CUSTOM_DLG_H