File indexing completed on 2024-04-14 03:59:43

0001 /*
0002     This file is part of Killbots.
0003 
0004     SPDX-FileCopyrightText: 2009 Parker Coates <coates@kde.org>
0005 
0006     SPDX-License-Identifier: GPL-2.0-or-later
0007 */
0008 
0009 #ifndef KILLBOTS_RULESETDETAILSDIALOG_H
0010 #define KILLBOTS_RULESETDETAILSDIALOG_H
0011 
0012 #include <QDialog>
0013 
0014 #include <QMap>
0015 class QLabel;
0016 
0017 namespace Killbots
0018 {
0019 class Ruleset;
0020 
0021 class RulesetDetailsDialog : public QDialog
0022 {
0023 public:
0024     explicit RulesetDetailsDialog(QWidget *parent = nullptr);
0025     void loadRuleset(const Ruleset *ruleset);
0026 
0027 private:
0028 //      static const QStringList maskedItems;
0029 //      static const QStringList junkheapEnumText;
0030 
0031     QMap<QString, QLabel *> m_labels;
0032     QWidget *mMainWidget;
0033 };
0034 
0035 }
0036 
0037 #endif // KILLBOTS_RULESETDETAILSDIALOG_H