ACF $AcfVersion:0$
CExtendedConsoleGuiComp.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
8#include <GeneratedFiles/iqt2d/ui_CExtendedConsoleGuiComp.h>
9
10
11namespace iqt2d
12{
13
14
15class CExtendedConsoleGuiComp: public iqtgui::TDesignerGuiCompBase<Ui::CExtendedConsoleGuiComp>
16{
17public:
19
20 I_BEGIN_COMPONENT(CExtendedConsoleGuiComp);
21 I_ASSIGN(m_viewProviderGuiCompPtr, "ViewProvider", "Provider of the 2D-View", true, "ViewProvider");
22 I_ASSIGN(m_toolBarCompPtr, "ToolBar", "Tool bar showing the commands of the view provider", false, "ToolBar");
23 I_ASSIGN(m_statusInfoGuiCompPtr, "StatusInfoGui", "UI for status information of the 2D-console", false, "StatusInfoGui");
24 I_ASSIGN(m_isFloatingToolbarAttr, "FloatingToolbar", "Makes the toolbar floating", true, false);
25 I_END_COMPONENT;
26
27protected:
28 // reimplemented (CGuiComponentBase)
29 virtual void OnGuiCreated() override;
30 virtual void OnGuiDestroyed() override;
31
32 // reimplemented (QObject)
33 virtual bool eventFilter(QObject* sourcePtr, QEvent* eventPtr) override;
34
35private:
36 I_REF(iqtgui::IGuiObject, m_viewProviderGuiCompPtr);
37 I_REF(iqtgui::IGuiObject, m_toolBarCompPtr);
38 I_REF(iqtgui::IGuiObject, m_statusInfoGuiCompPtr);
39 I_ATTR(bool, m_isFloatingToolbarAttr);
40};
41
42
43} // namespace iqt2d
44
45
iqtgui::TDesignerGuiCompBase< Ui::CExtendedConsoleGuiComp > BaseClass
virtual void OnGuiCreated() override
Called just after GUI is initialized.
virtual bool eventFilter(QObject *sourcePtr, QEvent *eventPtr) override
virtual void OnGuiDestroyed() override
Called just before GUI is released.
Common interface for GUI objects used in ACF component context.
Definition IGuiObject.h:133
Base class for all Qt GUI components, which use the Qt designer's UI.
This package contains Qt based implementations for 2D graphic objects.