1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'templates_dialog.ui'
5 # Created: Mon Nov 29 13:37:20 2010
6 # by: PyQt4 UI code generator 4.7.4
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4
import QtCore
, QtGui
12 class Ui_TemplatesDialog(object):
13 def setupUi(self
, TemplatesDialog
):
14 TemplatesDialog
.setObjectName("TemplatesDialog")
15 TemplatesDialog
.resize(751, 535)
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, 1)
21 self
.templates
= QtGui
.QComboBox(TemplatesDialog
)
22 self
.templates
.setMinimumSize(QtCore
.QSize(250, 0))
23 self
.templates
.setObjectName("templates")
24 self
.gridLayout
.addWidget(self
.templates
, 0, 1, 1, 1)
25 self
.edit
= QtGui
.QPushButton(TemplatesDialog
)
26 self
.edit
.setObjectName("edit")
27 self
.gridLayout
.addWidget(self
.edit
, 0, 2, 1, 1)
28 self
.pushButton
= QtGui
.QPushButton(TemplatesDialog
)
29 self
.pushButton
.setObjectName("pushButton")
30 self
.gridLayout
.addWidget(self
.pushButton
, 0, 3, 1, 1)
31 self
.template_text
= QtGui
.QPlainTextEdit(TemplatesDialog
)
33 font
.setFamily("Monospace")
34 self
.template_text
.setFont(font
)
35 self
.template_text
.setTabChangesFocus(True)
36 self
.template_text
.setObjectName("template_text")
37 self
.gridLayout
.addWidget(self
.template_text
, 1, 0, 1, 4)
38 self
.close
= QtGui
.QPushButton(TemplatesDialog
)
39 self
.close
.setObjectName("close")
40 self
.gridLayout
.addWidget(self
.close
, 2, 3, 1, 1)
42 self
.retranslateUi(TemplatesDialog
)
43 QtCore
.QObject
.connect(self
.close
, QtCore
.SIGNAL("clicked()"), TemplatesDialog
.accept
)
44 QtCore
.QMetaObject
.connectSlotsByName(TemplatesDialog
)
45 TemplatesDialog
.setTabOrder(self
.templates
, self
.edit
)
46 TemplatesDialog
.setTabOrder(self
.edit
, self
.pushButton
)
47 TemplatesDialog
.setTabOrder(self
.pushButton
, self
.template_text
)
48 TemplatesDialog
.setTabOrder(self
.template_text
, self
.close
)
50 def retranslateUi(self
, TemplatesDialog
):
51 TemplatesDialog
.setWindowTitle(QtGui
.QApplication
.translate("TemplatesDialog", "Template Editor", None, QtGui
.QApplication
.UnicodeUTF8
))
52 self
.label
.setText(QtGui
.QApplication
.translate("TemplatesDialog", "Template", None, QtGui
.QApplication
.UnicodeUTF8
))
53 self
.edit
.setToolTip(QtGui
.QApplication
.translate("TemplatesDialog", "Click to edit the\n"
54 "selected template", None, QtGui
.QApplication
.UnicodeUTF8
))
55 self
.edit
.setText(QtGui
.QApplication
.translate("TemplatesDialog", "&Edit", None, QtGui
.QApplication
.UnicodeUTF8
))
56 self
.pushButton
.setToolTip(QtGui
.QApplication
.translate("TemplatesDialog", "Save the template\n"
57 "modified below", None, QtGui
.QApplication
.UnicodeUTF8
))
58 self
.pushButton
.setText(QtGui
.QApplication
.translate("TemplatesDialog", "&Save", None, QtGui
.QApplication
.UnicodeUTF8
))
59 self
.close
.setText(QtGui
.QApplication
.translate("TemplatesDialog", "&Close", None, QtGui
.QApplication
.UnicodeUTF8
))