Commit Graph

7 Commits

Author SHA1 Message Date
hjk
359f6e54b8 ProjectExplorer: Reduce scope of projectexploererconstants include
plus a bit of cosmetics.

Change-Id: I744b28ebf4285bd61b948988a0192632f5b360a8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-09-25 15:55:40 +00:00
hjk
ec7abcf98c Utils: Make FilePathAspect::setDefaultValue take a QString
This sets the unexpanded value, so going to a "cooked" FilePath can
at least theoretically break. On the user side it saves a
roundtrip in a few cases, but is more ugly when the input is already
a proper FilePath.

Change-Id: I8a7e8f6d46fcc34c96b55e41d656dca933fbef4e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-08-17 11:58:41 +00:00
hjk
9567f82b75 WebAssembly: Use the most recent settings access pattern
Includes delaying construction until its first actual use.

Change-Id: Ide0f7a12250c2597f45993d6ef0fb604c974a763
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-07-14 08:00:59 +00:00
hjk
98bba063b6 Utils: Use FilePathAspect::setDefaultValue
... instead of StringAspect::setDefaultFilePath.

Closer to the intended uniform access.

Task-number: QTCREATORBUG-29167
Change-Id: I87df385ef98873a0955010149a9a9b09a5f29daf
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-06-30 09:34:26 +00:00
hjk
8b848df858 WebAssembly: Use the more compact layouter function
... and delay the first update until all ui elements are present.

Change-Id: Ica996c3262caed9397a951633b0971d48c7c683f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-05-31 13:39:37 +00:00
Alessandro Portale
b1957888dd WebAssembly: React to AspectContainer::applied
... instead of overriding IOptionsPage::apply()

Change-Id: I00d30de7d604409be753eb8b9f668c24790e0a49
Reviewed-by: hjk <hjk@qt.io>
2023-05-23 13:19:13 +00:00
Alessandro Portale
5acecd4ef9 WebAssembly: Base Settings handling on Core::PagedSettings
Change-Id: If28afd8046367eb1b8b12e54d2dae4235dbc821f
Reviewed-by: hjk <hjk@qt.io>
2023-05-19 09:55:30 +00:00