GlobalPanel.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\GlobalPanel.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.6 $"
00013 
00014 
00015 class GlobalPanel(QWidget):
00016     def __init__(self,parent = None,name = None,fl = 0):
00017         QWidget.__init__(self,parent,name,fl)
00018 
00019         if not name:
00020             self.setName("GlobalPanel")
00021 
00022 
00023         GlobalPanelLayout = QGridLayout(self,1,1,11,6,"GlobalPanelLayout")
00024         spacer8 = QSpacerItem(20,250,QSizePolicy.Minimum,QSizePolicy.Expanding)
00025         GlobalPanelLayout.addItem(spacer8,1,0)
00026 
00027         self.frame8 = QFrame(self,"frame8")
00028         self.frame8.setFrameShape(QFrame.StyledPanel)
00029         self.frame8.setFrameShadow(QFrame.Raised)
00030         frame8Layout = QGridLayout(self.frame8,1,1,11,6,"frame8Layout")
00031 
00032         layout2 = QHBoxLayout(None,0,6,"layout2")
00033 
00034         self.MSGLoggerButton = QPushButton(self.frame8,"MSGLoggerButton")
00035         self.MSGLoggerButton.setMinimumSize(QSize(0,50))
00036         layout2.addWidget(self.MSGLoggerButton)
00037 
00038         self.cmdBrowseExport = QPushButton(self.frame8,"cmdBrowseExport")
00039         self.cmdBrowseExport.setMinimumSize(QSize(0,50))
00040         layout2.addWidget(self.cmdBrowseExport)
00041 
00042         self.cmdTeleCommand = QPushButton(self.frame8,"cmdTeleCommand")
00043         self.cmdTeleCommand.setMinimumSize(QSize(0,50))
00044         layout2.addWidget(self.cmdTeleCommand)
00045         spacer17 = QSpacerItem(20,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00046         layout2.addItem(spacer17)
00047 
00048         frame8Layout.addLayout(layout2,0,0)
00049 
00050         layout3 = QHBoxLayout(None,0,6,"layout3")
00051 
00052         self.cmdDiagMonitor = QPushButton(self.frame8,"cmdDiagMonitor")
00053         self.cmdDiagMonitor.setMinimumSize(QSize(0,50))
00054         layout3.addWidget(self.cmdDiagMonitor)
00055 
00056         self.cmdTelemMonitor = QPushButton(self.frame8,"cmdTelemMonitor")
00057         self.cmdTelemMonitor.setMinimumSize(QSize(0,50))
00058         layout3.addWidget(self.cmdTelemMonitor)
00059 
00060         self.cmdHwCfgSelector = QPushButton(self.frame8,"cmdHwCfgSelector")
00061         self.cmdHwCfgSelector.setMinimumSize(QSize(0,50))
00062         layout3.addWidget(self.cmdHwCfgSelector)
00063         spacer17_2 = QSpacerItem(20,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00064         layout3.addItem(spacer17_2)
00065 
00066         frame8Layout.addLayout(layout3,1,0)
00067 
00068         layout4 = QHBoxLayout(None,0,6,"layout4")
00069 
00070         self.cmdFileTool = QPushButton(self.frame8,"cmdFileTool")
00071         self.cmdFileTool.setMinimumSize(QSize(0,50))
00072         layout4.addWidget(self.cmdFileTool)
00073         spacer17_2_2 = QSpacerItem(20,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00074         layout4.addItem(spacer17_2_2)
00075 
00076         frame8Layout.addLayout(layout4,2,0)
00077 
00078         GlobalPanelLayout.addWidget(self.frame8,0,0)
00079 
00080         self.languageChange()
00081 
00082         self.resize(QSize(318,483).expandedTo(self.minimumSizeHint()))
00083         self.clearWState(Qt.WState_Polished)
00084 
00085 
00086     def languageChange(self):
00087         self.setCaption(self.__tr("GlobalPanel"))
00088         self.MSGLoggerButton.setText(self.__tr("Message\n"
00089 "Logger"))
00090         QToolTip.add(self.MSGLoggerButton,QString.null)
00091         self.cmdBrowseExport.setText(self.__tr("Browse\n"
00092 "Exported\n"
00093 "Files"))
00094         QToolTip.add(self.cmdBrowseExport,QString.null)
00095         self.cmdTeleCommand.setText(self.__tr("Real-time\n"
00096 "Telecommand\n"
00097 "GUI"))
00098         QToolTip.add(self.cmdTeleCommand,QString.null)
00099         self.cmdDiagMonitor.setText(self.__tr("Diagnostics\n"
00100 "Telemetry\n"
00101 "Monitor"))
00102         QToolTip.add(self.cmdDiagMonitor,QString.null)
00103         self.cmdTelemMonitor.setText(self.__tr("Telemetry\n"
00104 "Monitor"))
00105         QToolTip.add(self.cmdTelemMonitor,QString.null)
00106         self.cmdHwCfgSelector.setText(self.__tr("Hadware\n"
00107 "Configuration\n"
00108 "Selector"))
00109         QToolTip.add(self.cmdHwCfgSelector,QString.null)
00110         self.cmdFileTool.setText(self.__tr("File Upload &\n"
00111 "Download \n"
00112 "Tool"))
00113         QToolTip.add(self.cmdFileTool,QString.null)
00114 
00115 
00116     def __tr(self,s,c = None):
00117         return qApp.translate("GlobalPanel",s,c)

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