⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (476 Bytes)
How to use Signals? // How to communicate between Objects?
» TLayout.cpp
Quirin Schwanse
, 11/07/2018 10:21 PM
#include
"TLayout.h"
TLayout
::
TLayout
()
:
WTemplate
{
tr
(
"tpl.LAYOUT"
)
}
{
Section
=
0
;
//Default-Value for Section
//Binding Widgets to Page:
mPageHead
=
bindWidget
(
"PAGEHEAD"
,
make_unique
<
WPageHead
>
());
mNavigation
=
bindWidget
(
"NAVIGATION"
,
make_unique
<
WNavigation
>
(
this
));
}
void
TLayout
::
switchSection
(
int
aSec
)
{
*
Section
=
aSec
;
std
::
cout
<<
"The Section is: "
<<
aSec
<<
std
::
endl
;
}
TLayout
::~
TLayout
()
{
//Free da Memory!! :D
}
« Previous
1
2
3
4
Next »
(2-2/4)
Loading...