1 /* 2 SPDX-FileCopyrightText: 2007 Nicolas Ternisien <nicolas.ternisien@gmail.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include <QString> 10 #include <QWidget> 11 12 class QButtonGroup; 13 class QVBoxLayout; 14 class QGridLayout; 15 class QCheckBox; 16 class QLabel; 17 18 /** 19 @author Bojan Djurkovic 20 */ 21 class LevelPrintPage : public QWidget 22 { 23 public: 24 explicit LevelPrintPage(QWidget *parent = nullptr); 25 ~LevelPrintPage() override; 26 27 bool isValid(QString &msg); 28 29 private: 30 QButtonGroup *mBtnGroup = nullptr; 31 QGridLayout *mBtnGroupLayout = nullptr; 32 QVBoxLayout *mPageLayout = nullptr; 33 QLabel *mLblChoose = nullptr; 34 QList<QCheckBox *> mLevelCheckBoxes; 35 }; 36 37