On 04/30/2016 07:02 PM, Tres Finocchiaro wrote:
Israel,
I'm not sure, but here's a question to the Qt mailing list about QML
with a large codebase....
http://lists.qt-project.org/pipermail/interest/2015-June/017412.html
And an accompanying YouTube video...
https://www.youtube.com/watch?v=6vhIq3Nxmz0
And a forum conversation about leveraging QML on a desktop application:
http://www.qtcentre.org/threads/60022-Should-I-use-Qt-or-QML-for-my-desktop-application?p=266173#post266173
Here's a blog talking about some layout features in Qt 5.1 (some of
these appear to be availble in 4.8 already and I'm not convinced that
any of them are specific to Qt Quick)
http://www.ics.com/blog/whats-new-qt-51-qt-quick-controls
Jonathan's original request to do media queries isn't a concept the
desktop would use normally. It doesn't appear Qt Quick/QML changes
this and I'm not sure it's even a useful concept. We certainly need
to eventually layout our C++ components more dynamically, but the
"atomagically use CSS layout tricks" doesn't really work
conceptually. Remember, this is native code we're writing not a web page.
- tres.finocchi...@gmail.com <mailto:tres.finocchi...@gmail.com>
<%3E,http://bazaar.launchpad.net/%7Emusic-app-dev/music-app/trunk/view/head:/app/music-app.qml#L570>
Hey Tres
http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/app/music-app.qml#L570
<%3E,http://bazaar.launchpad.net/%7Emusic-app-dev/music-app/trunk/view/head:/app/music-app.qml#L570>
This has code similar to CSS
anchors {
bottom: parent.bottom
fill: undefined
left: parent.left
right: nowPlayingSidebarLoader.left
top: parent.top
}
There is also sizing such as:
http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/app/music-app.qml#L285
<http://bazaar.launchpad.net/%7Emusic-app-dev/music-app/trunk/view/head:/app/music-app.qml#L285>
gu is a unit of measurement similar to CSS em or percent (more similar
to em)
property bool wideAspect: width >= units.gu(95) && loadedUI
But of course the UI would need to be entirely written in QML, and
decoupled from the backend.
The @media queries would be irrelevant (much like they are in well
written CSS using percentages a.k.a 'responsive' rather than those
horrid mobile sites we are forced into)
We wouldn't need multiple UI for different screen sizes, we would only
need 1 size.
Anyhow, this is not something I know enough about to implement, nor do I
have any time right now to do so. I am hoping in a few months I will
have time for LMMS. I do like it so much! I haven't even had time to
update things in a while, sorry :( .
--
Regards
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel