You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
651 B
33 lines
651 B
#ifndef QGCSETTINGSWIDGET_H |
|
#define QGCSETTINGSWIDGET_H |
|
|
|
#include <QDialog> |
|
#include "MainWindow.h" |
|
|
|
namespace Ui |
|
{ |
|
class QGCSettingsWidget; |
|
} |
|
|
|
class QGCSettingsWidget : public QDialog |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
QGCSettingsWidget(JoystickInput *joystick, QWidget *parent = 0, Qt::WindowFlags flags = Qt::Sheet); |
|
~QGCSettingsWidget(); |
|
|
|
public slots: |
|
void styleChanged(int index); |
|
void lineEditFinished(); |
|
void setDefaultStyle(); |
|
void selectStylesheet(); |
|
void selectCustomMode(int mode); |
|
|
|
private: |
|
MainWindow* mainWindow; |
|
Ui::QGCSettingsWidget* ui; |
|
bool updateStyle(QString style); |
|
}; |
|
|
|
#endif // QGCSETTINGSWIDGET_H
|
|
|