3 #include <Wt/WHBoxLayout.h> 5 #include <Wtx/Sys/Session.h> 6 #include <Wtx/Dbo/TableViewManager.h> 7 #include <Wtx/Dbo/TemplateFormView.h> 8 #include <Wtx/Dbo/DetailForm.h> 11 #include "ManagerWidget.h" 19 ConfigDetail( Wt::Dbo::ptr<Wtx::Sys::Config::Item> & item )
22 "sysConfig.detailForm",
35 auto layout = std::make_unique<Wt::WHBoxLayout>();
43 Wt::SelectionMode::Single,
78 {
"id",
"", 50, Wt::AlignmentFlag::Left,
"",
nullptr },
79 {
"isActive",
"", 75, Wt::AlignmentFlag::Left,
"",
nullptr },
80 {
"keyField",
"", 350, Wt::AlignmentFlag::Left,
"",
nullptr },
81 {
"cfyField",
"", 350, Wt::AlignmentFlag::Left,
"",
nullptr },
82 {
"tag",
"", 150, Wt::AlignmentFlag::Left,
"",
nullptr },
96 setLayout( std::move(layout) );