⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (1.02 KB)
Support #1340
» 1main.cpp
Paweł Grzybowski
, 06/28/2012 09:42 PM
#include
<Wt/WApplication>
#include
<Wt/WEnvironment>
#include
<Wt/WMenu>
#include
<Wt/WSubMenuItem>
#include
<Wt/WStackedWidget>
#include
<Wt/WText>
#include
<Wt/WWidget>
#include
<Wt/WTable>
#include
<Wt/WLabel>
#include
<Wt/WLineEdit>
#include
<Wt/WComboBox>
#include
<Wt/WPushButton>
#include
<Wt/Dbo/Session>
#include
<Wt/Dbo/Dbo>
#include
<Wt/Dbo/backend/Sqlite3>
#include
"1dodaj.h"
#include
"1dodaj.cpp"
#include
"1szukaj.h"
#include
"1szukaj.cpp"
#include
"1usun.h"
#include
"1usun.cpp"
Main
::
Main
(
const
WEnvironment
&
env
)
:
WApplication
(
env
)
{
CSS
();
Szukaj
*
szukaj
;
Dodaj
*
dodaj
;
Usun
*
usun
;
WStackedWidget
*
contentsStack
=
new
WStackedWidget
(
root
());
WMenu
*
menuH
=
new
WMenu
(
contentsStack
,
Horizontal
,
root
());
contentsStack
->
setStyleClass
(
"gora"
);
menuH
->
setInternalPathEnabled
();
menuH
->
setInternalBasePath
(
"/"
);
menuH
->
addItem
(
"Szukaj"
,
szukaj
->
WFormularz
());
menuH
->
addItem
(
"Dodaj polanczenie"
,
dodaj
->
WFormularz
());
menuH
->
addItem
(
"Usun polanczenie"
,
usun
->
UsunPolonczenie
());
}
void
Main
::
CSS
()
{
}
« Previous
1
2
Next »
(2-2/2)
Loading...