Reformat dive info page in tab widget

Clean up the formatting.
Distinguish between headings and value labels.
Tidy up text appearance (remove trailing ':')

Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Amit Chaudhuri 2013-05-03 08:19:00 +01:00 committed by Dirk Hohndel
parent 8677721e85
commit 8577410fcd
2 changed files with 184 additions and 146 deletions

View file

@ -27,19 +27,19 @@ void MainTab::clearEquipment()
void MainTab::clearInfo()
{
ui->sac->setText(QString());
ui->otu->setText(QString());
ui->oxygenhelium->setText(QString());
ui->gasused->setText(QString());
ui->date->setText(QString());
ui->divetime->setText(QString());
ui->surfinterval->setText(QString());
ui->maxdepth->setText(QString());
ui->avgdepth->setText(QString());
ui->visibility->setText(QString());
ui->watertemperature->setText(QString());
ui->airtemperature->setText(QString());
ui->airpress->setText(QString());
ui->sacText->setText(QString());
ui->otuText->setText(QString());
ui->oxygenHeliumText->setText(QString());
ui->gasUsedText->setText(QString());
ui->dateText->setText(QString());
ui->diveTimeText->setText(QString());
ui->surfaceIntervalText->setText(QString());
ui->maximumDepthText->setText(QString());
ui->averageDepthText->setText(QString());
ui->visibilityText->setText(QString());
ui->waterTemperatureText->setText(QString());
ui->airTemperatureText->setText(QString());
ui->airPressureText->setText(QString());
}
void MainTab::clearStats()