forked from qt-creator/qt-creator
CppEditor: Use new construction pattern for project panels
Change-Id: I60dffd8fb7c00671054b5e229ba8c0a0cb622b1d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3,35 +3,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cppquickfixprojectsettings.h"
|
||||
#include <projectexplorer/projectsettingswidget.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QPushButton;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace ProjectExplorer { class Project; }
|
||||
|
||||
namespace CppEditor::Internal {
|
||||
|
||||
class CppQuickFixSettingsWidget;
|
||||
class CppQuickFixProjectSettingsWidget : public ProjectExplorer::ProjectSettingsWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CppQuickFixProjectSettingsWidget(ProjectExplorer::Project *project,
|
||||
QWidget *parent = nullptr);
|
||||
~CppQuickFixProjectSettingsWidget();
|
||||
|
||||
private:
|
||||
void currentItemChanged(bool useGlobalSettings);
|
||||
void buttonCustomClicked();
|
||||
|
||||
CppQuickFixSettingsWidget *m_settingsWidget;
|
||||
CppQuickFixProjectsSettings::CppQuickFixProjectsSettingsPtr m_projectSettings;
|
||||
|
||||
QPushButton *m_pushButton;
|
||||
};
|
||||
void setupCppQuickFixProjectPanel();
|
||||
|
||||
} // CppEditor::Internal
|
||||
|
||||
Reference in New Issue
Block a user