# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'FileDetailForm.ui' # # Created: Thu Feb 5 01:42:04 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 FileDetailForm(QWidget): def __init__(self,parent = None,name = None,fl = 0): QWidget.__init__(self,parent,name,fl) if not name: self.setName("FileDetailForm") self.groupBox12 = QGroupBox(self,"groupBox12") self.groupBox12.setGeometry(QRect(10,10,450,114)) self.groupBox12.setColumnLayout(0,Qt.Vertical) self.groupBox12.layout().setSpacing(6) self.groupBox12.layout().setMargin(11) groupBox12Layout = QVBoxLayout(self.groupBox12.layout()) groupBox12Layout.setAlignment(Qt.AlignTop) layout5 = QGridLayout(None,1,1,0,6,"layout5") layout3 = QHBoxLayout(None,0,6,"layout3") self.filegencategoryLabel = QLabel(self.groupBox12,"filegencategoryLabel") layout3.addWidget(self.filegencategoryLabel) spacer = QSpacerItem(250,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout3.addItem(spacer) layout5.addLayout(layout3,1,1) layout4 = QHBoxLayout(None,0,6,"layout4") self.filegenpathLabel = QLabel(self.groupBox12,"filegenpathLabel") layout4.addWidget(self.filegenpathLabel) spacer_2 = QSpacerItem(100,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout4.addItem(spacer_2) layout5.addLayout(layout4,2,1) layout1 = QVBoxLayout(None,0,6,"layout1") self.textLabel1 = QLabel(self.groupBox12,"textLabel1") layout1.addWidget(self.textLabel1) self.textLabel1_2 = QLabel(self.groupBox12,"textLabel1_2") layout1.addWidget(self.textLabel1_2) self.textLabel1_3 = QLabel(self.groupBox12,"textLabel1_3") layout1.addWidget(self.textLabel1_3) layout5.addMultiCellLayout(layout1,0,2,0,0) layout2 = QHBoxLayout(None,0,6,"layout2") self.filegennameLabel = QLabel(self.groupBox12,"filegennameLabel") layout2.addWidget(self.filegennameLabel) spacer_3 = QSpacerItem(140,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout2.addItem(spacer_3) self.textLabel1_2_2 = QLabel(self.groupBox12,"textLabel1_2_2") layout2.addWidget(self.textLabel1_2_2) self.filegensizeLabel = QLabel(self.groupBox12,"filegensizeLabel") layout2.addWidget(self.filegensizeLabel) layout5.addLayout(layout2,0,1) groupBox12Layout.addLayout(layout5) self.groupBox12_2_2_2 = QGroupBox(self,"groupBox12_2_2_2") self.groupBox12_2_2_2.setGeometry(QRect(10,140,450,86)) self.groupBox12_2_2_2.setColumnLayout(0,Qt.Vertical) self.groupBox12_2_2_2.layout().setSpacing(6) self.groupBox12_2_2_2.layout().setMargin(11) groupBox12_2_2_2Layout = QVBoxLayout(self.groupBox12_2_2_2.layout()) groupBox12_2_2_2Layout.setAlignment(Qt.AlignTop) layout9 = QGridLayout(None,1,1,0,6,"layout9") layout7 = QHBoxLayout(None,0,6,"layout7") self.filetimemodLabel = QLabel(self.groupBox12_2_2_2,"filetimemodLabel") layout7.addWidget(self.filetimemodLabel) spacer_4 = QSpacerItem(260,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout7.addItem(spacer_4) layout9.addLayout(layout7,1,1) layout6 = QVBoxLayout(None,0,6,"layout6") self.textLabel1_4_3 = QLabel(self.groupBox12_2_2_2,"textLabel1_4_3") layout6.addWidget(self.textLabel1_4_3) self.textLabel1_4_2_2 = QLabel(self.groupBox12_2_2_2,"textLabel1_4_2_2") layout6.addWidget(self.textLabel1_4_2_2) layout9.addMultiCellLayout(layout6,0,1,0,0) layout8 = QHBoxLayout(None,0,6,"layout8") self.filetimecreatLabel = QLabel(self.groupBox12_2_2_2,"filetimecreatLabel") layout8.addWidget(self.filetimecreatLabel) spacer_5 = QSpacerItem(260,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout8.addItem(spacer_5) layout9.addLayout(layout8,0,1) groupBox12_2_2_2Layout.addLayout(layout9) self.groupBox12_2 = QGroupBox(self,"groupBox12_2") self.groupBox12_2.setGeometry(QRect(10,240,450,86)) self.groupBox12_2.setColumnLayout(0,Qt.Vertical) self.groupBox12_2.layout().setSpacing(6) self.groupBox12_2.layout().setMargin(11) groupBox12_2Layout = QVBoxLayout(self.groupBox12_2.layout()) groupBox12_2Layout.setAlignment(Qt.AlignTop) layout33 = QGridLayout(None,1,1,0,6,"layout33") layout29 = QVBoxLayout(None,0,6,"layout29") self.textLabel2_2 = QLabel(self.groupBox12_2,"textLabel2_2") layout29.addWidget(self.textLabel2_2) self.textLabel2_3 = QLabel(self.groupBox12_2,"textLabel2_3") layout29.addWidget(self.textLabel2_3) layout33.addMultiCellLayout(layout29,0,1,0,0) layout31 = QHBoxLayout(None,0,6,"layout31") self.fileaccesspermissionLabel = QLabel(self.groupBox12_2,"fileaccesspermissionLabel") layout31.addWidget(self.fileaccesspermissionLabel) spacer_6 = QSpacerItem(200,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout31.addItem(spacer_6) layout33.addLayout(layout31,1,1) layout30 = QHBoxLayout(None,0,6,"layout30") self.fileaccessusernameLabel = QLabel(self.groupBox12_2,"fileaccessusernameLabel") layout30.addWidget(self.fileaccessusernameLabel) spacer_7 = QSpacerItem(80,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout30.addItem(spacer_7) self.textLabel2 = QLabel(self.groupBox12_2,"textLabel2") layout30.addWidget(self.textLabel2) self.fileaccessuseruidLabel = QLabel(self.groupBox12_2,"fileaccessuseruidLabel") layout30.addWidget(self.fileaccessuseruidLabel) layout33.addLayout(layout30,0,1) groupBox12_2Layout.addLayout(layout33) LayoutWidget = QWidget(self,"layout183") LayoutWidget.setGeometry(QRect(13,342,447,34)) layout183 = QHBoxLayout(LayoutWidget,11,6,"layout183") self.filepreviousButton = QPushButton(LayoutWidget,"filepreviousButton") layout183.addWidget(self.filepreviousButton) spacer_8 = QSpacerItem(190,20,QSizePolicy.Expanding,QSizePolicy.Minimum) layout183.addItem(spacer_8) self.filenextButton = QPushButton(LayoutWidget,"filenextButton") layout183.addWidget(self.filenextButton) self.languageChange() self.resize(QSize(470,478).expandedTo(self.minimumSizeHint())) self.clearWState(Qt.WState_Polished) def languageChange(self): self.setCaption(self.__tr("File Details")) self.groupBox12.setTitle(self.__tr("General")) self.filegencategoryLabel.setText(self.__tr("Not Available")) self.filegenpathLabel.setText(self.__tr("Not Available")) self.textLabel1.setText(self.__tr("Name :")) self.textLabel1_2.setText(self.__tr("Category :")) self.textLabel1_3.setText(self.__tr("Path :")) self.filegennameLabel.setText(self.__tr("Not Available")) self.textLabel1_2_2.setText(self.__tr("Size :")) self.filegensizeLabel.setText(self.__tr("0k")) self.groupBox12_2_2_2.setTitle(self.__tr("Time")) self.filetimemodLabel.setText(self.__tr("Not Available")) self.textLabel1_4_3.setText(self.__tr("Creation :")) self.textLabel1_4_2_2.setText(self.__tr("Modification :")) self.filetimecreatLabel.setText(self.__tr("Not Available")) self.groupBox12_2.setTitle(self.__tr("Access Rights")) self.textLabel2_2.setText(self.__tr("Owner Name :")) self.textLabel2_3.setText(self.__tr("Permission Flags :")) self.fileaccesspermissionLabel.setText(self.__tr("Not Available")) self.fileaccessusernameLabel.setText(self.__tr("Not Available")) self.textLabel2.setText(self.__tr("Owner UID :")) self.fileaccessuseruidLabel.setText(self.__tr("0")) self.filepreviousButton.setText(self.__tr("< Previous File")) self.filenextButton.setText(self.__tr("Next File >")) def __tr(self,s,c = None): return qApp.translate("FileDetailForm",s,c) if __name__ == "__main__": a = QApplication(sys.argv) QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) w = FileDetailForm() a.setMainWidget(w) w.show() a.exec_loop()