Qt-interest Archive, February 2007
qtconfig in Qt4.2.2 on Windows. Where is it?
Message 1 in thread
subj.
--
[ signature omitted ]
Message 2 in thread
On Tuesday 27 February 2007 09:51, Anatoly Kanashin wrote:
> subj.
qtconfig isn't used on windows, only on X11
--
[ signature omitted ]
Message 3 in thread
On Tuesday 27 February 2007 11:58, Bradley T Hughes wrote:
> On Tuesday 27 February 2007 09:51, Anatoly Kanashin wrote:
> > subj.
>
> qtconfig isn't used on windows, only on X11
and what i can use for setup GUI-look of Qt4 applications?
I don't wont to give parameter <-style cleanlooks> for every start of my
programs and Qt utilities like assistant or designer:)
--
[ signature omitted ]
Message 4 in thread
Anatoly Kanashin wrote:
> and what i can use for setup GUI-look of Qt4 applications?
> I don't wont to give parameter <-style cleanlooks> for every start of my
> programs and Qt utilities like assistant or designer:)
Why not
qApp->setStyle(new QCleanlooksStyle);
in main.cpp?
--
[ signature omitted ]
Message 5 in thread
Forrest a écrit :
> Anatoly Kanashin wrote:
>
>> and what i can use for setup GUI-look of Qt4 applications?
>> I don't wont to give parameter <-style cleanlooks> for every start of
>> my programs and Qt utilities like assistant or designer:)
>
>
> Why not
>
> qApp->setStyle(new QCleanlooksStyle);
>
> in main.cpp?
and for Qt utilities? how to do?
--
[ signature omitted ]
Message 6 in thread
veronique.lefrere@xxxxxx wrote:
> and for Qt utilities? how to do?
If it were me, I'd modify the source code to assistant & designer (found
in the tools directory) and recompile them.
--
[ signature omitted ]
Message 7 in thread
On Tuesday 27 February 2007 13:38, Forrest wrote:
> Anatoly Kanashin wrote:
> > and what i can use for setup GUI-look of Qt4 applications?
> > I don't wont to give parameter <-style cleanlooks> for every start of my
> > programs and Qt utilities like assistant or designer:)
>
> Why not
>
> qApp->setStyle(new QCleanlooksStyle);
>
> in main.cpp?
It's only for my own applications. And what about palette, fonts and more? I
don't wont use hard-coded styles :)
--
[ signature omitted ]
Message 8 in thread
>> Why not
>>
>> qApp->setStyle(new QCleanlooksStyle);
>>
>> in main.cpp?
> And what about palette, fonts and more?
Analogous to the code above; see the QApplication docs.
> I
> don't wont use hard-coded styles :)
Simple: Set up a INI file of any kind (preferably using QSettings),
containing the style name you want to use, and you can change the style
on demand.
Martin
--
[ signature omitted ]