Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. def openFileNameDialog(self):
  2.     options = QFileDialog.Options()
  3.     options |= QFileDialog.DontUseNativeDialog
  4.     fileName, _ = QFileDialog.getOpenFileName(self, "Open A Signal", "", "All Files (*);;Python Files (*.py)", options=options)
  5.     if fileName:
  6.         print(fileName)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement