⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (502 Bytes)
Bug #3810
» myapplication.cpp
Erhan Aydın
, 02/20/2015 11:14 AM
#include
"myapplication.h"
#include
<Wt/WVBoxLayout>
#include
<Wt/WContainerWidget>
MyApplication
::
MyApplication
(
const
WEnvironment
&
environment
)
:
WApplication
(
environment
)
{
WVBoxLayout
*
rootLayout
=
new
WVBoxLayout
();
root
()
->
setLayout
(
rootLayout
);
WContainerWidget
*
container
=
new
WContainerWidget
(
root
());
container
->
decorationStyle
().
setBackgroundColor
(
WColor
(
"black"
));
container
->
setMinimumSize
(
WLength
(
750
),
WLength
(
470
));
rootLayout
->
addWidget
(
container
);
}
« Previous
1
2
Next »
(1-1/2)
Loading...