forked from qt-creator/qt-creator
Open only designer related project files in Design Studio
DocumentManager::setFileDialogFilter allows overriding the open Project/File filter. In QDS we only allow the relevant suffixes. Task-number: QDS-5825 Change-Id: I6cdc0f15628a215edc41cdaeb485bd17e08ef4ec Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -142,6 +142,10 @@ public:
|
||||
lead to any editors to reload or any other editor manager actions. */
|
||||
static void notifyFilesChangedInternally(const Utils::FilePaths &filePaths);
|
||||
|
||||
static void setFileDialogFilter(const QString &filter);
|
||||
|
||||
static QString fileDialogFilter(QString *selectedFilter = nullptr);
|
||||
|
||||
signals:
|
||||
/* Used to notify e.g. the code model to update the given files. Does *not*
|
||||
lead to any editors to reload or any other editor manager actions. */
|
||||
|
||||
Reference in New Issue
Block a user