File indexing completed on 2025-07-13 03:33:01

0001 /*
0002     File                 : ThemesWidget.h
0003     Project              : LabPlot
0004     Description          : widget for selecting themes
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2016 Prakriti Bhardwaj <p_bhardwaj14@informatik.uni-kl.de>
0007     SPDX-FileCopyrightText: 2016 Alexander Semke <alexander.semke@web.de>
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #ifndef THEMESWIDGET_H
0012 #define THEMESWIDGET_H
0013 
0014 #include <QListView>
0015 
0016 class ThemesWidget : public QListView {
0017     Q_OBJECT
0018 
0019 public:
0020     explicit ThemesWidget(QWidget*);
0021     void setFixedMode();
0022 
0023 Q_SIGNALS:
0024     void themeSelected(const QString&);
0025     void canceled();
0026 
0027 private Q_SLOTS:
0028     void applyClicked(const QModelIndex&);
0029     //  void downloadThemes();
0030 };
0031 
0032 #endif // THEMESWIDGET_H