def __init__(self, parent_win, orignal_path_text='', change_path_text='', code=''): GUILibraries.QDialog.__init__(self, parent_win) self.Fixity = SharedApp.SharedApp.App self.parent_win = parent_win self.path_change_win = GUILibraries.QDialog(self.parent_win) self.path_change_win.setWindowModality(GUILibraries.Qt.WindowModal) self.path_change_win.setWindowTitle('Change Directory') self.setWindowIcon( GUILibraries.QIcon(r'' + (str( (self.Fixity.Configuration.getLogoSignSmall()))))) self.path_change_layout = GUILibraries.QVBoxLayout() self.orignal_path_text = orignal_path_text self.change_path_text = change_path_text self.code = code self.notification = GUILibraries.NotificationGUI.NotificationGUI()
def CreateWindow(self): self.path_change_win = GUILibraries.QDialog()