[Interest] "Flat Light" Style How?

Curtis Mitch mitch.curtis at theqtcompany.com
Fri Feb 6 12:54:16 CET 2015



> -----Original Message-----
> From: interest-bounces+mitch.curtis=theqtcompany.com at qt-project.org
> [mailto:interest-bounces+mitch.curtis=theqtcompany.com at qt-project.org]
> On Behalf Of Jason H
> Sent: Thursday, 5 February 2015 7:46 PM
> To: Agocs Laszlo
> Cc: interest at qt-project.org
> Subject: Re: [Interest] "Flat Light" Style How?
> 
> Oh thanks!
> 
> So immedautely, I notice issues.
> 
> Any control that has text (TextField, Button) is not properly accounting
> for a specified pointSize.

Please create a bug report for this. The Flat style is quite new, and hasn't had a whole lot of exposure yet, so there will be some small bugs to iron out.

> How do I inherit from a flat style for a button?

We don't support this for non-Base styles. For example, you can't override style components of the Android style. We'd like expose the FlatStyle singleton, however, which would provide some kind of theming support, so that you can override certain colours and properties of the style, and perhaps switch between light and dark themes, etc.
 
>
> 
> > Sent: Thursday, February 05, 2015 at 12:11 PM
> > From: "Agocs Laszlo" <laszlo.agocs at theqtcompany.com>
> > To: "Jason H" <jhihn at gmx.com>
> > Cc: "interest at qt-project.org" <interest at qt-project.org>
> > Subject: Re: [Interest] "Flat Light" Style How?
> >
> > QT_QUICK_CONTROLS_STYLE applies to all controls. Don't be misled by
> the fact that the page is for enterprise controls.
> >
> > Cheers,
> > Laszlo
> >
> > ________________________________________
> > From: Jason H <jhihn at gmx.com>
> > Sent: Thursday, February 5, 2015 6:06 PM
> > To: Agocs Laszlo
> > Cc: interest at qt-project.org
> > Subject: Re: [Interest] "Flat Light" Style How?
> >
> > "The Qt Quick Enterprise Controls Styles module allows custom styling
> for Qt Quick Enterprise Controls."
> >
> > I want standard controls to be styled too... I thought that it would
> style all controls, not just the enterprise ones as seen in
> https://www.youtube.com/watch?v=wMs1pSZMnG0 about 2:00 in. The page you
> directed me to only lists:
> > CircularGaugeStyle
> > DelayButtonStyle
> > DialStyle
> > GaugeStyle
> > PieMenuStyle
> > StatusIndicatorStyle
> > ToggleButtonStyle
> > TumblerStyle
> >
> > I hope there are more styles than that?
> >
> >
> >
> > > Sent: Thursday, February 05, 2015 at 11:59 AM
> > > From: "Agocs Laszlo" <laszlo.agocs at theqtcompany.com>
> > > To: "Jason H" <jhihn at gmx.com>, "interest at qt-project.org"
> <interest at qt-project.org>
> > > Subject: Re: [Interest] "Flat Light" Style How?
> > >
> > > Hi,
> > >
> > > See
> http://doc.qt.io/QtQuickEnterpriseControls/qtquickenterprisecontrolsstyl
> es-index.html regarding switching styles.
> > >
> > > Cheers,
> > > Laszlo
> > >
> > >
> > > ________________________________________
> > > From: interest-bounces+laszlo.agocs=theqtcompany.com at qt-project.org
> <interest-bounces+laszlo.agocs=theqtcompany.com at qt-project.org> on
> behalf of Jason H <jhihn at gmx.com>
> > > Sent: Thursday, February 5, 2015 5:52 PM
> > > To: interest at qt-project.org
> > > Subject: [Interest] "Flat Light" Style How?
> > >
> > > I have a commercial license and I can not find any info on how to
> use "Flat Light" style.
> > >
> > > Can someone clue me in?
> > >
> > > Thanks!
> > > _______________________________________________
> > > Interest mailing list
> > > Interest at qt-project.org
> > > http://lists.qt-project.org/mailman/listinfo/interest
> > >
> >
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list