def showCheckMesDescription(parent, mesId): if parent.eventEditor is not None: view = CReportViewDialog(parent) view.setWindowTitle(u'ПРОТОКОЛ') view.setText(getMesDescription(parent, mesId)) view.showMaximized() view.exec_()
def showMesDescription(widget, mesId): view = CReportViewDialog(widget) view.setWindowTitle(u'МЭС') view.setText(getMesDescription(mesId)) view.showMaximized() view.exec_()