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:
@@ -25,6 +25,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/projectsettingswidget.h>
|
||||
|
||||
#include <QTimer>
|
||||
#include <QWidget>
|
||||
|
||||
@@ -45,12 +47,13 @@ namespace Internal {
|
||||
|
||||
class TestProjectSettings;
|
||||
|
||||
class ProjectTestSettingsWidget : public QWidget
|
||||
class ProjectTestSettingsWidget : public ProjectExplorer::ProjectSettingsWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ProjectTestSettingsWidget(ProjectExplorer::Project *project,
|
||||
QWidget *parent = nullptr);
|
||||
|
||||
private:
|
||||
void populateFrameworks(const QHash<Autotest::ITestFramework *, bool> &frameworks,
|
||||
const QHash<Autotest::ITestTool *, bool> &testTools);
|
||||
|
||||
Reference in New Issue
Block a user