ACF $AcfVersion:0$
CToolBarWidgetGuiComp.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
7
8
9namespace iqtgui
10{
11
12
17{
18public:
20
21
22 I_BEGIN_COMPONENT(CToolBarWidgetGuiComp);
23 I_REGISTER_INTERFACE(iqtgui::IMainWindowComponent);
24 I_ASSIGN(m_toolbarWidgetCompPtr, "ToolBarWidget", "Widget to place into the tool bar", true, "ToolBarWidget");
25 I_END_COMPONENT;
26
27protected:
28 // reimplemented (CGuiComponentBase)
29 virtual void OnGuiCreated() override;
30 virtual void OnGuiDestroyed() override;
31
32private:
33 I_REF(iqtgui::IGuiObject, m_toolbarWidgetCompPtr);
34};
35
36
37} // namespace iqtgui
38
39
40
Basic implementation of a tool bar component.
Component for construction of a tool bar with an inserted widget.
virtual void OnGuiDestroyed() override
Called just before GUI is released.
virtual void OnGuiCreated() override
Called just after GUI is initialized.
Common interface for GUI objects used in ACF component context.
Definition IGuiObject.h:133
A common interface for main window component such as dock widget, tool bar and so on.
Standard GUI specific interfaces and components based on Qt.