[PyQt] Re: I am not geting Oxygen Theme in my PyQt application

ap gnuanu at gmail.com
Wed May 6 20:01:39 BST 2009


On 4/30/09, David Boddie <dboddie at trolltech.com> wrote:
> On Thu Apr 30 10:29:38 BST 2009, ap wrote:
>
>> I did not get an answer for this query yet. :(
>>
>> On Mon, Apr 6, 2009 at 3:22 PM, Anoop <gnuanu at gmail.com> wrote:
>> >
>> > I am using PyQt4 for developing an application in KDE4. but When I
>> > displayed a message box using PyQt, i got one without the Oxygen theme.
>> > What should i have missed?
>> >
>> > Please see the attached screenshots of messageboxes i got using python
>> > and cpp with Qt. Please have a look at "Ok" Button on both.
>
> At the Python prompt, type the following:
>
>   from PyQt4.QtGui import QStyleFactory
>   map(str, QStyleFactory.keys())
>
> You should see a list of names. Can you post the contents of that list,
> please?

Here is the output and sorry for the delay...

$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtGui import QStyleFactory
>>> map(str, QStyleFactory.keys())
['Oxygen', 'Phase', 'Windows', 'Motif', 'CDE', 'Plastique', 'GTK+',
'Cleanlooks']
>>>

Thanks,
Anoop

> David
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


-- 
അനൂപ് പനവളപ്പില്‍
സ്വതന്ത്ര മലയാളം കമ്പ്യൂട്ടിങ്ങ് - എന്റെ കമ്പ്യൂട്ടറിന് എന്റെ ഭാഷ
[Web : http://smc.org.in] [GG :
http://groups.google.com/group/smc-discuss] [IRC : #smc-project in
FreeNode]

►
"I am not a liberator. Liberators do not exist. The people liberate themselves."
--Ernesto Che Guevara
◄



More information about the PyQt mailing list