1# -*- coding: utf-8 -*- 2 3# Form implementation generated from reading ui file 'ui4/infodialog_base.ui' 4# 5# Created: Mon May 4 14:30:33 2009 6# by: PyQt4 UI code generator 4.4.4 7# 8# WARNING! All changes made in this file will be lost! 9 10from PyQt4 import QtCore, QtGui 11 12class Ui_Dialog(object): 13 def setupUi(self, Dialog): 14 Dialog.setObjectName("Dialog") 15 Dialog.resize(700, 500) 16 self.gridlayout = QtGui.QGridLayout(Dialog) 17 self.gridlayout.setObjectName("gridlayout") 18 self.label = QtGui.QLabel(Dialog) 19 font = QtGui.QFont() 20 font.setPointSize(16) 21 self.label.setFont(font) 22 self.label.setObjectName("label") 23 self.gridlayout.addWidget(self.label, 0, 0, 1, 1) 24 self.line = QtGui.QFrame(Dialog) 25 self.line.setFrameShape(QtGui.QFrame.HLine) 26 self.line.setFrameShadow(QtGui.QFrame.Sunken) 27 self.line.setObjectName("line") 28 self.gridlayout.addWidget(self.line, 1, 0, 1, 2) 29 self.DeviceComboBox = DeviceUriComboBox(Dialog) 30 self.DeviceComboBox.setObjectName("DeviceComboBox") 31 self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 2) 32 self.TabWidget = QtGui.QTabWidget(Dialog) 33 self.TabWidget.setObjectName("TabWidget") 34 self.tab_2 = QtGui.QWidget() 35 self.tab_2.setObjectName("tab_2") 36 self.gridlayout1 = QtGui.QGridLayout(self.tab_2) 37 self.gridlayout1.setObjectName("gridlayout1") 38 self.StaticTableWidget = QtGui.QTableWidget(self.tab_2) 39 self.StaticTableWidget.setAlternatingRowColors(True) 40 self.StaticTableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection) 41 self.StaticTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) 42 self.StaticTableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerItem) 43 self.StaticTableWidget.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel) 44 self.StaticTableWidget.setGridStyle(QtCore.Qt.DotLine) 45 self.StaticTableWidget.setObjectName("StaticTableWidget") 46 self.StaticTableWidget.setColumnCount(0) 47 self.StaticTableWidget.setRowCount(0) 48 self.gridlayout1.addWidget(self.StaticTableWidget, 0, 0, 1, 1) 49 self.TabWidget.addTab(self.tab_2, "") 50 self.tab = QtGui.QWidget() 51 self.tab.setObjectName("tab") 52 self.gridlayout2 = QtGui.QGridLayout(self.tab) 53 self.gridlayout2.setObjectName("gridlayout2") 54 self.DynamicTableWidget = QtGui.QTableWidget(self.tab) 55 self.DynamicTableWidget.setAlternatingRowColors(True) 56 self.DynamicTableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection) 57 self.DynamicTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) 58 self.DynamicTableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerItem) 59 self.DynamicTableWidget.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel) 60 self.DynamicTableWidget.setGridStyle(QtCore.Qt.DotLine) 61 self.DynamicTableWidget.setObjectName("DynamicTableWidget") 62 self.DynamicTableWidget.setColumnCount(0) 63 self.DynamicTableWidget.setRowCount(0) 64 self.gridlayout2.addWidget(self.DynamicTableWidget, 0, 0, 1, 1) 65 self.TabWidget.addTab(self.tab, "") 66 self.tab_3 = QtGui.QWidget() 67 self.tab_3.setObjectName("tab_3") 68 self.gridlayout3 = QtGui.QGridLayout(self.tab_3) 69 self.gridlayout3.setObjectName("gridlayout3") 70 self.HistoryTableWidget = QtGui.QTableWidget(self.tab_3) 71 self.HistoryTableWidget.setAlternatingRowColors(True) 72 self.HistoryTableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection) 73 self.HistoryTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) 74 self.HistoryTableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel) 75 self.HistoryTableWidget.setGridStyle(QtCore.Qt.DotLine) 76 self.HistoryTableWidget.setObjectName("HistoryTableWidget") 77 self.HistoryTableWidget.setColumnCount(0) 78 self.HistoryTableWidget.setRowCount(0) 79 self.gridlayout3.addWidget(self.HistoryTableWidget, 0, 0, 1, 1) 80 self.TabWidget.addTab(self.tab_3, "") 81 self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 2) 82 spacerItem = QtGui.QSpacerItem(470, 31, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum) 83 self.gridlayout.addItem(spacerItem, 4, 0, 1, 1) 84 spacerItem1 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) 85 self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1) 86 self.CancelButton = QtGui.QPushButton(Dialog) 87 self.CancelButton.setObjectName("CancelButton") 88 self.gridlayout.addWidget(self.CancelButton, 5, 1, 1, 1) 89 90 self.retranslateUi(Dialog) 91 self.TabWidget.setCurrentIndex(0) 92 QtCore.QMetaObject.connectSlotsByName(Dialog) 93 94 def retranslateUi(self, Dialog): 95 Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Device Information", None, QtGui.QApplication.UnicodeUTF8)) 96 self.label.setText(QtGui.QApplication.translate("Dialog", "Device Information", None, QtGui.QApplication.UnicodeUTF8)) 97 self.TabWidget.setTabText(self.TabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("Dialog", "Model Data (Static)", None, QtGui.QApplication.UnicodeUTF8)) 98 self.TabWidget.setTabText(self.TabWidget.indexOf(self.tab), QtGui.QApplication.translate("Dialog", "Status Data (Dynamic)", None, QtGui.QApplication.UnicodeUTF8)) 99 self.HistoryTableWidget.setSortingEnabled(False) 100 self.TabWidget.setTabText(self.TabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("Dialog", "Status History", None, QtGui.QApplication.UnicodeUTF8)) 101 self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8)) 102 103from .deviceuricombobox import DeviceUriComboBox 104