forked from qt-creator/qt-creator
Add global notification area and use for UI Tour info
Adds a global info bar display above the main window's status bar that can be accessed via ICore::infoBar(). Replace the blocking "Take UI Tour" dialog by a notification there. Fixes: QTCREATORBUG-22819 Change-Id: I733f1bfd2d1db0295754ed2e28bb202f927d0edb Reviewed-by: hjk <hjk@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
@@ -43,9 +43,10 @@ template <typename T> class QList;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
class IWizardFactory;
|
||||
class Context;
|
||||
class IContext;
|
||||
class InfoBar;
|
||||
class IWizardFactory;
|
||||
class SettingsDatabase;
|
||||
|
||||
namespace Internal { class MainWindow; }
|
||||
@@ -107,6 +108,8 @@ public:
|
||||
static QMainWindow *mainWindow();
|
||||
static QWidget *dialogParent();
|
||||
static QStatusBar *statusBar();
|
||||
static InfoBar *infoBar();
|
||||
|
||||
/* Raises and activates the window for the widget. This contains workarounds for X11. */
|
||||
static void raiseWindow(QWidget *widget);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user