~ubuntu-branches/debian/wheezy/calibre/wheezy

« back to all changes in this revision

Viewing changes to src/calibre/gui2/convert/xexp_edit_ui.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-09-18 01:18:18 UTC
  • mto: (29.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20090918011818-2whiyzgvx59c7b7t
Tags: upstream-0.6.12+dfsg
ImportĀ upstreamĀ versionĀ 0.6.12+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/xexp_edit.ui'
 
4
#
 
5
# Created: Wed Sep  9 19:38:12 2009
 
6
#      by: PyQt4 UI code generator 4.5.4
 
7
#
 
8
# WARNING! All changes made in this file will be lost!
 
9
 
 
10
from PyQt4 import QtCore, QtGui
 
11
 
 
12
class Ui_Form(object):
 
13
    def setupUi(self, Form):
 
14
        Form.setObjectName("Form")
 
15
        Form.resize(400, 64)
 
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)
 
29
        icon = QtGui.QIcon()
 
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)
 
36
 
 
37
        self.retranslateUi(Form)
 
38
        QtCore.QMetaObject.connectSlotsByName(Form)
 
39
 
 
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(_("..."))
 
45
 
 
46