forked from qt-creator/qt-creator
Run "New ..." dialog as non-blocking, stay-on-top.
Task-number: QTCREATORBUG-6102 Change-Id: I384c37e5867ce1cbd6127e96c49cb7790298713c Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include "icontext.h"
|
||||
#include "icore.h"
|
||||
#include "dialogs/newdialog.h"
|
||||
|
||||
#include <utils/appmainwindow.h>
|
||||
|
||||
@@ -107,8 +108,12 @@ public:
|
||||
void setOverrideColor(const QColor &color);
|
||||
|
||||
void setIsFullScreen(bool fullScreen);
|
||||
|
||||
bool isNewItemDialogRunning() const;
|
||||
|
||||
signals:
|
||||
void windowActivated();
|
||||
void newItemDialogRunningChanged();
|
||||
|
||||
public slots:
|
||||
void newFile();
|
||||
@@ -148,6 +153,7 @@ private slots:
|
||||
void destroyVersionDialog();
|
||||
void openDelayedFiles();
|
||||
void restoreWindowState();
|
||||
void newItemDialogFinished();
|
||||
|
||||
private:
|
||||
void updateContextObject(const QList<IContext *> &context);
|
||||
@@ -179,6 +185,7 @@ private:
|
||||
RightPaneWidget *m_rightPaneWidget;
|
||||
Core::StatusBarWidget *m_outputView;
|
||||
VersionDialog *m_versionDialog;
|
||||
QPointer<NewDialog> m_newDialog;
|
||||
|
||||
QList<IContext *> m_activeContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user