1
# -*- coding: utf-8 -*-
3
# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/xexp_edit.ui'
5
# Created: Wed Sep 9 19:38:12 2009
6
# by: PyQt4 UI code generator 4.5.4
8
# WARNING! All changes made in this file will be lost!
10
from PyQt4 import QtCore, QtGui
12
class Ui_Form(object):
13
def setupUi(self, Form):
14
Form.setObjectName("Form")
16
self.gridLayout = QtGui.QGridLayout(Form)
17
self.gridLayout.setObjectName("gridLayout")
18
self.verticalLayout = QtGui.QVBoxLayout()
19
self.verticalLayout.setObjectName("verticalLayout")
20
self.msg = QtGui.QLabel(Form)
21
self.msg.setWordWrap(True)
22
self.msg.setObjectName("msg")
23
self.verticalLayout.addWidget(self.msg)
24
self.edit = QtGui.QLineEdit(Form)
25
self.edit.setObjectName("edit")
26
self.verticalLayout.addWidget(self.edit)
27
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
28
self.button = QtGui.QToolButton(Form)
30
icon.addPixmap(QtGui.QPixmap(I("wizard.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
31
self.button.setIcon(icon)
32
self.button.setIconSize(QtCore.QSize(40, 40))
33
self.button.setObjectName("button")
34
self.gridLayout.addWidget(self.button, 0, 1, 1, 1)
35
self.msg.setBuddy(self.edit)
37
self.retranslateUi(Form)
38
QtCore.QMetaObject.connectSlotsByName(Form)
40
def retranslateUi(self, Form):
41
Form.setWindowTitle(_("Form"))
42
self.msg.setText(_("TextLabel"))
43
self.button.setToolTip(_("Use a wizard to help construct the XPath expression"))
44
self.button.setText(_("..."))