Misc UI capitalisation consitencies and other text changes

Capitalisation consitencies
A typo correction
A readability improvement (IMHO)

Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tim Wootton 2014-07-11 18:39:03 +01:00 committed by Dirk Hohndel
parent fbd00c6b0d
commit 9dd484b63f
4 changed files with 6 additions and 6 deletions

View file

@ -221,9 +221,9 @@ void ShiftImageTimesDialog::syncCameraClicked()
QPixmap picture; QPixmap picture;
QDateTime dcDateTime = QDateTime(); QDateTime dcDateTime = QDateTime();
QStringList fileNames = QFileDialog::getOpenFileNames(this, QStringList fileNames = QFileDialog::getOpenFileNames(this,
tr("Open Image File"), tr("Open image file"),
DiveListView::lastUsedImageDir(), DiveListView::lastUsedImageDir(),
tr("Image Files (*.jpg *.jpeg *.pnm *.tif *.tiff)")); tr("Image files (*.jpg *.jpeg *.pnm *.tif *.tiff)"));
if (fileNames.isEmpty()) if (fileNames.isEmpty())
return; return;

View file

@ -440,7 +440,7 @@ void SubsurfaceWebServices::setStatusText(int status)
QString text; QString text;
switch (status) { switch (status) {
case DD_STATUS_ERROR_CONNECT: case DD_STATUS_ERROR_CONNECT:
text = tr("Connection Error: "); text = tr("Connection error: ");
break; break;
case DD_STATUS_ERROR_ID: case DD_STATUS_ERROR_ID:
text = tr("Invalid user identifier!"); text = tr("Invalid user identifier!");
@ -449,7 +449,7 @@ void SubsurfaceWebServices::setStatusText(int status)
text = tr("Cannot parse response!"); text = tr("Cannot parse response!");
break; break;
case DD_STATUS_OK: case DD_STATUS_OK:
text = tr("Download Success!"); text = tr("Download successful");
break; break;
} }
ui.status->setText(text); ui.status->setText(text);

View file

@ -20,7 +20,7 @@ TableView::TableView(QWidget *parent) : QWidget(parent)
QIcon plusIcon(":plus"); QIcon plusIcon(":plus");
plusBtn = new QPushButton(plusIcon, QString(), ui.groupBox); plusBtn = new QPushButton(plusIcon, QString(), ui.groupBox);
plusBtn->setFlat(true); plusBtn->setFlat(true);
plusBtn->setToolTip(tr("Add Cylinder")); plusBtn->setToolTip(tr("Add cylinder"));
plusBtn->setIconSize(QSize(16, 16)); plusBtn->setIconSize(QSize(16, 16));
connect(plusBtn, SIGNAL(clicked(bool)), this, SIGNAL(addButtonClicked())); connect(plusBtn, SIGNAL(clicked(bool)), this, SIGNAL(addButtonClicked()));
} }

View file

@ -19,7 +19,7 @@ TagWidget::TagWidget(QWidget *parent) : GroupedLineEdit(parent), m_completer(NUL
addColor(QColor(Qt::red).lighter(120)); addColor(QColor(Qt::red).lighter(120));
addColor(QColor(Qt::green).lighter(120)); addColor(QColor(Qt::green).lighter(120));
addColor(QColor(Qt::blue).lighter(120)); addColor(QColor(Qt::blue).lighter(120));
} else if (l <= 0.6) { // moderated dark text. get a somewhat brigth background } else if (l <= 0.6) { // moderated dark text. get a somewhat bright background
addColor(QColor(Qt::red).lighter(60)); addColor(QColor(Qt::red).lighter(60));
addColor(QColor(Qt::green).lighter(60)); addColor(QColor(Qt::green).lighter(60));
addColor(QColor(Qt::blue).lighter(60)); addColor(QColor(Qt::blue).lighter(60));