1
# -*- coding: utf-8 -*-
3
# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsCVS/CvsNewProjectOptionsDialog.ui'
5
# Created: Sat Feb 3 15:34:14 2007
6
# by: PyQt4 UI code generator 4-snapshot-20070125
8
# WARNING! All changes made in this file will be lost!
10
from PyQt4 import QtCore, QtGui
12
class Ui_CvsNewProjectOptionsDialog(object):
13
def setupUi(self, CvsNewProjectOptionsDialog):
14
CvsNewProjectOptionsDialog.setObjectName("CvsNewProjectOptionsDialog")
15
CvsNewProjectOptionsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,562,169).size()).expandedTo(CvsNewProjectOptionsDialog.minimumSizeHint()))
16
CvsNewProjectOptionsDialog.setSizeGripEnabled(True)
18
self.vboxlayout = QtGui.QVBoxLayout(CvsNewProjectOptionsDialog)
19
self.vboxlayout.setMargin(6)
20
self.vboxlayout.setSpacing(6)
21
self.vboxlayout.setObjectName("vboxlayout")
23
self.gridlayout = QtGui.QGridLayout()
24
self.gridlayout.setMargin(0)
25
self.gridlayout.setSpacing(6)
26
self.gridlayout.setObjectName("gridlayout")
28
self.TextLabel2 = QtGui.QLabel(CvsNewProjectOptionsDialog)
29
self.TextLabel2.setObjectName("TextLabel2")
30
self.gridlayout.addWidget(self.TextLabel2,0,0,1,1)
32
self.vcsTagLabel = QtGui.QLabel(CvsNewProjectOptionsDialog)
33
self.vcsTagLabel.setObjectName("vcsTagLabel")
34
self.gridlayout.addWidget(self.vcsTagLabel,2,0,1,1)
36
self.vcsDirectoryEdit = QtGui.QLineEdit(CvsNewProjectOptionsDialog)
37
self.vcsDirectoryEdit.setObjectName("vcsDirectoryEdit")
38
self.gridlayout.addWidget(self.vcsDirectoryEdit,0,1,1,1)
40
self.projectDirButton = QtGui.QPushButton(CvsNewProjectOptionsDialog)
41
self.projectDirButton.setObjectName("projectDirButton")
42
self.gridlayout.addWidget(self.projectDirButton,3,2,1,1)
44
self.vcsDirButton = QtGui.QPushButton(CvsNewProjectOptionsDialog)
45
self.vcsDirButton.setObjectName("vcsDirButton")
46
self.gridlayout.addWidget(self.vcsDirButton,0,2,1,1)
48
self.vcsProjectDirEdit = QtGui.QLineEdit(CvsNewProjectOptionsDialog)
49
self.vcsProjectDirEdit.setObjectName("vcsProjectDirEdit")
50
self.gridlayout.addWidget(self.vcsProjectDirEdit,3,1,1,1)
52
self.vcsTagEdit = QtGui.QLineEdit(CvsNewProjectOptionsDialog)
53
self.vcsTagEdit.setObjectName("vcsTagEdit")
54
self.gridlayout.addWidget(self.vcsTagEdit,2,1,1,1)
56
self.archiveEdit = QtGui.QLineEdit(CvsNewProjectOptionsDialog)
57
self.archiveEdit.setObjectName("archiveEdit")
58
self.gridlayout.addWidget(self.archiveEdit,1,1,1,1)
60
self.label = QtGui.QLabel(CvsNewProjectOptionsDialog)
61
self.label.setObjectName("label")
62
self.gridlayout.addWidget(self.label,1,0,1,1)
64
self.TextLabel4 = QtGui.QLabel(CvsNewProjectOptionsDialog)
65
self.TextLabel4.setObjectName("TextLabel4")
66
self.gridlayout.addWidget(self.TextLabel4,3,0,1,1)
67
self.vboxlayout.addLayout(self.gridlayout)
69
self.buttonBox = QtGui.QDialogButtonBox(CvsNewProjectOptionsDialog)
70
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
71
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
72
self.buttonBox.setObjectName("buttonBox")
73
self.vboxlayout.addWidget(self.buttonBox)
74
self.TextLabel2.setBuddy(self.vcsDirectoryEdit)
75
self.vcsTagLabel.setBuddy(self.vcsTagEdit)
76
self.label.setBuddy(self.archiveEdit)
77
self.TextLabel4.setBuddy(self.vcsProjectDirEdit)
79
self.retranslateUi(CvsNewProjectOptionsDialog)
80
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),CvsNewProjectOptionsDialog.accept)
81
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),CvsNewProjectOptionsDialog.reject)
82
QtCore.QMetaObject.connectSlotsByName(CvsNewProjectOptionsDialog)
83
CvsNewProjectOptionsDialog.setTabOrder(self.vcsDirectoryEdit,self.vcsDirButton)
84
CvsNewProjectOptionsDialog.setTabOrder(self.vcsDirButton,self.archiveEdit)
85
CvsNewProjectOptionsDialog.setTabOrder(self.archiveEdit,self.vcsTagEdit)
86
CvsNewProjectOptionsDialog.setTabOrder(self.vcsTagEdit,self.vcsProjectDirEdit)
87
CvsNewProjectOptionsDialog.setTabOrder(self.vcsProjectDirEdit,self.projectDirButton)
89
def retranslateUi(self, CvsNewProjectOptionsDialog):
90
CvsNewProjectOptionsDialog.setWindowTitle(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "New Project from Repository", None, QtGui.QApplication.UnicodeUTF8))
91
CvsNewProjectOptionsDialog.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>New Project from Repository Dialog</b>\n"
92
"<p>Enter the various repository infos into the entry fields. These values are used, when the new project is retrieved from the repository. In order to access a remote repository, the repository path must contain the protocol info, user info and hostname, e.g. :pserver:anonymous@cvsserver:/cvsroot.</p>", None, QtGui.QApplication.UnicodeUTF8))
93
self.TextLabel2.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "&Repository:", None, QtGui.QApplication.UnicodeUTF8))
94
self.vcsTagLabel.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "&Tag:", None, QtGui.QApplication.UnicodeUTF8))
95
self.vcsDirectoryEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the name of the VCS directory.", None, QtGui.QApplication.UnicodeUTF8))
96
self.vcsDirectoryEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>VCS-Directory</b>\n"
97
"<p>Enter the name of the directory, that is the root of the VCS repository to be used. You may select it by pressing the button to the right.</p>", None, QtGui.QApplication.UnicodeUTF8))
98
self.projectDirButton.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
99
self.vcsDirButton.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Show directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
100
self.vcsDirButton.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>VCS-Directory</b>\n"
101
"<p>Select VCS root directory via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
102
self.vcsDirButton.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
103
self.vcsProjectDirEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the directory of the new project.", None, QtGui.QApplication.UnicodeUTF8))
104
self.vcsProjectDirEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>Project Directory</b>\n"
105
"<p>Enter the directory of the new project. It will be retrieved from \n"
106
"the repository and be placed in this directory.</p>", None, QtGui.QApplication.UnicodeUTF8))
107
self.vcsTagEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the tag the new project should be generated from", None, QtGui.QApplication.UnicodeUTF8))
108
self.vcsTagEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>Tag in VCS</b>\n"
109
"<p>Enter the tag name the new project shall be generated from. Leave empty to retrieve the latest data from the repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
110
self.archiveEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the name of the module in CVS.", None, QtGui.QApplication.UnicodeUTF8))
111
self.archiveEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>Module in CVS</b>\n"
112
"<p>Enter the name of the module in the CVS repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
113
self.label.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "&Module:", None, QtGui.QApplication.UnicodeUTF8))
114
self.TextLabel4.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Project &Directory:", None, QtGui.QApplication.UnicodeUTF8))
118
if __name__ == "__main__":
120
app = QtGui.QApplication(sys.argv)
121
CvsNewProjectOptionsDialog = QtGui.QDialog()
122
ui = Ui_CvsNewProjectOptionsDialog()
123
ui.setupUi(CvsNewProjectOptionsDialog)
124
CvsNewProjectOptionsDialog.show()
125
sys.exit(app.exec_())