Files
qt-creator/src/plugins/qmlprojectmanager/cmakegen/cmakegeneratordialog.h
Lucie Gérard a7956df3ca Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-26 12:27:18 +00:00

49 lines
1.1 KiB
C++

// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#ifndef CMAKEGENERATORDIALOG_H
#define CMAKEGENERATORDIALOG_H
#include "cmakegeneratordialogtreemodel.h"
#include <utils/fileutils.h>
#include <QDialog>
#include <QTextEdit>
#include <QTreeView>
#include <QLabel>
namespace QmlProjectManager {
namespace GenerateCmake {
class CmakeGeneratorDialog : public QDialog
{
Q_OBJECT
public:
CmakeGeneratorDialog(const Utils::FilePath &rootDir, const Utils::FilePaths &files);
Utils::FilePaths getFilePaths();
public slots:
void refreshNotificationText();
void advancedVisibilityChanged(bool visible);
private:
QTreeView* createFileTree();
QWidget* createDetailsWidget();
QWidget* createButtons();
private:
CMakeGeneratorDialogTreeModel *m_model;
QTextEdit *m_notifications;
QVariant m_warningIcon;
Utils::FilePath m_rootDir;
Utils::FilePaths m_files;
};
} //GenerateCmake
} //QmlProjectManager
#endif // CMAKEGENERATORDIALOG_H