ui: Added more settings to the preferences

Added font face, font size, tab width, analysis threads
This commit is contained in:
Eberhard Graether
2016-05-18 11:15:28 +02:00
parent e40459e71d
commit e943ef149e
7 changed files with 173 additions and 1 deletions
@@ -0,0 +1,32 @@
#ifndef QT_PROJECT_WIZZARD_CONTENT_PREFERENCES_H
#define QT_PROJECT_WIZZARD_CONTENT_PREFERENCES_H
#include <QComboBox>
#include <QLineEdit>
#include "qt/window/project_wizzard/QtProjectWizzardContent.h"
class QtProjectWizzardContentPreferences
: public QtProjectWizzardContent
{
Q_OBJECT
public:
QtProjectWizzardContentPreferences(ProjectSettings* settings, QtProjectWizzardWindow* window);
// QtProjectWizzardContent implementation
virtual void populateWindow(QGridLayout* layout) override;
virtual void populateForm(QGridLayout* layout, int& row) override;
virtual void load() override;
virtual void save() override;
virtual bool check() override;
private:
QLineEdit* m_fontFace;
QComboBox* m_fontSize;
QComboBox* m_tabWidth;
QComboBox* m_threads;
};
#endif // QT_PROJECT_WIZZARD_CONTENT_PREFERENCES_H