Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CFrameBin.hpp
Go to the documentation of this file.
1#ifndef LIBS_GUI_CFRAMEBIN_HPP_
2#define LIBS_GUI_CFRAMEBIN_HPP_
3
5
6#include <string>
7
9class IWidget;
10
19{
20public:
21 explicit CFrameBin(const std::string &label);
22 ~CFrameBin() override;
23 CFrameBin() = delete;
24 CFrameBin(const CFrameBin &other) = delete;
25 CFrameBin(CFrameBin &&other) = delete;
26 CFrameBin &operator=(const CFrameBin &other) = delete;
27 CFrameBin &operator=(CFrameBin &&other) = delete;
28
29 void destroyWidget() override;
30
32
33 void setContainedComponent(AbstractComponentGUI *containedComponent);
34
35 [[nodiscard]] const AbstractComponentGUI *getContainedComponent() const;
37
38private:
39 IWidget *createWidget(CDialog *dialogFatherRef) override;
40
41 std::string m_label;
44};
45
46#endif /* LIBS_GUI_CFRAMEBIN_HPP_ */
Definition AbstractComponentGUI.hpp:30
Definition CDialog.hpp:21
Definition CFrameBin.hpp:19
AbstractComponentGUI * m_containedComponent
Definition CFrameBin.hpp:42
CFrameBin()=delete
const AbstractComponentGUI * getContainedComponent() const
Definition CFrameBin.cpp:84
~CFrameBin() override
Definition CFrameBin.cpp:43
CFrameBin & operator=(const CFrameBin &other)=delete
CFrameBin(CFrameBin &&other)=delete
CFrameBin & operator=(CFrameBin &&other)=delete
IWidget * m_widgetRef
Definition CFrameBin.hpp:43
std::string m_label
Definition CFrameBin.hpp:41
void setContainedComponent(AbstractComponentGUI *containedComponent)
Definition CFrameBin.cpp:75
void destroyWidget() override
Definition CFrameBin.cpp:54
IWidget * createWidget(CDialog *dialogFatherRef) override
Definition CFrameBin.cpp:98
void updateContainedComponent()
Definition CFrameBin.cpp:65
CFrameBin(const CFrameBin &other)=delete
Definition IComponentsGUI.hpp:37
Definition IWidget.hpp:5