~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/VCS/vcsPySvn/Ui_SvnTagDialog.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

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/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsPySvn/SvnTagDialog.ui'
 
4
#
 
5
# Created: Sat Feb  3 15:34:20 2007
 
6
#      by: PyQt4 UI code generator 4-snapshot-20070125
 
7
#
 
8
# WARNING! All changes made in this file will be lost!
 
9
 
 
10
from PyQt4 import QtCore, QtGui
 
11
 
 
12
class Ui_SvnTagDialog(object):
 
13
    def setupUi(self, SvnTagDialog):
 
14
        SvnTagDialog.setObjectName("SvnTagDialog")
 
15
        SvnTagDialog.resize(QtCore.QSize(QtCore.QRect(0,0,391,186).size()).expandedTo(SvnTagDialog.minimumSizeHint()))
 
16
        SvnTagDialog.setSizeGripEnabled(True)
 
17
 
 
18
        self.gridlayout = QtGui.QGridLayout(SvnTagDialog)
 
19
        self.gridlayout.setMargin(6)
 
20
        self.gridlayout.setSpacing(6)
 
21
        self.gridlayout.setObjectName("gridlayout")
 
22
 
 
23
        self.buttonBox = QtGui.QDialogButtonBox(SvnTagDialog)
 
24
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
 
25
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
 
26
        self.buttonBox.setObjectName("buttonBox")
 
27
        self.gridlayout.addWidget(self.buttonBox,2,0,1,2)
 
28
 
 
29
        self.tagCombo = QtGui.QComboBox(SvnTagDialog)
 
30
 
 
31
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
 
32
        sizePolicy.setHorizontalStretch(0)
 
33
        sizePolicy.setVerticalStretch(0)
 
34
        sizePolicy.setHeightForWidth(self.tagCombo.sizePolicy().hasHeightForWidth())
 
35
        self.tagCombo.setSizePolicy(sizePolicy)
 
36
        self.tagCombo.setEditable(True)
 
37
        self.tagCombo.setAutoCompletion(True)
 
38
        self.tagCombo.setDuplicatesEnabled(False)
 
39
        self.tagCombo.setObjectName("tagCombo")
 
40
        self.gridlayout.addWidget(self.tagCombo,0,1,1,1)
 
41
 
 
42
        self.TextLabel1 = QtGui.QLabel(SvnTagDialog)
 
43
        self.TextLabel1.setObjectName("TextLabel1")
 
44
        self.gridlayout.addWidget(self.TextLabel1,0,0,1,1)
 
45
 
 
46
        self.TagActionGroup = QtGui.QGroupBox(SvnTagDialog)
 
47
        self.TagActionGroup.setObjectName("TagActionGroup")
 
48
 
 
49
        self.vboxlayout = QtGui.QVBoxLayout(self.TagActionGroup)
 
50
        self.vboxlayout.setMargin(6)
 
51
        self.vboxlayout.setSpacing(6)
 
52
        self.vboxlayout.setObjectName("vboxlayout")
 
53
 
 
54
        self.createRegularButton = QtGui.QRadioButton(self.TagActionGroup)
 
55
        self.createRegularButton.setChecked(True)
 
56
        self.createRegularButton.setObjectName("createRegularButton")
 
57
        self.vboxlayout.addWidget(self.createRegularButton)
 
58
 
 
59
        self.createBranchButton = QtGui.QRadioButton(self.TagActionGroup)
 
60
        self.createBranchButton.setObjectName("createBranchButton")
 
61
        self.vboxlayout.addWidget(self.createBranchButton)
 
62
 
 
63
        self.deleteRegularButton = QtGui.QRadioButton(self.TagActionGroup)
 
64
        self.deleteRegularButton.setObjectName("deleteRegularButton")
 
65
        self.vboxlayout.addWidget(self.deleteRegularButton)
 
66
 
 
67
        self.deleteBranchButton = QtGui.QRadioButton(self.TagActionGroup)
 
68
        self.deleteBranchButton.setObjectName("deleteBranchButton")
 
69
        self.vboxlayout.addWidget(self.deleteBranchButton)
 
70
        self.gridlayout.addWidget(self.TagActionGroup,1,1,1,1)
 
71
 
 
72
        self.retranslateUi(SvnTagDialog)
 
73
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnTagDialog.accept)
 
74
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnTagDialog.reject)
 
75
        QtCore.QMetaObject.connectSlotsByName(SvnTagDialog)
 
