mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
fbd00c6b0d
commit
9dd484b63f
4 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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));
|
||||||
|
|
Loading…
Add table
Reference in a new issue