Subversion Repositories svn1-original

Rev

Rev 320 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 320 Rev 365
Line 62... Line 62...
62
    ui->members->setVerticalHeaderLabels(labels);
62
    ui->members->setVerticalHeaderLabels(labels);
63
 
63
 
64
    /*
64
    /*
65
    ** Insert widgets for the Team Times
65
    ** Insert widgets for the Team Times
66
    */
66
    */
-
 
67
    for (int ii = 0; ii <= MAX_LEGS; ii++) {
-
 
68
        lt[ii] = NULL;
-
 
69
    }
-
 
70
 
-
 
71
 
67
    for ( int ii = 1 ; ii <= config.num_legs; ii++)
72
    for ( int ii = 1 ; ii <= config.num_legs; ii++)
68
    {
73
    {
69
        lt[ii] = new QmLegTimes(ii, config.leg_name[ii-1]);
74
        lt[ii] = new QmLegTimes(ii, config.leg_name[ii-1]);
70
        ui->legTime_layout->addWidget(lt[ii]);
75
        ui->legTime_layout->addWidget(lt[ii]);
71
        connect (lt[ii], SIGNAL(dataChanged()), this, SLOT(recalculateTimes()) );
76
        connect (lt[ii], SIGNAL(dataChanged()), this, SLOT(recalculateTimes()) );
Line 164... Line 169...
164
    ui->disqualified->blockSignals(state);
169
    ui->disqualified->blockSignals(state);
165
    ui->nonEquestrian->blockSignals(state);
170
    ui->nonEquestrian->blockSignals(state);
166
    ui->disabled->blockSignals(state);
171
    ui->disabled->blockSignals(state);
167
    ui->VetCheck->blockSignals(state);
172
    ui->VetCheck->blockSignals(state);
168
 
173
 
169
    for ( int ii = 0 ; ii <= config.num_legs; ii++)
174
    for ( int ii = 0 ; ii <= MAX_LEGS; ii++)
170
    {
175
    {
-
 
176
        if (lt[ii]) {
171
        lt[ii]->blockSignals(state);
177
            lt[ii]->blockSignals(state);
-
 
178
        }
172
    }
179
    }
173
}
180
}
174
 
181
 
175
/*----------------------------------------------------------------------------
182
/*----------------------------------------------------------------------------
176
** FUNCTION           : populate
183
** FUNCTION           : populate
Line 184... Line 191...
184
**
191
**
185
----------------------------------------------------------------------------*/
192
----------------------------------------------------------------------------*/
186
 
193
 
187
void qmTeamDisplay::populate(int team_number)
194
void qmTeamDisplay::populate(int team_number)
188
{
195
{
-
 
196
    if (MainWindow::shutDown) {
-
 
197
        return;
-
 
198
    }
-
 
199
 
189
    /*
200
    /*
190
    **  Update the spinner that describes the current team number
201
    **  Update the spinner that describes the current team number
191
    */
202
    */
192
    populating = true;
203
    populating = true;
193
    blockSignals(true);
204
    blockSignals(true);