76
        SvnTagDialog.setTabOrder(self.tagCombo,self.createRegularButton)
 
77
        SvnTagDialog.setTabOrder(self.createRegularButton,self.createBranchButton)
 
78
        SvnTagDialog.setTabOrder(self.createBranchButton,self.deleteRegularButton)
 
79
        SvnTagDialog.setTabOrder(self.deleteRegularButton,self.deleteBranchButton)
 
80
 
 
81
    def retranslateUi(self, SvnTagDialog):
 
82
        SvnTagDialog.setWindowTitle(QtGui.QApplication.translate("SvnTagDialog", "Subversion Tag", None, QtGui.QApplication.UnicodeUTF8))
 
83
        self.tagCombo.setToolTip(QtGui.QApplication.translate("SvnTagDialog", "Enter the name of the tag", None, QtGui.QApplication.UnicodeUTF8))
 
84
        self.tagCombo.setWhatsThis(QtGui.QApplication.translate("SvnTagDialog", "<b>Tag Name</b>\n"
 
85
        "<p>Enter the name of the tag to be created, moved or deleted.</p>", None, QtGui.QApplication.UnicodeUTF8))
 
86
        self.TextLabel1.setText(QtGui.QApplication.translate("SvnTagDialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
 
87
        self.TagActionGroup.setTitle(QtGui.QApplication.translate("SvnTagDialog", "Tag Action", None, QtGui.QApplication.UnicodeUTF8))
 
88
        self.createRegularButton.setToolTip(QtGui.QApplication.translate("SvnTagDialog", "Select to create a regular tag", None, QtGui.QApplication.UnicodeUTF8))
 
89
        self.createRegularButton.setWhatsThis(QtGui.QApplication.translate("SvnTagDialog", "<b>Create Regular Tag</b>\n"
 
90
        "<p>Select this entry in order to create a regular tag in the repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
 
91
        self.createRegularButton.setText(QtGui.QApplication.translate("SvnTagDialog", "Create Regular Tag", None, QtGui.QApplication.UnicodeUTF8))
 
92
        self.createBranchButton.setToolTip(QtGui.QApplication.translate("SvnTagDialog", "Select to create a branch tag", None, QtGui.QApplication.UnicodeUTF8))
 
93
        self.createBranchButton.setWhatsThis(QtGui.QApplication.translate("SvnTagDialog", "<b>Create Branch Tag</b>\n"
 
94
        "<p>Select this entry in order to create a branch in the repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
 
95
        self.createBranchButton.setText(QtGui.QApplication.translate("SvnTagDialog", "Create Branch Tag", None, QtGui.QApplication.UnicodeUTF8))
 
96
        self.deleteRegularButton.setToolTip(QtGui.QApplication.translate("SvnTagDialog", "Select to delete a regular tag", None, QtGui.QApplication.UnicodeUTF8))
 
97
        self.deleteRegularButton.setWhatsThis(QtGui.QApplication.translate("SvnTagDialog", "<b>Delete Regular Tag</b>\n"
 
98
        "<p>Select this entry in order to delete the selected regular tag.</p>", None, QtGui.QApplication.UnicodeUTF8))
 
99
        self.deleteRegularButton.setText(QtGui.QApplication.translate("SvnTagDialog", "Delete Regular Tag", None, QtGui.QApplication.UnicodeUTF8))
 
100
        self.deleteBranchButton.setToolTip(QtGui.QApplication.translate("SvnTagDialog", "Select to delete a branch tag", None, QtGui.QApplication.UnicodeUTF8))
 
101
        self.deleteBranchButton.setWhatsThis(QtGui.QApplication.translate("SvnTagDialog", "<b>Delete Branch Tag</b>\n"
 
102
        "<p>Select this entry in order to delete the selected branch tag.</p>", None, QtGui.QApplication.UnicodeUTF8))
 
103
        self.deleteBranchButton.setText(QtGui.QApplication.translate("SvnTagDialog", "Delete Branch Tag", None, QtGui.QApplication.UnicodeUTF8))
 
104
 
 
105
 
 
106
 
 
107
if __name__ == "__main__":
 
108
    import sys
 
109
    app = QtGui.QApplication(sys.argv)
 
110
    SvnTagDialog = QtGui.QDialog()
 
111
    ui = Ui_SvnTagDialog()
 
112
    ui.setupUi(SvnTagDialog)
 
113
    SvnTagDialog.show()
 
114
    sys.exit(app.exec_())