2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2017-12-03 18:47:41 +01:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2017-2018 Adriaan de Groot <groot@kde.org>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2017-12-03 18:47:41 +01:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2017-12-03 18:47:41 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PLASMALNFPAGE_H
|
|
|
|
#define PLASMALNFPAGE_H
|
|
|
|
|
2017-12-13 16:28:31 +01:00
|
|
|
#include <QButtonGroup>
|
2017-12-04 12:44:37 +01:00
|
|
|
#include <QList>
|
|
|
|
#include <QString>
|
2017-12-04 18:27:30 +01:00
|
|
|
#include <QStringList>
|
2017-12-03 18:47:41 +01:00
|
|
|
#include <QWidget>
|
|
|
|
|
2017-12-12 11:42:35 +01:00
|
|
|
#include "ThemeInfo.h"
|
2017-12-13 16:28:31 +01:00
|
|
|
#include "ThemeWidget.h"
|
2017-12-12 11:42:35 +01:00
|
|
|
|
2017-12-03 18:47:41 +01:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class PlasmaLnfPage;
|
|
|
|
}
|
|
|
|
|
2020-11-16 23:36:32 +01:00
|
|
|
class Config;
|
|
|
|
|
2017-12-19 12:51:56 +01:00
|
|
|
/** @brief Page for selecting a Plasma Look-and-Feel theme.
|
|
|
|
*
|
|
|
|
* You must call setEnabledThemes -- either overload -- once
|
|
|
|
* to get the selection widgets. Note that calling that with
|
|
|
|
* an empty list will result in zero (0) selectable themes.
|
|
|
|
*/
|
2017-12-03 18:47:41 +01:00
|
|
|
class PlasmaLnfPage : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2020-11-16 23:36:32 +01:00
|
|
|
explicit PlasmaLnfPage( Config* config, QWidget* parent = nullptr );
|
2017-12-03 21:41:52 +01:00
|
|
|
|
2017-12-03 18:47:41 +01:00
|
|
|
private:
|
|
|
|
Ui::PlasmaLnfPage* ui;
|
2020-11-16 23:36:32 +01:00
|
|
|
Config* m_config;
|
2017-12-03 18:47:41 +01:00
|
|
|
};
|
|
|
|
|
2020-08-22 01:19:58 +02:00
|
|
|
#endif //PLASMALNFPAGE_H
|