| Line 84... |
Line 84... |
| 84 |
connect(ui->category , SIGNAL(currentIndexChanged(int)), this, SLOT(updateCategory()));
|
84 |
connect(ui->category , SIGNAL(currentIndexChanged(int)), this, SLOT(updateCategory()));
|
| 85 |
connect(ui->members , SIGNAL(cellChanged(int,int)), this, SLOT(changed()));
|
85 |
connect(ui->members , SIGNAL(cellChanged(int,int)), this, SLOT(changed()));
|
| 86 |
connect(ui->disqualified , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
86 |
connect(ui->disqualified , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
| 87 |
connect(ui->nonEquestrian , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
87 |
connect(ui->nonEquestrian , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
| 88 |
connect(ui->disabled , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
88 |
connect(ui->disabled , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
| - |
|
89 |
connect(ui->VetCheck , SIGNAL(clicked(bool)), this, SLOT(changed()));
|
| 89 |
|
90 |
|
| 90 |
updateChanged(false);
|
91 |
updateChanged(false);
|
| 91 |
populating = false;
|
92 |
populating = false;
|
| 92 |
populate(config.min_team);
|
93 |
populate(config.min_team);
|
| 93 |
}
|
94 |
}
|
| Line 148... |
Line 149... |
| 148 |
//TODO: Link update of combo box to the abreviation display
|
149 |
//TODO: Link update of combo box to the abreviation display
|
| 149 |
|
150 |
|
| 150 |
ui->disqualified->setCheckState(team_buf.flags.disqualified ? Qt::Checked : Qt::Unchecked);
|
151 |
ui->disqualified->setCheckState(team_buf.flags.disqualified ? Qt::Checked : Qt::Unchecked);
|
| 151 |
ui->nonEquestrian->setCheckState(team_buf.flags.non_equestrian ? Qt::Checked : Qt::Unchecked);
|
152 |
ui->nonEquestrian->setCheckState(team_buf.flags.non_equestrian ? Qt::Checked : Qt::Unchecked);
|
| 152 |
ui->disabled->setCheckState( !team_buf.flags.valid ? Qt::Checked : Qt::Unchecked);
|
153 |
ui->disabled->setCheckState( !team_buf.flags.valid ? Qt::Checked : Qt::Unchecked);
|
| - |
|
154 |
ui->VetCheck->setCheckState( team_buf.flags.vet_check ? Qt::Checked : Qt::Unchecked);
|
| 153 |
|
155 |
|
| 154 |
/*
|
156 |
/*
|
| 155 |
** Team Member data
|
157 |
** Team Member data
|
| 156 |
** Name
|
158 |
** Name
|
| 157 |
** Sex
|
159 |
** Sex
|
| Line 279... |
Line 281... |
| 279 |
team_buf.teamclass = ui->category->currentIndex() + 1;
|
281 |
team_buf.teamclass = ui->category->currentIndex() + 1;
|
| 280 |
|
282 |
|
| 281 |
team_buf.flags.disqualified = ( ui->disqualified->checkState () == Qt::Checked);
|
283 |
team_buf.flags.disqualified = ( ui->disqualified->checkState () == Qt::Checked);
|
| 282 |
team_buf.flags.non_equestrian = ( ui->nonEquestrian->checkState () == Qt::Checked);
|
284 |
team_buf.flags.non_equestrian = ( ui->nonEquestrian->checkState () == Qt::Checked);
|
| 283 |
team_buf.flags.valid = ( ui->disabled->checkState () != Qt::Checked);
|
285 |
team_buf.flags.valid = ( ui->disabled->checkState () != Qt::Checked);
|
| - |
|
286 |
team_buf.flags.vet_check = ( ui->VetCheck->checkState () == Qt::Checked);
|
| 284 |
|
287 |
|
| 285 |
/*
|
288 |
/*
|
| 286 |
** Extract Team Member Data
|
289 |
** Extract Team Member Data
|
| 287 |
*/
|
290 |
*/
|
| 288 |
for ( int ii = 0; ii < config.num_legs; ii ++)
|
291 |
for ( int ii = 0; ii < config.num_legs; ii ++)
|