DragGrid * table
Definition: WeekDay.h:94
wxArrayInt GetColumnOrder()
Return the current order of the columns.
wxButton * createButton
Definition: WeekDay.h:95
DragGrid(wxWindow *parent, wxWindowID id, wxButton *createButton)
Constructor.
void OnColumnMoved(wxGridEvent &e)
Handle a column darg event.
void OnPaint(wxPaintEvent &e)
Refresh this panel.
void SetColumnOrder(wxArrayInt order)
Set current order of columns.
void SetWeekdayOrder(wxArrayInt order)
Set week day order.
wxButton * createButton
Definition: WeekDay.h:49
virtual ~WeekDay(void)
Desctructor.
Grid which can change order of columns.
Definition: WeekDay.h:13
std::vector< std::vector< int > > cTrainingPerDay
Definition: WeekDay.h:96
WeekDay(wxWindow *parent, Plan &plan)
Constructor.
wxArrayInt GetWeekdayOrder()
Return current weekday order.
A training plan.
Definition: Plan.h:11
GUI for weekdays.
Definition: WeekDay.h:60
bool Update(Plan &plan)
Update the plan according to current weekday order.
bool isColumnOrderChanged
Definition: WeekDay.h:48