1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file '/home/dwelch/linux-imaging-and-printing/src/ui/imagepropertiesdlg_base.ui'
5 # Created: Fri Apr 1 14:51:29 2005
6 # by: The PyQt User Interface Compiler (pyuic) 3.14.1
8 # WARNING! All changes made in this file will be lost!
15 class ImagePropertiesDlg_base(QDialog):
16 def __init__(self,parent = None,name = None,modal = 0,fl = 0):
17 QDialog.__init__(self,parent,name,modal,fl)
20 self.setName("ImagePropertiesDlg_base")
23 ImagePropertiesDlg_baseLayout = QGridLayout(self,1,1,11,6,"ImagePropertiesDlg_baseLayout")
25 self.textLabel6 = QLabel(self,"textLabel6")
27 ImagePropertiesDlg_baseLayout.addWidget(self.textLabel6,3,0)
29 self.textLabel8 = QLabel(self,"textLabel8")
31 ImagePropertiesDlg_baseLayout.addWidget(self.textLabel8,4,0)
33 self.textLabel10 = QLabel(self,"textLabel10")
35 ImagePropertiesDlg_baseLayout.addWidget(self.textLabel10,2,0)
37 self.EXifDataListView = QListView(self,"EXifDataListView")
38 self.EXifDataListView.addColumn(self.__tr("EXIF Labels"))
39 self.EXifDataListView.header().setResizeEnabled(0,self.EXifDataListView.header().count() - 1)
40 self.EXifDataListView.addColumn(self.__tr("Contents "))
41 self.EXifDataListView.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding,0,0,self.EXifDataListView.sizePolicy().hasHeightForWidth()))
42 self.EXifDataListView.setMinimumSize(QSize(400,100))
43 self.EXifDataListView.setFrameShadow(QListView.Sunken)
44 self.EXifDataListView.setResizeMode(QListView.AllColumns)
46 ImagePropertiesDlg_baseLayout.addMultiCellWidget(self.EXifDataListView,5,5,0,2)
48 self.LocationText = QLabel(self,"LocationText")
50 ImagePropertiesDlg_baseLayout.addMultiCellWidget(self.LocationText,2,2,1,2)
52 self.MimeTypeText = QLabel(self,"MimeTypeText")
54 ImagePropertiesDlg_baseLayout.addMultiCellWidget(self.MimeTypeText,3,3,1,2)
56 self.SizeText = QLabel(self,"SizeText")
58 ImagePropertiesDlg_baseLayout.addMultiCellWidget(self.SizeText,4,4,1,2)
60 self.FilenameText = QLabel(self,"FilenameText")
62 ImagePropertiesDlg_baseLayout.addMultiCellWidget(self.FilenameText,0,0,0,2)
64 self.line1 = QFrame(self,"line1")
65 self.line1.setFrameShape(QFrame.HLine)
66 self.line1.setFrameShadow(QFrame.Sunken)
67 self.line1.setFrameShape(QFrame.HLine)
69 ImagePropertiesDlg_baseLayout.addMultiCellWidget(self.line1,1,1,0,2)
70 spacer3 = QSpacerItem(300,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
71 ImagePropertiesDlg_baseLayout.addMultiCell(spacer3,6,6,0,1)
73 self.pushButton6 = QPushButton(self,"pushButton6")
75 ImagePropertiesDlg_baseLayout.addWidget(self.pushButton6,6,2)
79 self.resize(QSize(431,388).expandedTo(self.minimumSizeHint()))
80 self.clearWState(Qt.WState_Polished)
82 self.connect(self.pushButton6,SIGNAL("clicked()"),self.close)
85 def languageChange(self):
86 self.setCaption(self.__tr("Properties for"))
87 self.textLabel6.setText(self.__tr("MIME Type:"))
88 self.textLabel8.setText(self.__tr("Size:"))
89 self.textLabel10.setText(self.__tr("Location:"))
90 self.EXifDataListView.header().setLabel(0,self.__tr("EXIF Labels"))
91 self.EXifDataListView.header().setLabel(1,self.__tr("Contents "))
92 self.LocationText.setText(self.__tr("LOCATION"))
93 self.MimeTypeText.setText(self.__tr("MIME TYPE"))
94 self.SizeText.setText(self.__tr("SIZE"))
95 self.FilenameText.setText(self.__tr("FILENAME"))
96 self.pushButton6.setText(self.__tr("OK"))
99 def ViewEXIFButton_clicked(self):
100 print "ImagePropertiesDlg_base.ViewEXIFButton_clicked(): Not implemented yet"
102 def __tr(self,s,c = None):
103 return qApp.translate("ImagePropertiesDlg_base",s,c)
105 if __name__ == "__main__":
106 a = QApplication(sys.argv)
107 QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
108 w = ImagePropertiesDlg_base()