Ok me again :)

I found it: QApplication.setStyle(String)

Then i got allowed styles with QStyleFactory.keys(): [Windows, WindowsXP,
WindowsVista, Motif, CDE, Plastique, Cleanlooks]

So i tried with some of them:

It works with the following styles: Windows, WindowsXP
but not with: WindowsVista

Do you know why ?

Thx


On Wed, Feb 11, 2009 at 11:17 AM, Vincent Lebreil <[email protected]
> wrote:

> More information:
>
> I guess you're not using Vista ;) cause in fact I've tried to change QStyle
> in my source code by adding this line:
>
> QApplication.setStyle(new QWindowsStyle());
>
> Then it works! ... but with an old-fashioned style (windows 3.1)
>
> I've not been able to find QWindowsXPStyle, QWindowsVistaStyle in
> qtjambi-4.4.3_01.jar.
>
> So I'm not able to apply a specific style...
>
> However, with demo (qtjambi.exe), it's possible to apply specific style
> (Vista, XP and so on)... . how is this possible ?
>
> Please help me :)
>
>
>
> On Wed, Feb 11, 2009 at 10:49 AM, Vincent Lebreil <
> [email protected]> wrote:
>
>> I forgot to tell you that I'm using QtJambi 4.4.3_01, Eclipse Ganymede,
>> Windows Vista, and JRE 1.6.0_02
>>
>> Have you any idea why this is not working with my configuration ??
>>
>> thx
>>
>> V.
>>
>>
>> On Wed, Feb 11, 2009 at 10:18 AM, Gunnar Sletta <[email protected]>wrote:
>>
>>> Vincent Lebreil wrote:
>>>
>>>> But with the code I sent you, ie with a QTreeView AND a
>>>> QAbstractItemModel (not a QAbstractTableModel) (see my code below), do you
>>>> reproduce this behaviour ?
>>>>
>>>
>>> this example also works for me ;)
>>>
>>> -
>>> Gunnar
>>>
>>
>>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to