ICF 3.1.1.10
Technical documentation of ICF Libraries
CExtendedConsoleGuiComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// ICF includes
11
13
14#include <GeneratedFiles/i2dgui/ui_CExtendedConsoleGuiComp.h>
15
16
17namespace i2dgui
18{
19
20
21class CExtendedConsoleGuiComp: public istdgui::TDesignerGuiCompBase<Ui::CExtendedConsoleGuiComp>
22{
23public:
25
26 I_BEGIN_COMPONENT(CExtendedConsoleGuiComp);
27 I_ASSIGN(m_viewProviderGuiCompPtr, "ViewProvider", "Provider of the 2D-View", true, "ViewProvider");
28 I_ASSIGN(m_toolBarCompPtr, "ToolBar", "Tool bar showing the commands of the view provider", false, "ToolBar");
29 I_ASSIGN(m_statusInfoGuiCompPtr, "StatusInfoGui", "UI for status information of the 2D-console", false, "StatusInfoGui");
30 I_ASSIGN(m_isFloatingToolbarAttr, "FloatingToolbar", "Makes the toolbar floating", true, false);
31 I_END_COMPONENT;
32
33protected:
34 // reimplemented (CGuiComponentBase)
35 void OnGuiCreated() override;
36 void OnGuiDestroyed() override;
37
38 // reimplemented (QObject)
39 bool eventFilter(QObject* sourcePtr, QEvent* eventPtr) override;
40
41private:
42 I_REF(istdgui::IGuiObject, m_viewProviderGuiCompPtr);
43 I_REF(istdgui::IGuiObject, m_toolBarCompPtr);
44 I_REF(istdgui::IGuiObject, m_statusInfoGuiCompPtr);
45 I_ATTR(bool, m_isFloatingToolbarAttr);
46};
47
48
49} // namespace i2dgui
50
51
istdgui::TDesignerGuiCompBase< Ui::CExtendedConsoleGuiComp > BaseClass
void OnGuiDestroyed() override
Called just before GUI is released.
bool eventFilter(QObject *sourcePtr, QEvent *eventPtr) override
void OnGuiCreated() override
Called just after GUI is initialized.
Common interface for GUI objects using in component context.
Definition IGuiObject.h:27
Base class for all Qt GUI components, which use the Qt designer's UI.
This package contains Qt based implementations for 2D graphic objects.

© Witold Gantzke and Kirill Lepskiy