# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TargetDetailForm.ui' # # Created: Thu Feb 5 01:42:06 2004 # by: The PyQt User Interface Compiler (pyuic) 3.8.1 # # WARNING! All changes made in this file will be lost! import sys from qt import * class TargetDetailForm(QWidget): def __init__(self,parent = None,name = None,fl = 0): QWidget.__init__(self,parent,name,fl) if not name: self.setName("TargetDetailForm") TargetDetailFormLayout = QVBoxLayout(self,11,6,"TargetDetailFormLayout") self.targetwidgetStack = QWidgetStack(self,"targetwidgetStack") self.targetwidgetStack.setFrameShape(QWidgetStack.NoFrame) self.WStackPage = QWidget(self.targetwidgetStack,"WStackPage") WStackPageLayout = QVBoxLayout(self.WStackPage,11,6,"WStackPageLayout") self.groupBox5_3 = QGroupBox(self.WStackPage,"groupBox5_3") self.groupBox5_3.setColumnLayout(0,Qt.Vertical) self.groupBox5_3.layout().setSpacing(6) self.groupBox5_3.layout().setMargin(11) groupBox5_3Layout = QVBoxLayout(self.groupBox5_3.layout()) groupBox5_3Layout.setAlignment(Qt.AlignTop) layout203 = QGridLayout(None,1,1,0,6,"layout203") layout196 = QVBoxLayout(None,0,6,"layout196") self.textLabel2_3_4 = QLabel(self.groupBox5_3,"textLabel2_3_4") layout196.addWidget(self.textLabel2_3_4) self.textLabel2_3_3_2 = QLabel(self.groupBox5_3,"textLabel2_3_3_2") layout196.addWidget(self.textLabel2_3_3_2) self.textLabel2_3_2_2 = QLabel(self.groupBox5_3,"textLabel2_3_2_2") layout196.addWidget(self.textLabel2_3_2_2) layout203.addMultiCellLayout(layout196,0,2,0,0) layout91 = QHBoxLayout(None,0,6,"layout91") self.dstnodelocLabel = QLabel(self.groupBox5_3,"dstnodelocLabel") layout91.addWidget(self.dstnodelocLabel) spacer = QSpacerItem(210,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout91.addItem(spacer) layout203.addLayout(layout91,2,1) self.dstnodeaddrListBox = QListBox(self.groupBox5_3,"dstnodeaddrListBox") layout203.addMultiCellWidget(self.dstnodeaddrListBox,0,2,2,2) layout202 = QHBoxLayout(None,0,6,"layout202") self.dstnodenameLabel = QLabel(self.groupBox5_3,"dstnodenameLabel") layout202.addWidget(self.dstnodenameLabel) spacer_2 = QSpacerItem(141,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout202.addItem(spacer_2) self.textLabel3_2_2 = QLabel(self.groupBox5_3,"textLabel3_2_2") layout202.addWidget(self.textLabel3_2_2) layout203.addLayout(layout202,0,1) layout102 = QHBoxLayout(None,0,6,"layout102") self.dstnodecatLabel = QLabel(self.groupBox5_3,"dstnodecatLabel") layout102.addWidget(self.dstnodecatLabel) spacer_3 = QSpacerItem(210,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout102.addItem(spacer_3) layout203.addLayout(layout102,1,1) groupBox5_3Layout.addLayout(layout203) WStackPageLayout.addWidget(self.groupBox5_3) self.groupBox5_4_2 = QGroupBox(self.WStackPage,"groupBox5_4_2") self.groupBox5_4_2.setColumnLayout(0,Qt.Vertical) self.groupBox5_4_2.layout().setSpacing(6) self.groupBox5_4_2.layout().setMargin(11) groupBox5_4_2Layout = QVBoxLayout(self.groupBox5_4_2.layout()) groupBox5_4_2Layout.setAlignment(Qt.AlignTop) layout126 = QGridLayout(None,1,1,0,6,"layout126") layout125 = QHBoxLayout(None,0,6,"layout125") self.dstusrcatLabel = QLabel(self.groupBox5_4_2,"dstusrcatLabel") layout125.addWidget(self.dstusrcatLabel) spacer_4 = QSpacerItem(210,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout125.addItem(spacer_4) layout126.addLayout(layout125,1,1) layout123 = QVBoxLayout(None,0,6,"layout123") self.textLabel2_3_5_2_2 = QLabel(self.groupBox5_4_2,"textLabel2_3_5_2_2") layout123.addWidget(self.textLabel2_3_5_2_2) self.textLabel2_3_5_3 = QLabel(self.groupBox5_4_2,"textLabel2_3_5_3") layout123.addWidget(self.textLabel2_3_5_3) layout126.addMultiCellLayout(layout123,0,1,0,0) layout124 = QHBoxLayout(None,0,6,"layout124") self.dstusrnameLabel = QLabel(self.groupBox5_4_2,"dstusrnameLabel") layout124.addWidget(self.dstusrnameLabel) spacer_5 = QSpacerItem(150,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout124.addItem(spacer_5) self.textLabel4_2 = QLabel(self.groupBox5_4_2,"textLabel4_2") layout124.addWidget(self.textLabel4_2) layout126.addLayout(layout124,0,1) self.dstusridentListBox = QListBox(self.groupBox5_4_2,"dstusridentListBox") layout126.addMultiCellWidget(self.dstusridentListBox,0,1,2,2) groupBox5_4_2Layout.addLayout(layout126) WStackPageLayout.addWidget(self.groupBox5_4_2) self.groupBox5_2_3 = QGroupBox(self.WStackPage,"groupBox5_2_3") self.groupBox5_2_3.setColumnLayout(0,Qt.Vertical) self.groupBox5_2_3.layout().setSpacing(6) self.groupBox5_2_3.layout().setMargin(11) groupBox5_2_3Layout = QVBoxLayout(self.groupBox5_2_3.layout()) groupBox5_2_3Layout.setAlignment(Qt.AlignTop) layout196_2 = QGridLayout(None,1,1,0,6,"layout196_2") layout107 = QHBoxLayout(None,0,6,"layout107") self.dstprocidentLabel = QLabel(self.groupBox5_2_3,"dstprocidentLabel") layout107.addWidget(self.dstprocidentLabel) spacer_6 = QSpacerItem(292,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout107.addItem(spacer_6) layout196_2.addLayout(layout107,0,1) layout104 = QVBoxLayout(None,0,6,"layout104") self.textLabel6_4 = QLabel(self.groupBox5_2_3,"textLabel6_4") layout104.addWidget(self.textLabel6_4) self.textLabel6_2_2 = QLabel(self.groupBox5_2_3,"textLabel6_2_2") layout104.addWidget(self.textLabel6_2_2) layout196_2.addMultiCellLayout(layout104,0,1,2,2) layout179 = QHBoxLayout(None,0,6,"layout179") spacer_7 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout179.addItem(spacer_7) self.dstprocpidLabel = QLabel(self.groupBox5_2_3,"dstprocpidLabel") layout179.addWidget(self.dstprocpidLabel) layout196_2.addLayout(layout179,1,3) layout115 = QVBoxLayout(None,0,6,"layout115") self.textLabel6_3_2_2 = QLabel(self.groupBox5_2_3,"textLabel6_3_2_2") layout115.addWidget(self.textLabel6_3_2_2) self.textLabel6_3_3 = QLabel(self.groupBox5_2_3,"textLabel6_3_3") layout115.addWidget(self.textLabel6_3_3) layout196_2.addMultiCellLayout(layout115,0,1,0,0) layout108 = QHBoxLayout(None,0,6,"layout108") self.dstprocpathLabel = QLabel(self.groupBox5_2_3,"dstprocpathLabel") layout108.addWidget(self.dstprocpathLabel) spacer_8 = QSpacerItem(230,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout108.addItem(spacer_8) layout196_2.addLayout(layout108,1,1) layout195 = QHBoxLayout(None,0,6,"layout195") spacer_9 = QSpacerItem(16,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout195.addItem(spacer_9) self.dstprocnameLabel = QLabel(self.groupBox5_2_3,"dstprocnameLabel") layout195.addWidget(self.dstprocnameLabel) layout196_2.addLayout(layout195,0,3) groupBox5_2_3Layout.addLayout(layout196_2) WStackPageLayout.addWidget(self.groupBox5_2_3) self.groupBox5_2_2_2 = QGroupBox(self.WStackPage,"groupBox5_2_2_2") self.groupBox5_2_2_2.setColumnLayout(0,Qt.Vertical) self.groupBox5_2_2_2.layout().setSpacing(6) self.groupBox5_2_2_2.layout().setMargin(11) groupBox5_2_2_2Layout = QVBoxLayout(self.groupBox5_2_2_2.layout()) groupBox5_2_2_2Layout.setAlignment(Qt.AlignTop) layout181 = QGridLayout(None,1,1,0,6,"layout181") self.dstsrvsnmpLabel = QLabel(self.groupBox5_2_2_2,"dstsrvsnmpLabel") layout181.addWidget(self.dstsrvsnmpLabel,2,3) layout96 = QHBoxLayout(None,0,6,"layout96") self.dstsrvportLabel = QLabel(self.groupBox5_2_2_2,"dstsrvportLabel") layout96.addWidget(self.dstsrvportLabel) spacer_10 = QSpacerItem(180,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout96.addItem(spacer_10) layout181.addLayout(layout96,2,1) layout98 = QHBoxLayout(None,0,6,"layout98") self.dstsrvidentLabel = QLabel(self.groupBox5_2_2_2,"dstsrvidentLabel") layout98.addWidget(self.dstsrvidentLabel) spacer_11 = QSpacerItem(240,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout98.addItem(spacer_11) layout181.addLayout(layout98,0,1) layout97 = QHBoxLayout(None,0,6,"layout97") self.dstsrvnameLabel = QLabel(self.groupBox5_2_2_2,"dstsrvnameLabel") layout97.addWidget(self.dstsrvnameLabel) spacer_12 = QSpacerItem(180,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout97.addItem(spacer_12) layout181.addLayout(layout97,1,1) self.dstsrvprotLabel = QLabel(self.groupBox5_2_2_2,"dstsrvprotLabel") layout181.addWidget(self.dstsrvprotLabel,1,3) layout171 = QVBoxLayout(None,0,6,"layout171") self.textLabel8_2 = QLabel(self.groupBox5_2_2_2,"textLabel8_2") layout171.addWidget(self.textLabel8_2) self.textLabel9_2 = QLabel(self.groupBox5_2_2_2,"textLabel9_2") layout171.addWidget(self.textLabel9_2) self.textLabel10_2 = QLabel(self.groupBox5_2_2_2,"textLabel10_2") layout171.addWidget(self.textLabel10_2) self.textLabel11_2_2_3 = QLabel(self.groupBox5_2_2_2,"textLabel11_2_2_3") layout171.addWidget(self.textLabel11_2_2_3) layout181.addMultiCellLayout(layout171,0,3,0,0) layout85 = QHBoxLayout(None,0,6,"layout85") self.dstsrvurlLabel = QLabel(self.groupBox5_2_2_2,"dstsrvurlLabel") layout85.addWidget(self.dstsrvurlLabel) spacer_13 = QSpacerItem(325,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout85.addItem(spacer_13) layout181.addMultiCellLayout(layout85,3,3,1,3) self.dstsrvtypeLabel = QLabel(self.groupBox5_2_2_2,"dstsrvtypeLabel") layout181.addWidget(self.dstsrvtypeLabel,0,3) layout95 = QVBoxLayout(None,0,6,"layout95") self.textLabel11_2_3 = QLabel(self.groupBox5_2_2_2,"textLabel11_2_3") layout95.addWidget(self.textLabel11_2_3) self.textLabel11_3 = QLabel(self.groupBox5_2_2_2,"textLabel11_3") layout95.addWidget(self.textLabel11_3) self.textLabel11_2_2_2_2 = QLabel(self.groupBox5_2_2_2,"textLabel11_2_2_2_2") layout95.addWidget(self.textLabel11_2_2_2_2) layout181.addMultiCellLayout(layout95,0,2,2,2) groupBox5_2_2_2Layout.addLayout(layout181) WStackPageLayout.addWidget(self.groupBox5_2_2_2) layout201 = QHBoxLayout(None,0,6,"layout201") spacer_14 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout201.addItem(spacer_14) self.filesButton = QPushButton(self.WStackPage,"filesButton") self.filesButton.setEnabled(0) self.filesButton.setFlat(0) layout201.addWidget(self.filesButton) spacer_15 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout201.addItem(spacer_15) WStackPageLayout.addLayout(layout201) self.targetwidgetStack.addWidget(self.WStackPage,0) self.WStackPage_2 = QWidget(self.targetwidgetStack,"WStackPage_2") self.targetwidgetStack.addWidget(self.WStackPage_2,1) TargetDetailFormLayout.addWidget(self.targetwidgetStack) self.languageChange() self.resize(QSize(524,547).expandedTo(self.minimumSizeHint())) self.clearWState(Qt.WState_Polished) def languageChange(self): self.setCaption(self.__tr("Target Detail")) self.groupBox5_3.setTitle(self.__tr("Node")) self.textLabel2_3_4.setText(self.__tr("Name :")) self.textLabel2_3_3_2.setText(self.__tr("Category :")) self.textLabel2_3_2_2.setText(self.__tr("Location :")) self.dstnodelocLabel.setText(self.__tr("Not Available")) self.dstnodenameLabel.setText(self.__tr("Not Available")) self.textLabel3_2_2.setText(self.__tr("Addresse :")) self.dstnodecatLabel.setText(self.__tr("Not Available")) self.groupBox5_4_2.setTitle(self.__tr("User")) self.dstusrcatLabel.setText(self.__tr("Not Available")) self.textLabel2_3_5_2_2.setText(self.__tr("Name :")) self.textLabel2_3_5_3.setText(self.__tr("Category :")) self.dstusrnameLabel.setText(self.__tr("Not Available")) self.textLabel4_2.setText(self.__tr("Ident :")) self.groupBox5_2_3.setTitle(self.__tr("Process")) self.dstprocidentLabel.setText(self.__tr("0")) self.textLabel6_4.setText(self.__tr("Name :")) self.textLabel6_2_2.setText(self.__tr("PID :")) self.dstprocpidLabel.setText(self.__tr("0")) self.textLabel6_3_2_2.setText(self.__tr("Ident :")) self.textLabel6_3_3.setText(self.__tr("Path :")) self.dstprocpathLabel.setText(self.__tr("Not Available")) self.dstprocnameLabel.setText(self.__tr("Not Available")) self.groupBox5_2_2_2.setTitle(self.__tr("Service")) self.dstsrvsnmpLabel.setText(self.__tr("Not Available")) self.dstsrvportLabel.setText(self.__tr("Not Available")) self.dstsrvidentLabel.setText(self.__tr("0")) self.dstsrvnameLabel.setText(self.__tr("Not Available")) self.dstsrvprotLabel.setText(self.__tr("Not Available")) self.textLabel8_2.setText(self.__tr("Ident :")) self.textLabel9_2.setText(self.__tr("Name :")) self.textLabel10_2.setText(self.__tr("Port :")) self.textLabel11_2_2_3.setText(self.__tr("Web URL :")) self.dstsrvurlLabel.setText(self.__tr("Not Available")) self.dstsrvtypeLabel.setText(self.__tr("Not Available")) self.textLabel11_2_3.setText(self.__tr("Type :")) self.textLabel11_3.setText(self.__tr("Protocol :")) self.textLabel11_2_2_2_2.setText(self.__tr("SNMP OID :")) self.filesButton.setText(self.__tr("Files Information >")) def __tr(self,s,c = None): return qApp.translate("TargetDetailForm",s,c) if __name__ == "__main__": a = QApplication(sys.argv) QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) w = TargetDetailForm() a.setMainWidget(w) w.show() a.exec_loop()