[Qt-creator] Embedded GUI Designer

Petric Frank pfrank at gmx.de
Sat Jul 24 19:38:14 CEST 2010


Hello,

and there is no way to apply the new font size to all widgets of an existing 
*.ui file without using a stylesheet ?

regards
  Petric

On Saturday, 24. July 2010 17:29:08 Coda Highland wrote:
> Easiest way is to apply a stylesheet. Something like "QWidget {
> font-size: 12pt; }" should be a start. However, the font sizes should
> automatically pick up your system style settings.
> 
> /s/ Adam
> 
> On Sat, Jul 24, 2010 at 9:09 AM, Petric Frank <pfrank at gmx.de> wrote:
> > Hello,
> > 
> > is there a possibility to change the default font size of all GUI
> > elements (i.e. combo boxes, line edits, group frames, ...) to an other
> > value ?
> > 
> > Not only when the GUI have already been designed - also the ones newly
> > created.
> > 
> > In short:
> > - GUI already designed - change font size of all elements
> > - new widgets - create them with an other font size by default
> > 
> > Currently the widgets are always created with a font size of 9.



More information about the Qt-creator-old mailing list