def fileopen(self):
file = QtWidgets.QFileDialog.getOpenFileName(parent=self, caption="open",
directory="C:\\Users\\KAPA\\Desktop",
filter="All (*);;Exes (*.png *.jpq *.jpeg)",
initialFilter="Exes (*.png *.jpq *.jpeg)")
self.fileName = file[0]