GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ChildWindow.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
BaseComposites/StandardComposites/BaseChildWindow.h
"
4
#include "
Interfaces/Components/IResizableComponent.h
"
5
6
namespace
gui_framework
7
{
9
class
GUI_FRAMEWORK_API
ChildWindow
:
10
public
BaseChildWindow
,
11
public
interfaces::IResizableComponent
12
{
13
public
:
14
ChildWindow
(
const
std::wstring& className,
const
std::wstring& windowName,
const
utility::ComponentSettings
& settings,
BaseComposite
* parent,
const
std::string& windowFunctionName =
""
);
15
18
std::unique_ptr<Menu>& createMainMenu(
const
std::wstring& menuName)
override
;
19
22
Menu
& addPopupMenu(
const
std::wstring& menuName)
override
;
23
26
void
removePopupMenus(
const
std::wstring& menuName)
override
;
27
28
size_t
getHash()
const override
;
29
30
~ChildWindow
() =
default
;
31
};
32
}
BaseChildWindow.h
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
IResizableComponent.h
gui_framework::BaseChildWindow
Base class for all nested windows.
Definition
BaseChildWindow.h:9
gui_framework::BaseComposite
Base class for all windows that has children windows.
Definition
BaseComposite.h:23
gui_framework::ChildWindow
Standard child window.
Definition
ChildWindow.h:12
gui_framework::ChildWindow::~ChildWindow
~ChildWindow()=default
gui_framework::Menu
Menu class.
Definition
Menu.h:9
gui_framework::interfaces::IResizableComponent
Provides resize, setBlockResize, getBlockResize methods.
Definition
IResizableComponent.h:11
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::utility::ComponentSettings
All settings for windows.
Definition
ComponentSettings.h:11
GUIFramework
src
Composites
ChildWindow.h
Generated by
1.12.0