swift
Loading...
Searching...
No Matches
enablefordockwidgetinfoarea.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2013 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_GUI_ENABLEFORDOCKWIDGETINFOAREA_H
7#define SWIFT_GUI_ENABLEFORDOCKWIDGETINFOAREA_H
8
11
12class QWidget;
13
14namespace swift::gui
15{
18 class CInfoArea;
19
23 {
24 public:
27
30
33 virtual bool setParentDockWidgetInfoArea(CDockWidgetInfoArea *parentDockableWidget);
34
36 CInfoArea *getParentInfoArea() const;
37
39 bool isParentDockWidgetFloating() const;
40
42 bool isVisibleWidget() const;
43
45 CEnableForFramelessWindow *mainApplicationWindow() const;
46
48 QWidget *mainApplicationWindowWidget() const;
49
51 void displayMyself();
52
53 protected:
56 CEnableForDockWidgetInfoArea(CDockWidgetInfoArea *parentInfoArea = nullptr);
57
59 virtual ~CEnableForDockWidgetInfoArea() = default;
60
63 };
64} // namespace swift::gui
65
66#endif // SWIFT_GUI_ENABLEFORDOCKWIDGETINFOAREA_H
Specialized class for dock widgets serving as info area.
Helper class: If a component is residing in an dockable widget. This class provides access to its inf...
virtual ~CEnableForDockWidgetInfoArea()=default
Destructor.
CEnableForDockWidgetInfoArea(CDockWidgetInfoArea *parentInfoArea=nullptr)
Constructor.
CDockWidgetInfoArea * m_parentDockableInfoArea
my parent dockable widget
swift::misc::CConnectionGuard m_connections
connections
CDockWidgetInfoArea * getDockWidgetInfoArea() const
Corresponding dockable widget in info area.
Main window which can be frameless.
Info area, hosting dockable widgets.
Definition infoarea.h:41
List of QMetaObject::Connection.
GUI related classes.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.