rcEndRunDlg.py

Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 
00003 # Form implementation generated from reading ui file 'C:\Temp\Online\LICOS\scriptEngine\rcEndRunDlg.ui'
00004 #
00005 # Created: Thu Apr 27 20:43:35 2006
00006 #      by: The PyQt User Interface Compiler (pyuic) 3.15.1
00007 #
00008 # WARNING! All changes made in this file will be lost!
00009 
00010 
00011 from qt import *
00012 __version__ = "$Revision: 1.1.1.1 $"
00013 from rcCommentPanel import rcCommentPanel
00014 
00015 
00016 class rcEndRunDlg(QDialog):
00017     def __init__(self,parent = None,name = None,modal = 0,fl = 0):
00018         QDialog.__init__(self,parent,name,modal,fl)
00019 
00020         if not name:
00021             self.setName("rcEndRunDlg")
00022 
00023 
00024         rcEndRunDlgLayout = QGridLayout(self,1,1,11,6,"rcEndRunDlgLayout")
00025 
00026         layout16 = QVBoxLayout(None,0,6,"layout16")
00027 
00028         self.comments = rcCommentPanel(self,"comments")
00029         layout16.addWidget(self.comments)
00030 
00031         layout15 = QHBoxLayout(None,0,6,"layout15")
00032         spacer3 = QSpacerItem(21,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00033         layout15.addItem(spacer3)
00034 
00035         layout14 = QVBoxLayout(None,0,6,"layout14")
00036 
00037         self.textLabel1 = QLabel(self,"textLabel1")
00038         textLabel1_font = QFont(self.textLabel1.font())
00039         textLabel1_font.setBold(1)
00040         self.textLabel1.setFont(textLabel1_font)
00041         self.textLabel1.setAlignment(QLabel.AlignVCenter | QLabel.AlignRight)
00042         layout14.addWidget(self.textLabel1)
00043 
00044         self.textLabel1_2 = QLabel(self,"textLabel1_2")
00045         textLabel1_2_font = QFont(self.textLabel1_2.font())
00046         textLabel1_2_font.setBold(1)
00047         self.textLabel1_2.setFont(textLabel1_2_font)
00048         self.textLabel1_2.setAcceptDrops(1)
00049         self.textLabel1_2.setAlignment(QLabel.AlignVCenter | QLabel.AlignRight)
00050         layout14.addWidget(self.textLabel1_2)
00051         layout15.addLayout(layout14)
00052 
00053         layout11 = QVBoxLayout(None,0,6,"layout11")
00054 
00055         self.comboComplStatus = QComboBox(0,self,"comboComplStatus")
00056         layout11.addWidget(self.comboComplStatus)
00057 
00058         self.txtPassword = QLineEdit(self,"txtPassword")
00059         self.txtPassword.setFrameShape(QLineEdit.LineEditPanel)
00060         self.txtPassword.setFrameShadow(QLineEdit.Sunken)
00061         self.txtPassword.setEchoMode(QLineEdit.Password)
00062         layout11.addWidget(self.txtPassword)
00063         layout15.addLayout(layout11)
00064         layout16.addLayout(layout15)
00065 
00066         layout27 = QHBoxLayout(None,0,6,"layout27")
00067         spacer74 = QSpacerItem(96,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00068         layout27.addItem(spacer74)
00069 
00070         self.OK = QPushButton(self,"OK")
00071         self.OK.setDefault(1)
00072         layout27.addWidget(self.OK)
00073 
00074         self.CANCEL = QPushButton(self,"CANCEL")
00075         layout27.addWidget(self.CANCEL)
00076         layout16.addLayout(layout27)
00077 
00078         rcEndRunDlgLayout.addLayout(layout16,0,0)
00079 
00080         self.languageChange()
00081 
00082         self.resize(QSize(408,354).expandedTo(self.minimumSizeHint()))
00083         self.clearWState(Qt.WState_Polished)
00084 
00085 
00086     def languageChange(self):
00087         self.setCaption(self.__tr("End Run Comments"))
00088         self.textLabel1.setText(self.__tr("Completion Status:"))
00089         self.textLabel1_2.setText(self.__tr("Password:"))
00090         self.OK.setText(self.__tr("&OK"))
00091         self.OK.setAccel(self.__tr("Alt+O"))
00092         self.CANCEL.setText(self.__tr("&Cancel"))
00093         self.CANCEL.setAccel(self.__tr("Alt+C"))
00094 
00095 
00096     def __tr(self,s,c = None):
00097         return qApp.translate("rcEndRunDlg",s,c)

Generated on Thu Apr 27 20:52:43 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO