File indexing completed on 2024-05-19 05:35:24
0001 /* 0002 This file was part of KDevPlatform and now of Oxygen 0003 SPDX-FileCopyrightText: 2016 Zhigalin Alexander <alexander@zhigalin.tk> 0004 0005 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0006 */ 0007 0008 #ifndef COLORSCHEMECHOOSER_H 0009 #define COLORSCHEMECHOOSER_H 0010 0011 #include <QAction> 0012 #include <QObject> 0013 #include <QPushButton> 0014 #include <QString> 0015 0016 namespace Oxygen 0017 { 0018 /** 0019 * Provides a menu that will offer to change the color scheme 0020 * 0021 * Furthermore, it will save the selection in the user configuration. 0022 */ 0023 class ColorSchemeChooser : public QPushButton 0024 { 0025 Q_OBJECT 0026 public: 0027 explicit ColorSchemeChooser(QWidget *parent); 0028 }; 0029 0030 } // namespace Oxygen 0031 0032 #endif // COLORSCHEMECHOOSER_H