GUI grid for the entire training program.
More...
#include <TrainingProgramGrid.h>
GUI grid for the entire training program.
◆ TrainingProgramGrid()
TrainingProgramGrid::TrainingProgramGrid |
( |
wxWindow * |
pParent, |
|
|
Plan * |
pt, |
|
|
PTUnit const & |
outUnit |
|
) |
| |
Constructor.
- Parameters
-
pParent | Parent |
pt | Plan to populate from |
outUnit | km|miles |
◆ GetRow()
int TrainingProgramGrid::GetRow |
( |
wxDateTime const & |
date | ) |
|
Get row number for this date.
- Parameters
-
- Returns
- Row number
◆ OnDateSelected()
void TrainingProgramGrid::OnDateSelected |
( |
wxCommandEvent & |
e | ) |
|
◆ OnLabelLeftClick()
void TrainingProgramGrid::OnLabelLeftClick |
( |
wxGridEvent & |
e | ) |
|
Highlight selected line and update todays training with selected activity.
- Parameters
-
◆ Update()
void TrainingProgramGrid::Update |
( |
Plan * |
pt, |
|
|
PTUnit const & |
outUnit |
|
) |
| |
Recreate grid from new plan.
- Parameters
-
◆ todayLine
int TrainingProgramGrid::todayLine |
The documentation for this class was generated from the following file: