[PyQt] PyQt Digest, Vol 145, Issue 25
napperley at gmail.com
Sat Aug 20 23:47:24 BST 2016
Isn't the choice of dialogs intertwined with styles?
On Sun, 21 Aug 2016 at 06:03 Dmitry Shachnev <mitya57 at ubuntu.com> wrote:
> On Fri, Aug 19, 2016 at 11:42:45AM -0700, David Cortesi wrote:
> > > 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
> > 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 )
> Styles and dialogs are unrelated things. The original question was about
> not using GTK+ dialogs, which can be fixed by building and using the GTK+
> platform theme. This has nothing to do with the styles.
> Also, instead of the args hack in your snippet, you can better use API:
> See https://doc.qt.io/qt-5/qapplication.html#setStyle-1
> Dmitry Shachnev
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt