[PyQt] PyQt Digest, Vol 145, Issue 25

David Cortesi davecortesi at gmail.com
Fri Aug 19 19:42:45 BST 2016


> When running the sample the file dialog looks way out of place (UGLY in
> > a hugely distracting way).
>
>
You might experiment with the -style option when starting the application.
I did this in one case to avoid a problem in the native toolkit:

    args = []
    if sys.platform == 'linux' :
        # avoid a GTK bug in Ubuntu Unity
        args = ['','-style','Cleanlooks']
    the_app = QApplication( args )

See http://doc.qt.io/qt-5/qapplication.html#QApplication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160819/aef03307/attachment-0001.html>


More information about the PyQt mailing list