ACF $AcfVersion:0$
IViewExtender.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
6#include <istd/IPolymorphic.h>
7
8
9namespace iqt2d
10{
11
12
13class IViewProvider;
14
15
19class IViewExtender: virtual public istd::IPolymorphic
20{
21public:
26 {
34 SF_DIRECT = 2
35 };
36
40 virtual void AddItemsToScene(IViewProvider* providerPtr, int flags) = 0;
41
45 virtual void RemoveItemsFromScene(IViewProvider* providerPtr) = 0;
46};
47
48
49} // namespace iqt2d
50
51
52
53
Interface for GUI objects presenting its results using extern view objects.
virtual void RemoveItemsFromScene(IViewProvider *providerPtr)=0
Called when items should be removed from specified scene.
virtual void AddItemsToScene(IViewProvider *providerPtr, int flags)=0
Called when items should be added to specified scene.
SceneFlags
Standard flags for items .
@ SF_DIRECT
This flag is set if this objects are added in direct call and will be reseted by delegation call to s...
@ SF_BACKGROUND
This flag is active if only shown elements will be used as background for other elements.
Interface for GUI objects managing view.
Base interface for all used interfaces and implementations.
This package contains Qt based implementations for 2D graphic objects.