forked from qt-creator/qt-creator
ProjectExplorer: Add a common template for project settings
- Added base widget class for common options among project settings tabs - Added usage new template class to all pages used in project settings ToDo - Make CodeStyle tab standardized Change-Id: I8f70413b6ee764c5e43fbeae104b9389237c582f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "cppquickfixprojectsettings.h"
|
||||
#include <projectexplorer/projectsettingswidget.h>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
@@ -38,7 +39,7 @@ namespace ProjectExplorer { class Project; }
|
||||
namespace CppEditor {
|
||||
namespace Internal {
|
||||
class CppQuickFixSettingsWidget;
|
||||
class CppQuickFixProjectSettingsWidget : public QWidget
|
||||
class CppQuickFixProjectSettingsWidget : public ProjectExplorer::ProjectSettingsWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -48,12 +49,10 @@ public:
|
||||
~CppQuickFixProjectSettingsWidget();
|
||||
|
||||
private slots:
|
||||
void currentItemChanged();
|
||||
void currentItemChanged(bool useGlobalSettings);
|
||||
void buttonCustomClicked();
|
||||
|
||||
private:
|
||||
bool useGlobalSettings();
|
||||
|
||||
QT_PREPEND_NAMESPACE(Ui)::CppQuickFixProjectSettingsWidget *ui;
|
||||
CppQuickFixSettingsWidget *m_settingsWidget;
|
||||
CppQuickFixProjectsSettings::CppQuickFixProjectsSettingsPtr m_projectSettings;
|
||||
|
||||
Reference in New Issue
Block a user