mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
refs #347, CMainWindow for frameless main windows
This commit is contained in:
committed by
Roland Winklmeier
parent
facbefeeea
commit
42a4e0b48b
@@ -13,6 +13,7 @@
|
||||
#define BLACKGUI_INFOAREA_H
|
||||
|
||||
#include "dockwidgetinfoarea.h"
|
||||
#include "enableforframelesswindow.h"
|
||||
#include <QMainWindow>
|
||||
#include <QTabBar>
|
||||
#include <QPixmap>
|
||||
@@ -22,7 +23,7 @@ namespace BlackGui
|
||||
{
|
||||
//! Info area, hosting dockable widgets
|
||||
//! \sa CDockWidgetInfoArea
|
||||
class CInfoArea : public QMainWindow
|
||||
class CInfoArea : public QMainWindow, CEnableForFramelessWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -182,11 +183,11 @@ namespace BlackGui
|
||||
void setMarginsWhenDocked(int left, int top, int right, int bottom);
|
||||
|
||||
//! Nested info areas
|
||||
QList<CInfoArea *> getChildInfoAreas() { return this->findChildren<CInfoArea *>(); }
|
||||
QList<CInfoArea *> getChildInfoAreas() const { return this->findChildren<CInfoArea *>(); }
|
||||
|
||||
//! Direct dock widget areas, not the nested dock widget areas
|
||||
//! \remarks result stored in m_dockableWidgets
|
||||
QList<CDockWidgetInfoArea *> initOwnDockWidgetInfoAreas();
|
||||
QList<CDockWidgetInfoArea *> findOwnDockWidgetInfoAreas() const;
|
||||
|
||||
private slots:
|
||||
//! Tab bar has been double clicked
|
||||
|
||||
Reference in New Issue
Block a user