1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 11:39:16 +02:00

Improved path info dialogue

This commit is contained in:
2018-07-21 12:24:08 +02:00
parent 90473300e0
commit 796e61ada4
2 changed files with 23 additions and 20 deletions

View File

@ -640,20 +640,20 @@ void GUI::paths()
msgBox.setWindowTitle(tr("Paths"));
msgBox.setText("<h3>" + tr("Paths") + "</h3>");
msgBox.setInformativeText(
"<style>td {white-space: pre; padding-right: 1em;}</style>"
"<div><table><tr><td>" + tr("Map directory:") + "</td><td><code>"
msgBox.setInformativeText("<h4>" + tr("Global")
+ "</h4><style>td {white-space: pre; padding-right: 1em;}</style>"
+ "<div><table><tr><td>" + tr("Map directory:") + "</td><td><code>"
+ QDir::cleanPath(GLOBAL_MAP_DIR) + "</code></td></tr><tr><td>"
+ tr("POI directory:") + "</td><td><code>"
+ QDir::cleanPath(GLOBAL_POI_DIR) + "</code></td></tr><tr><td>"
+ tr("GCS file:") + "</td><td><code>" + QDir::cleanPath(GLOBAL_GCS_FILE)
+ "</code></td></tr><tr><td>" + tr("PCS file:") + "</td><td><code>"
+ QDir::cleanPath(GLOBAL_PCS_FILE) + "</code></td></tr><tr><td>"
+ tr("Ellipsoids file:") + "</td><td><code>"
+ QDir::cleanPath(GLOBAL_ELLIPSOID_FILE) + "</code></td></tr>"
+ "<tr><td></td><td></td></tr></table></div><div><table><tr><td>"
+ tr("User override directory:") + "</td><td><code>"
+ QDir::cleanPath(USER_DIR) + "</td></tr></table></div>"
+ tr("GCS/PCS CSV directory:") + "</td><td><code>"
+ QDir::cleanPath(GLOBAL_CSV_DIR) + "</code></td></tr></table></div>"
+ "<h4>" + tr("User-specific") + "</h4><div><table><tr><td>"
+ tr("Map directory:") + "</td><td><code>" + QDir::cleanPath(USER_MAP_DIR)
+ "</code></td></tr><tr><td>" + tr("POI directory:") + "</td><td><code>"
+ QDir::cleanPath(USER_POI_DIR) + "</code></td></tr><tr><td>"
+ tr("GCS/PCS CSV directory:") + "</td><td><code>"
+ QDir::cleanPath(USER_CSV_DIR) + "</code></td></tr></table></div>"
);
msgBox.exec();