forked from qt-creator/qt-creator
QmlProject: Add mainFile property
The mainFile property of QmlProject is the default file to run. People have still the opportunity to override this in their run settings, though. The wizard generated code was updated accordingly. Note that this makes projects generated by the wizard incompatible with QtCreator 2.1! Task-number: QTCREATORBUG-3249
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include <QWidget>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QComboBox);
|
||||
QT_FORWARD_DECLARE_CLASS(QStringListModel);
|
||||
QT_FORWARD_DECLARE_CLASS(QStandardItemModel);
|
||||
|
||||
namespace ProjectExplorer {
|
||||
|
||||
@@ -58,11 +58,11 @@ public:
|
||||
public slots:
|
||||
void updateQtVersionComboBox();
|
||||
void userEnvironmentChangesChanged();
|
||||
|
||||
private slots:
|
||||
void updateFileComboBox();
|
||||
|
||||
void setMainScript(const QString &file);
|
||||
private slots:
|
||||
|
||||
void setMainScript(int index);
|
||||
void onQtVersionSelectionChanged();
|
||||
void onViewerArgsChanged();
|
||||
void useCppDebuggerToggled(bool toggled);
|
||||
@@ -78,7 +78,7 @@ private:
|
||||
|
||||
QComboBox *m_qtVersionComboBox;
|
||||
QComboBox *m_fileListCombo;
|
||||
QStringListModel *m_fileListModel;
|
||||
QStandardItemModel *m_fileListModel;
|
||||
|
||||
ProjectExplorer::EnvironmentWidget *m_environmentWidget;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user