mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Improved paths dialogue formating
This commit is contained in:
parent
2980299a2a
commit
79388aa753
@ -640,20 +640,20 @@ void GUI::paths()
|
|||||||
|
|
||||||
msgBox.setWindowTitle(tr("Paths"));
|
msgBox.setWindowTitle(tr("Paths"));
|
||||||
msgBox.setText("<h3>" + tr("Paths") + "</h3>");
|
msgBox.setText("<h3>" + tr("Paths") + "</h3>");
|
||||||
msgBox.setInformativeText("<h4>" + tr("Global")
|
msgBox.setInformativeText(
|
||||||
+ "</h4><style>td {white-space: pre; padding-right: 1em;}</style>"
|
"<style>td {white-space: pre; padding-right: 1em;}</style><h4>"
|
||||||
+ "<div><table><tr><td>" + tr("Map directory:") + "</td><td><code>"
|
+ tr("Global") + "</h4><table><tr><td>" + tr("Map directory:")
|
||||||
+ QDir::cleanPath(GLOBAL_MAP_DIR) + "</code></td></tr><tr><td>"
|
+ "</td><td><code>" + QDir::cleanPath(GLOBAL_MAP_DIR)
|
||||||
+ tr("POI directory:") + "</td><td><code>"
|
+ "</code></td></tr><tr><td>" + tr("POI directory:") + "</td><td><code>"
|
||||||
+ QDir::cleanPath(GLOBAL_POI_DIR) + "</code></td></tr><tr><td>"
|
+ QDir::cleanPath(GLOBAL_POI_DIR) + "</code></td></tr><tr><td>"
|
||||||
+ tr("GCS/PCS directory:") + "</td><td><code>"
|
+ tr("GCS/PCS directory:") + "</td><td><code>"
|
||||||
+ QDir::cleanPath(GLOBAL_CSV_DIR) + "</code></td></tr></table></div>"
|
+ QDir::cleanPath(GLOBAL_CSV_DIR) + "</code></td></tr></table>"
|
||||||
+ "<h4>" + tr("User-specific") + "</h4><div><table><tr><td>"
|
+ "<h4>" + tr("User-specific") + "</h4><table><tr><td>"
|
||||||
+ tr("Map directory:") + "</td><td><code>" + QDir::cleanPath(USER_MAP_DIR)
|
+ tr("Map directory:") + "</td><td><code>" + QDir::cleanPath(USER_MAP_DIR)
|
||||||
+ "</code></td></tr><tr><td>" + tr("POI directory:") + "</td><td><code>"
|
+ "</code></td></tr><tr><td>" + tr("POI directory:") + "</td><td><code>"
|
||||||
+ QDir::cleanPath(USER_POI_DIR) + "</code></td></tr><tr><td>"
|
+ QDir::cleanPath(USER_POI_DIR) + "</code></td></tr><tr><td>"
|
||||||
+ tr("GCS/PCS directory:") + "</td><td><code>"
|
+ tr("GCS/PCS directory:") + "</td><td><code>"
|
||||||
+ QDir::cleanPath(USER_CSV_DIR) + "</code></td></tr></table></div>"
|
+ QDir::cleanPath(USER_CSV_DIR) + "</code></td></tr></table>"
|
||||||
);
|
);
|
||||||
|
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user