[PyKDE] eric3 snapshot doesn't pick up qt's UI

Andreas Pakulat apaku at gmx.de
Tue Jan 3 12:32:02 GMT 2006


On 03.01.06 11:04:20, Detlev Offenbach wrote:
> Am Montag, 2. Januar 2006 13:46 schrieb Andreas Pakulat:
> > Hi,
> >
> > I now tried everything that came to my mind, but eric3 doesn't use Qt's
> > UI. Running qtconfig it looks the same as my KDE apps but eric3 looks
> > like a GTK app.
> >
> > The KdeQt/__init__.py  ist executed and no Exception is raised there.
> >
> > Andreas
> 
> Hi,
> 
> eric3 doesn't use GTK stuff,

I know, I just wanted to tell how it looks without making a screen shot.

> The KDE look (KDE dialogs) is activated, if PyKDE is available.

It is available, and I added some print statements in the __init__.py in
KdeQt so I am pretty sure that KdeQt is used.

> If not, it defaults to the Qt dialogs. What style is it using? What is
> the deafult style selected in qtconfig?

qtconfig is set to unknown when started, but I can switch to my kde
style "lipstick". Also qtconfig looks like any other KDE app I have,
i.e. it uses the lipstick style.

Ah, now I got it: PyQt seems to be at fault here. It's examples are
also ugly. It's using the Windows style I think - at least it looks
pretty much like that. 

This is PyQt 3.15 in Python 2.3, latest snapshot just finished and it's
the same there.

> If you are using Red Hat or
> Fedore it could be possible, that their style (can't remember the
> name), that makes Qt (KD) and GTK apps lookalike is used.

I have Debian sid here.

Andreas

PS: latest sip-snapshot indeed fixes eric3 with PyQt snapshot and Python
2.4

-- 
You have the body of a 19 year old.  Please return it before it gets wrinkled.




More information about the PyQt mailing list