aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine/qsspage.h
blob: 1fe0ed7389df2224762bccb2d7ffafe893bb8d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef QSSPAGE_H
#define QSSPAGE_H

#include "tabpage.h"

namespace Ui {
class QSSPage;
}

class QListWidgetItem;
class QMenu;

class QSSPage : public TabPage
{
    Q_OBJECT

public:
    explicit QSSPage(QWidget *parent = 0);
    ~QSSPage();

    void writeSettings();

private slots:
    void on_qssListWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *);
    void on_createButton_clicked();
    void on_editButton_clicked();
    void on_removeButton_clicked();
    void on_renameButton_clicked();
    void on_qssListWidget_customContextMenuRequested(const QPoint &pos);

private:
    void readSettings();
    void findStyleSheets(const QString &path);
    Ui::QSSPage *m_ui;
    QMenu *m_menu;
};

#endif // QSSPAGE_H
bgstack15