Qt 6 Subsurface-mobile by dirkhh · Pull Request #4730 · subsurface/subsurface
This was done primarily by Claude since I couldn't figure out what was going on. Tested and reviewed by me. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
It looks weird to have this when multiple columns are shown. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
That was lacking a background and the default didn't work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
In Qt 6 Kirigami can no longer directly show a QPixmap, so we wrap things in a QIcon - which means that we need to explicitly set the size. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Several of our pages (e.g. DiveDetailsEdit or Settings) require more than 21 units in width - so we were switching to two column mode too aggressively. Hopefully 24 units should make sure that all of the pages fit and that depending on font size we will stay in one column mode. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This isn't quite a responsive design (that seems near impossible to make work on QML, even though it's a claimed feature), but it should do better in certain situations. Re-calculate the unit size to make sure it reflects the font used. Try to size the elements more appropriately and then flow things with special cases for extra large fonts. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Make sure we assign appropriate max column width and instruct labels to elide if necessary. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Oops. Surprised that no one (including me) noticed. I must have always tested the maps on iOS. And the reason why all this fails is because qmake can't be used to cross build Qt modules for Android. And googlemaps doesn't have cmake support. So I asked Claude to create an equivalent CMakeLists.txt file. Also, enable parallel builds for openssl to speed things up (completely unrelated, but doesn't really deserve its own commit, does it?) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This was driving me nuts and I ended up having Claude try to figure it out - which resulted in a Kirigami patch that should address the fundamental issue of forcing the Subsurface theme color to be used in the title bar, and also changed the way we try to override any other potentially incorrect colors. I reviewed and tested it, but the code was written by Claude. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This allows building two different apps for the Play Store. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
The Play Store will start requiring 16kB pages later this year, and since we are making all these changes right now, we might as well go all the way and get ready for that. And Qt in their wisdom decided to only make 16kB pages available for PAYING customers using the 6.8LTS version. Those pesky open source people are SOL. Thanks, folks. We love you, too. This also adds a change to the way we compile Kirigami to get those libraries to use 16kB pages. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters