[PyQt] ui gives different look in Designer than when loaded
Tony Peña
emperor.cu at gmail.com
Mon Jan 16 11:03:52 GMT 2012
You can set this enviroment of the GUI to any plataform fixing the theme
with this like when you see in the Qt-Designer with View-Form
adding this lines as example in the
def main():
QApplication.setStyle(QStyleFactory.create("Cleanlooks"))
QApplication.setPalette(QApplication.style().standardPalette())
Kind regards
2012/1/16 C. B. Esquire <crackerbunny at gmail.com>
> The general look of my gui while developed in Designer is different than
> when I compile it and run it, or load up the UI file in python.
>
> Is there a way I can find out what my OS (KDE) is doing to give the look
> it does to the UI while building in Designer? I'd much rather keep the look
> I get in Designer.
>
>
>
> [image: image.jpeg]
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
Antonio Peña
Secure email with PGP 0x8B021001 available at http://pgp.mit.edu
Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120116/f21e69cf/attachment.html>
More information about the PyQt
mailing list