21 auto vlw =
setLayout( std::make_unique< Wt::WVBoxLayout >() );
22 vlw-> setSpacing( 0 );
28 auto tb_ = std::make_unique< ToolBar >();
31 auto hlw =
vlw-> addLayout( std::make_unique< Wt::WHBoxLayout >(), 1 );
38 auto w_ = std::make_unique< Wt::WTableView >();
47 view()-> setSelectionBehavior ( Wt::SelectionBehavior::Rows );
48 view()-> setSelectionMode ( Wt::SelectionMode::Single );
49 view()-> setAlternatingRowColors (
true );
56 std::vector< Wt::WFormModel::Field > fields =
68 m_model = std::make_shared< Eng::CustomersModel >( fields );
72 auto tabWidget_ = std::make_unique< Wt::WTabWidget >();
77 auto w_ = std::make_unique< Invoices >();
79 m_tabWidget-> addTab( std::move(
w_ ),
"Invoices" );
81 hlw-> setResizable( 0,
true,
"25%" );