2019-08-26 19:22:02 +08:00
|
|
|
#ifndef EXAMPLES_H
|
|
|
|
#define EXAMPLES_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2019-08-29 23:26:30 +08:00
|
|
|
#include <QStyleFactory>
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
#include "ExCustomStyle.h"
|
2019-08-26 19:22:02 +08:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class Examples;
|
|
|
|
}
|
|
|
|
|
|
|
|
class Examples : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit Examples(QWidget *parent = nullptr);
|
|
|
|
~Examples();
|
|
|
|
|
2019-08-29 23:26:30 +08:00
|
|
|
void init(); //获取当前系统支持的默认系统风格
|
|
|
|
private slots:
|
|
|
|
void on_comboBox_currentIndexChanged(const QString &style);
|
|
|
|
|
2019-08-26 19:22:02 +08:00
|
|
|
private:
|
|
|
|
Ui::Examples *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EXAMPLES_H
|