44 lines
888 B
C++
44 lines
888 B
C++
#ifndef QT_APPLICATION_SETTINGS_SCREEN_H
|
|
#define QT_APPLICATION_SETTINGS_SCREEN_H
|
|
|
|
#include <QPushButton>
|
|
#include <QWidget>
|
|
|
|
#include "utility/file/FilePath.h"
|
|
|
|
#include "qt/element/QtDirectoryListBox.h"
|
|
#include "qt/window/QtSettingsWindow.h"
|
|
|
|
class QtApplicationSettingsScreen
|
|
: public QtSettingsWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QtApplicationSettingsScreen(QWidget* parent = 0);
|
|
QSize sizeHint() const Q_DECL_OVERRIDE;
|
|
|
|
virtual void setup() override;
|
|
|
|
void load();
|
|
|
|
protected:
|
|
virtual void populateForm(QFormLayout* layout) override;
|
|
|
|
private slots:
|
|
void handleCancelButtonPress();
|
|
void handleUpdateButtonPress();
|
|
|
|
void handleIncludePathHelpPress();
|
|
void handleFrameworkPathHelpPress();
|
|
|
|
private:
|
|
QPushButton* m_cancelButton;
|
|
QPushButton* m_updateButton;
|
|
|
|
QtDirectoryListBox* m_includePaths;
|
|
QtDirectoryListBox* m_frameworkPaths;
|
|
};
|
|
|
|
#endif //QT_APPLICATION_SETTINGS_SCREEN_H
|