theshell/choosebackground.h

44 lines
784 B
C
Raw Normal View History

2016-04-19 20:21:17 +10:00
#ifndef CHOOSEBACKGROUND_H
#define CHOOSEBACKGROUND_H
#include <QDialog>
2016-07-01 14:01:19 +10:00
#include <QSvgRenderer>
#include "background.h"
2016-04-19 20:21:17 +10:00
namespace Ui {
class ChooseBackground;
}
class ChooseBackground : public QDialog
{
Q_OBJECT
public:
explicit ChooseBackground(QWidget *parent = 0);
~ChooseBackground();
2016-07-01 14:01:19 +10:00
signals:
void reloadBackgrounds();
private slots:
void on_lineEdit_textChanged(const QString &arg1);
void on_radioButton_2_toggled(bool checked);
void on_radioButton_toggled(bool checked);
void on_listWidget_currentRowChanged(int currentRow);
void on_pushButton_clicked();
void on_pushButton_2_clicked();
2016-04-19 20:21:17 +10:00
private:
Ui::ChooseBackground *ui;
2016-07-01 14:01:19 +10:00
QIcon getSvgIcon(QString filename);
QSettings settings;
2016-04-19 20:21:17 +10:00
};
#endif // CHOOSEBACKGROUND_H