def setupUi(self): self.obj_QMainWindow__setupUi = QtWidgets.QMainWindow() Gui.centering(self.obj_QMainWindow__setupUi) self.obj_AuthenticateGui = AuthenticateGui() self.obj_AuthenticateGui.setupUi(self.obj_QMainWindow__setupUi) self.obj_QMainWindow__setupUi.show() self.obj_AuthenticateGui.btn_authenticate.clicked.connect( self.authenticate)
def setupUi(self): self.obj_UnmountGui = UnmountGui() self.obj_QMainWindow__setupUi = QtWidgets.QMainWindow() self.obj_UnmountGui.setupUi(self.obj_QMainWindow__setupUi) Gui.centering(self.obj_QMainWindow__setupUi) self.getPath() self.obj_QMainWindow__setupUi.show() self.obj_UnmountGui.pushButton.clicked.connect(self.unmount)
def setupUi(self): self.obj_MountGui = MountGui() self.obj_NavigatorGui = NavigatorGui() self.obj_QMainWindow__setupUi = QtWidgets.QMainWindow() self.obj_MountGui.setupUi(self.obj_QMainWindow__setupUi) Gui.centering(self.obj_QMainWindow__setupUi) self.obj_QMainWindow__setupUi.show() self.obj_QMainWindow__navigate = QtWidgets.QMainWindow() self.obj_NavigatorGui.setupUi(self.obj_QMainWindow__navigate) Gui.centering(self.obj_QMainWindow__navigate) self.obj_MountGui.btn_local.clicked.connect(self.local) self.obj_MountGui.btn_cloud.clicked.connect( self.obj_QMainWindow__navigate.show) self.obj_MountGui.btn_mount.clicked.connect(self.mount) self.obj_NavigatorGui.web.loadProgress.connect(self.statusLoading) self.obj_NavigatorGui.web.loadFinished.connect(self.statusDone) self.obj_NavigatorGui.pushButton.clicked.connect(self.extract)
from gui.Gui import Gui gui = Gui()
#!/usr/bin/env python # -*- coding: utf-8 -*- from Tkinter import Tk from gui.Gui import Gui if __name__ == "__main__": root = Tk() root.resizable(width=True, height=True) interface = Gui(master=root) interface.master.title( "RP : Mots Croisés (Bourdache Nadjet, Adequin Renaud)") interface.pack(fill="both", expand=True) interface.mainloop()
def __init__(self): self.__engine = Engine() self.__minutiae_reader = MinutiaeReader() self.__gui = Gui(self.__engine, self.__minutiae_reader)
#!/usr/bin/env python # -*- coding: utf-8 -*- from Tkinter import Tk from gui.Gui import Gui if __name__ == "__main__": root = Tk() root.resizable(width = True, height = True) interface = Gui(master=root) interface.master.title("RP : Mots Croisés (Bourdache Nadjet, Adequin Renaud)") interface.pack(fill="both", expand=True) interface.mainloop()
def run(self): gui = Gui() gui.draw()
def gui(self): gui = Gui() gui.run()