[mobile ui] navigation rework

Sebastian Kügler sebas at kde.org
Sun Nov 29 09:41:45 PST 2015


Marco Martin (a Plasma colleague are currntly sitting at my place and hacking 
on subsurface and the components it's using, with the goal to straighten the 
mobile components out that we're using as a base for subsurface mobile. The 
results are already quite nice. We can now run on top of a set of pretty 
minimal components, so we do not have to roll our own solutions for Theme and 
Units anymore.

These components come in the form of a bunch of qml files, they're included in 
the qrc file, and loaded dynamically as QML import plugin.

User visible changes are:

- broken header coloring (you didn't think this would work without a hitch, 
right? An easy to fix one, but I'm already sitting on too many large patches, 
so I'd rather already send these current ones in and work on the remaining 
regressions in the meantime)
- tablet mode, the UI now can use two columns aside of each other (haven't 
extensively tested this, so it may need a bit of tweaking)
- more complete set of components we're using throughout our ui -- the work on 
that is now shared with Plasma
- The various GPS options have moved into their own submenu, it's a lot easier 
to scan this way

We're still on it, so there are more patches coming up.

One thing that worries me a bit is that we're going back to ApplicationWindow, 
which might mean Lubomir's headaching windows crashers return. Testing that 
would be much appreciated.

Patch #0004 is missing from this email, it's an image used for the navigation 
drawer, and turns out pretty big, and I dunno if you can actually apply it 
sent like this. Rather pull the whole branch from github.

This patch series is also on github: git at github.com:sebasje/subsurface.git 
branch "mobilecomponents".

Cheers,
-- 
sebas

Sebastian Kügler    |    http://vizZzion.org    |     http://kde.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-new-files-to-the-qrc.patch
Type: text/x-patch
Size: 4276 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/5cc3b6a7/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-import-mobilecomponents.patch
Type: text/x-patch
Size: 136020 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/5cc3b6a7/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-use-mobilecomponents-for-our-pages.patch
Type: text/x-patch
Size: 17380 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/5cc3b6a7/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Rework-central-navigation.patch
Type: text/x-patch
Size: 5877 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/5cc3b6a7/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Allow-to-use-QML-imports-shipped-in-the-qrc-file.patch
Type: text/x-patch
Size: 1236 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151129/5cc3b6a7/attachment-0009.bin>


More information about the subsurface mailing list