[Interest] qt.labs.controls and colors
ekke
ekke at ekkes-corner.org
Tue Feb 16 00:02:43 CET 2016
Hi,
as I understand it right, I can define two colors for Material:
* primary
* accent
and one for Universal : accent.
At the moment I'm only focussing on Material.
to follow Android Material Design Guide I also need a darker and lighter
variation of primary
is it ok, to do it this way:
Qt.lighter(Material.accentColor, 1.1)
Qt.darker(Material.accentColor, 1.1)
as next I need some more colors:
* primaryText and secondaryText (depends from light or dark theme)
* textColorPrimary (textcolor used for text placed on primary color)
as from documentation there's nothing generated / prepared from Qt Material
so I have to create these colors by myself and then use thru the app ?
what's the best in respect of performance and memory ?
should I define these colors in my root qml as property and use this
property thru the app ?
color: root.secondaryTextColor
last question:
Is there a way to set the *Android Status Bar* color (Primary Dark) ?
http://developer.android.com/training/material/theme.html#StatusBar
thx
--
ekke (ekkehard gentz)
independent software architect
international development native mobile business apps
BlackBerry 10 | Qt Mobile (Android, iOS)
workshops - trainings - bootcamps
*BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner*
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke at ekkes-corner.org
blog: http://ekkes-corner.org
apps and more: http://appbus.org
twitter: @ekkescorner
skype: ekkes-corner
LinkedIn: http://linkedin.com/in/ekkehard/
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160216/448df3d4/attachment.html>
More information about the Interest
mailing list