Subversion Repositories svn1-original

Rev

Rev 345 | Rev 347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 345 Rev 346
Line 23... Line 23...
23
 
23
 
24
    // Connect up buttons
24
    // Connect up buttons
25
    connect(ui->load, SIGNAL(clicked()), this, SLOT(load()));
25
    connect(ui->load, SIGNAL(clicked()), this, SLOT(load()));
26
    connect(ui->cancel,SIGNAL(clicked()), this, SLOT(close()));
26
    connect(ui->cancel,SIGNAL(clicked()), this, SLOT(close()));
27
    connect(ui->update,SIGNAL(clicked()), this, SLOT(update()));
27
    connect(ui->update,SIGNAL(clicked()), this, SLOT(update()));
28
    connect(ui->deltaTime, SIGNAL(valueChanged(int)), this, SLOT(updateDeltaDisplay()));
28
    connect(ui->deltaTime, SIGNAL(timeChanged(QTime)), this, SLOT(updateDeltaDisplay()));
29
    connect(ui->hideOk, SIGNAL(clicked()), this, SLOT(updateDeltaDisplay()));
29
    connect(ui->hideOk, SIGNAL(clicked()), this, SLOT(updateDeltaDisplay()));
30
 
30
 
31
 
31
 
32
    // Set up the table
32
    // Set up the table
33
    // First column is not a 'time' column
33
    // First column is not a 'time' column
Line 224... Line 224...
224
 
224
 
225
void QmDialogUploadLegTimes::updateDeltaDisplay( void )
225
void QmDialogUploadLegTimes::updateDeltaDisplay( void )
226
{
226
{
227
    bool isFlagged = false;
227
    bool isFlagged = false;
228
    QTime maxDelta(0,0,0,0);
228
    QTime maxDelta(0,0,0,0);
229
    QTime delta = QTime().addSecs(ui->deltaTime->value());
229
    QTime delta = ui->deltaTime->time();
-
 
230
    //qDebug("New Delta: %s", qPrintable(ui->deltaTime->time().toString()));
230
    for ( int ii = 0; ii < ui->tableWidget->rowCount(); ii++)
231
    for ( int ii = 0; ii < ui->tableWidget->rowCount(); ii++)
231
    {
232
    {
232
        bool show = true;
233
        bool show = true;
233
        QTableWidgetItem *item;
234
        QTableWidgetItem *item;
234
        item = ui->tableWidget->item(ii, 1);
235
        item = ui->tableWidget->item(ii, 1);