[PyQt] File Dialogs Not Native In Linux Mint 17.3
Nick
napperley at gmail.com
Fri Aug 19 12:34:54 BST 2016
Been trying out a ZetCode sample on file dialogs (QFileDialog) using PyQt
5.7 via pip and a custom build of Python 3.5 in a virtual environment. When
running the sample the file dialog looks way out of place (*UGLY* in a
hugely distracting way). Seems to look and behave like the Qt
implementation, not like the native one. The sample runs on Linux Mint 17.3
using Cinnamon (Gtk 3 based) as the desktop.
Cannonical's version of PyQt (5.2.1) with Ubuntu 14.04 LTS, and Linux Mint
17.3 from what I could gather doesn't have the same issue with QFileDialog
looking and behaving out of place. When comparing the sample to the
VirtualBox's Import Appliance dialog (QT 5 based) there are very drastic
differences in the dialog look and behaviour. Geany's file dialog (Gtk 2
based) looks very similar to the VirtualBox one with some minor differences.
QFileDialog with PyQt 5.7 should be using the Nemo (official Linux Mint
File Manager) file dialogs when a PyQt program is running under Linux Mint.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160819/620692e6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyQt 5.7 File Dialog - Linux Mint 17.3 Cinnamon.png
Type: image/png
Size: 32004 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160819/620692e6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VirtualBox Import Appliance Dialog.png
Type: image/png
Size: 47425 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160819/620692e6/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Geany Open File Dialog.png
Type: image/png
Size: 77685 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160819/620692e6/attachment-0005.png>
More information about the PyQt
mailing list