forked from qt-creator/qt-creator
QmlProjectManager: Update landing page
* Make landing page responsive * Use QtCreator welcome page theme colors * Remove CMake from landing page * Separate colors from values to make mocking data less redundant * Add quick version to qt version check * Use qml singleton for backend instead of using the root context item Change-Id: Ic303d4713c348e34197716031b303720702f3e98 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
e3cfbc0a7b
commit
85cd97a334
@@ -49,21 +49,16 @@ public:
|
||||
static Utils::FilePaths rootCmakeFiles();
|
||||
static QString qtVersion(const Utils::FilePath &projectFilePath);
|
||||
static QString qdsVersion(const Utils::FilePath &projectFilePath);
|
||||
static void openInQDSWithProject(const Utils::FilePath &filePath);
|
||||
static const QString readFileContents(const Utils::FilePath &filePath);
|
||||
|
||||
public slots:
|
||||
void editorModeChanged(Utils::Id newMode, Utils::Id oldMode);
|
||||
void openQtc(bool permanent = false);
|
||||
void openQds(bool permanent = false);
|
||||
void installQds();
|
||||
void generateCmake();
|
||||
void generateProjectFile();
|
||||
|
||||
private:
|
||||
static void openInQDSWithProject(const Utils::FilePath &filePath);
|
||||
static const QString readFileContents(const Utils::FilePath &filePath);
|
||||
|
||||
bool initialize(const QStringList &arguments, QString *errorString) final;
|
||||
void initializeQmlLandingPage();
|
||||
void displayQmlLandingPage();
|
||||
void hideQmlLandingPage();
|
||||
void updateQmlLandingPageProjectInfo(const Utils::FilePath &projectFile);
|
||||
|
||||
Reference in New Issue
Block a user