From e957b26848c38cab976dd72815b3b08c70ffde63 Mon Sep 17 00:00:00 2001 From: ChrisHal Date: Fri, 6 Dec 2024 21:40:21 +0100 Subject: [PATCH] make some dialog nicer on macOS --- QtPMbrowser/DlgExportMetadata.ui | 14 +++--- QtPMbrowser/DlgPreferences.ui | 85 +++++++++++++++++--------------- 2 files changed, 51 insertions(+), 48 deletions(-) diff --git a/QtPMbrowser/DlgExportMetadata.ui b/QtPMbrowser/DlgExportMetadata.ui index f01fc95..976dce5 100644 --- a/QtPMbrowser/DlgExportMetadata.ui +++ b/QtPMbrowser/DlgExportMetadata.ui @@ -6,8 +6,8 @@ 0 0 - 307 - 198 + 358 + 252 @@ -24,7 +24,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -37,10 +37,10 @@ - Qt::Horizontal + Qt::Orientation::Horizontal - QDialogButtonBox::Cancel|QDialogButtonBox::Save + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save false @@ -74,7 +74,7 @@ - <html><head/><body><p>About to export tab delimited file. Only parameters marked &quot;export&quot;will be included in export.</p></body></html> + <html><head/><body><p>About to export tab delimited file. Only parameters marked <span style=" font-style:italic;">export</span> in the <span style=" font-style:italic;">Select Parameters</span> dialog will be included in export.</p></body></html> false @@ -91,7 +91,7 @@ - + use system default formatting diff --git a/QtPMbrowser/DlgPreferences.ui b/QtPMbrowser/DlgPreferences.ui index b36e1fd..8e10c25 100644 --- a/QtPMbrowser/DlgPreferences.ui +++ b/QtPMbrowser/DlgPreferences.ui @@ -6,8 +6,8 @@ 0 0 - 400 - 284 + 453 + 321 @@ -17,23 +17,46 @@ - + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + - Qt::Vertical + Qt::Orientation::Vertical - QDialogButtonBox::Cancel|QDialogButtonBox::Ok + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok - + Auto-naming for Imon / Vmon traces - + + + + + + + use tracename from DAT file + + + + custom extensions @@ -62,14 +85,7 @@ - - - - use tracename from DAT file - - - - + <html><head/><body><p><span style=" font-weight:700;">Note:</span> files written by very old <span style=" font-style:italic;">PatchMaster</span> versions might not provide tracenames and / or might not mark traces as Imon or Vmon traces. </p></body></html> @@ -79,20 +95,10 @@ - - - - use default (Imon, Vmon) - - - true - - - - + - Qt::Vertical + Qt::Orientation::Vertical @@ -102,7 +108,17 @@ - + + + + use default (Imon, Vmon) + + + true + + + + use custom extension for Imon and Vmon: @@ -112,19 +128,6 @@ - - - - Qt::Vertical - - - - 20 - 40 - - - -