1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/push.ui'
#
# Created: Mon Oct 05 19:41:19 2009
# by: PyQt4 UI code generator 4.4.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from bzrlib.plugins.qbzr.lib.i18n import gettext
class Ui_PushForm(object):
def setupUi(self, PushForm):
PushForm.setObjectName("PushForm")
PushForm.resize(349, 175)
self.verticalLayout = QtGui.QVBoxLayout(PushForm)
self.verticalLayout.setMargin(9)
self.verticalLayout.setObjectName("verticalLayout")
self.groupBox = QtGui.QGroupBox(PushForm)
self.groupBox.setObjectName("groupBox")
self.gridLayout = QtGui.QGridLayout(self.groupBox)
self.gridLayout.setObjectName("gridLayout")
self.label_2 = QtGui.QLabel(self.groupBox)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
self.location = QtGui.QComboBox(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.location.sizePolicy().hasHeightForWidth())
self.location.setSizePolicy(sizePolicy)
self.location.setEditable(True)
self.location.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength)
self.location.setObjectName("location")
self.gridLayout.addWidget(self.location, 0, 1, 1, 1)
self.location_picker = QtGui.QPushButton(self.groupBox)
self.location_picker.setObjectName("location_picker")
self.gridLayout.addWidget(self.location_picker, 0, 2, 1, 1)
self.remember = QtGui.QCheckBox(self.groupBox)
self.remember.setChecked(False)
self.remember.setObjectName("remember")
self.gridLayout.addWidget(self.remember, 1, 0, 1, 3)
self.overwrite = QtGui.QCheckBox(self.groupBox)
self.overwrite.setObjectName("overwrite")
self.gridLayout.addWidget(self.overwrite, 2, 0, 1, 3)
self.use_existing_dir = QtGui.QCheckBox(self.groupBox)
self.use_existing_dir.setObjectName("use_existing_dir")
self.gridLayout.addWidget(self.use_existing_dir, 3, 0, 1, 3)
self.create_prefix = QtGui.QCheckBox(self.groupBox)
self.create_prefix.setObjectName("create_prefix")
self.gridLayout.addWidget(self.create_prefix, 4, 0, 1, 3)
self.verticalLayout.addWidget(self.groupBox)
self.label_2.setBuddy(self.location)
self.retranslateUi(PushForm)
QtCore.QObject.connect(PushForm, QtCore.SIGNAL("disableUi(bool)"), self.groupBox.setDisabled)
QtCore.QMetaObject.connectSlotsByName(PushForm)
def retranslateUi(self, PushForm):
PushForm.setWindowTitle(gettext("Push"))
self.groupBox.setTitle(gettext("Options"))
self.label_2.setText(gettext("&Location:"))
self.location_picker.setText(gettext("Browse..."))
self.remember.setText(gettext("Remember this location as a default"))
self.overwrite.setText(gettext("Overwrite differences between branches"))
self.use_existing_dir.setText(gettext("Use existing directory"))
self.create_prefix.setText(gettext("Create the path up to the branch if it does not exist"))
|