mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Ref T220, renamed some main window / widget functions
Make clearer if dealing with a window or widget
This commit is contained in:
@@ -109,7 +109,8 @@ namespace BlackGui
|
||||
void processEventsToRefreshGui() const;
|
||||
|
||||
//! Init the main application window based on information in this application
|
||||
void initMainApplicationWindow(QWidget *mainWindow);
|
||||
//! \remark can be QDialog, QMainWindow
|
||||
void initMainApplicationWidget(QWidget *mainWidget);
|
||||
|
||||
//! Set window flag on main application window
|
||||
void addWindowFlags(Qt::WindowFlags flags);
|
||||
@@ -193,8 +194,11 @@ namespace BlackGui
|
||||
//! \note Pixmap requires a valid QApplication, so it cannot be passed as constructor parameter
|
||||
static void setWindowIcon(const QPixmap &icon);
|
||||
|
||||
//! \copydoc BlackGui::CGuiUtility::mainApplicationWidget
|
||||
static QWidget *mainApplicationWidget();
|
||||
|
||||
//! Main application window
|
||||
static QWidget *mainApplicationWindow();
|
||||
static QMainWindow *mainApplicationWindow();
|
||||
|
||||
//! Main window access interface
|
||||
static BlackGui::IMainWindowAccess *mainWindowAccess();
|
||||
|
||||
Reference in New Issue
Block a user