45 #include <Wt/WCalendar.h> 46 #include <Wt/WDateEdit.h> 48 #include "FieldDefDateEdit.h" 81 std::unique_ptr<Wt::WWidget> Wtx::Dbo::FieldDefDateEdit::createEditWidget(
int sid,
Wtx::Dbo::Session & session )
const 83 auto retVal = std::make_unique<Wt::WDateEdit>();
85 retVal-> setPlaceholderText( placeholderText() );
86 retVal-> calendar()-> setFirstDayOfWeek(7);
FieldDefDateEdit(TableDef &td, const char *fn, int w=-1, int h=-1, Flags f=Flags::None, std::string lb="", std::string ph="", std::string inf="", std::string tt="", int ht=-1)
ctor
Flags
Field Definition Flags.