getOpenFileName returns str, not tuple
make it work with PyQt, main difference is Qt.NoPen and Qt.NoBrush. I also get an error when closing it, but I don't worry about it