Minor UI fixes

Use accelerator on Greek translation
Show version on about dialog
Spacer between health/temp and the lineedits
This commit is contained in:
spiros
2024-06-18 20:46:22 +03:00
parent 78341f7ad4
commit d68456b139
5 changed files with 84 additions and 57 deletions

View File

@@ -1128,9 +1128,10 @@ void MainWindow::on_actionRescan_Refresh_triggered()
void MainWindow::on_actionAbout_triggered()
{
QString message = tr("An ATA and NVMe S.M.A.R.T. data viewer for Linux") + "\n\n";
message += tr("Licensed under the GNU G.P.L. Version 3") + "\n\n";
message += tr("Made by Samantas5855");
QString message = tr("An ATA and NVMe S.M.A.R.T. data viewer for Linux") + "\n";
message += tr("Licensed under the GNU G.P.L. Version 3") + "\n";
message += tr("Made by Samantas5855") + "\n";
message += tr("Version") + " " + QString::number(PROJECT_VERSION_MAJOR) + "." + QString::number(PROJECT_VERSION_MINOR);
QMessageBox::about(this, tr("About KDiskInfo"), message);
}

View File

@@ -153,6 +153,22 @@
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
@@ -461,7 +477,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Use GB instead of TB</string>
<string>Use &amp;GB instead of TB</string>
</property>
</action>
</widget>