Modified the template editing setup
[biaweb_qt.git] / ui_templates_dialog.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'templates_dialog.ui'
4 #
5 # Created: Mon Nov 29 15:30:13 2010
6 # by: PyQt4 UI code generator 4.7.4
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 class Ui_TemplatesDialog(object):
13 def setupUi(self, TemplatesDialog):
14 TemplatesDialog.setObjectName("TemplatesDialog")
15 TemplatesDialog.resize(350, 256)
16 self.gridLayout = QtGui.QGridLayout(TemplatesDialog)
17 self.gridLayout.setObjectName("gridLayout")
18 self.label = QtGui.QLabel(TemplatesDialog)
19 self.label.setObjectName("label")
20 self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
21 self.templates = QtGui.QListWidget(TemplatesDialog)
22 self.templates.setObjectName("templates")
23 self.gridLayout.addWidget(self.templates, 1, 0, 1, 3)
24 self.edit = QtGui.QPushButton(TemplatesDialog)
25 self.edit.setCheckable(False)
26 self.edit.setChecked(False)
27 self.edit.setObjectName("edit")
28 self.gridLayout.addWidget(self.edit, 2, 1, 1, 1)
29 self.close = QtGui.QPushButton(TemplatesDialog)
30 self.close.setObjectName("close")
31 self.gridLayout.addWidget(self.close, 2, 2, 1, 1)
32
33 self.retranslateUi(TemplatesDialog)
34 QtCore.QObject.connect(self.close, QtCore.SIGNAL("clicked()"), TemplatesDialog.accept)
35 QtCore.QMetaObject.connectSlotsByName(TemplatesDialog)
36 TemplatesDialog.setTabOrder(self.edit, self.close)
37
38 def retranslateUi(self, TemplatesDialog):
39 TemplatesDialog.setWindowTitle(QtGui.QApplication.translate("TemplatesDialog", "Templates", None, QtGui.QApplication.UnicodeUTF8))
40 self.label.setText(QtGui.QApplication.translate("TemplatesDialog", "Choose template", None, QtGui.QApplication.UnicodeUTF8))
41 self.edit.setToolTip(QtGui.QApplication.translate("TemplatesDialog", "Click to edit the\n"
42 "selected template", None, QtGui.QApplication.UnicodeUTF8))
43 self.edit.setText(QtGui.QApplication.translate("TemplatesDialog", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
44 self.close.setText(QtGui.QApplication.translate("TemplatesDialog", "&Close", None, QtGui.QApplication.UnicodeUTF8))
45