7 #include <Wt/WApplication>
9 #include <Wt/WHBoxLayout>
24 : WContainerWidget(parent)
27 if ( WString::tr(
"byObjectStyleSheet").narrow() ==
"true" )
28 wApp->useStyleSheet(wApp->theme()->resourcesUrl() +
"wittyshare/Css/WsTopBanner.css");
29 addStyleClass(
"WsopBanner");
30 WHBoxLayout* hbox =
new WHBoxLayout();
31 hbox->setContentsMargins(0, 0, 0, 0);
34 WContainerWidget* cw =
new WContainerWidget();
36 hbox->addWidget(cw, 1, AlignLeft);
40 hbox->addWidget(pSiteMap, 0, AlignRight);
44 hbox->addWidget(pSearch, 0, Wt::AlignTop | Wt::AlignRight);
static WsLayoutProperties * instance()
Get the singleton instance.
WsTopBanner(Wt::WContainerWidget *parent=0)