| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | from PyQt4 import QtCore, QtGui |
|---|
| 11 | |
|---|
| 12 | class Ui_GoToLineDlg(object): |
|---|
| 13 | def setupUi(self, GoToLineDlg): |
|---|
| 14 | GoToLineDlg.setObjectName("GoToLineDlg") |
|---|
| 15 | GoToLineDlg.resize(338, 115) |
|---|
| 16 | self.horizontalLayout_2 = QtGui.QHBoxLayout(GoToLineDlg) |
|---|
| 17 | self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|---|
| 18 | self.verticalLayout = QtGui.QVBoxLayout() |
|---|
| 19 | self.verticalLayout.setObjectName("verticalLayout") |
|---|
| 20 | self.horizontalLayout = QtGui.QHBoxLayout() |
|---|
| 21 | self.horizontalLayout.setObjectName("horizontalLayout") |
|---|
| 22 | self.goToLineLabel = QtGui.QLabel(GoToLineDlg) |
|---|
| 23 | self.goToLineLabel.setObjectName("goToLineLabel") |
|---|
| 24 | self.horizontalLayout.addWidget(self.goToLineLabel) |
|---|
| 25 | self.goToLineEdit = QtGui.QLineEdit(GoToLineDlg) |
|---|
| 26 | self.goToLineEdit.setObjectName("goToLineEdit") |
|---|
| 27 | self.horizontalLayout.addWidget(self.goToLineEdit) |
|---|
| 28 | self.verticalLayout.addLayout(self.horizontalLayout) |
|---|
| 29 | spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
|---|
| 30 | self.verticalLayout.addItem(spacerItem) |
|---|
| 31 | self.horizontalLayout_2.addLayout(self.verticalLayout) |
|---|
| 32 | self.line = QtGui.QFrame(GoToLineDlg) |
|---|
| 33 | self.line.setFrameShape(QtGui.QFrame.VLine) |
|---|
| 34 | self.line.setFrameShadow(QtGui.QFrame.Sunken) |
|---|
| 35 | self.line.setObjectName("line") |
|---|
| 36 | self.horizontalLayout_2.addWidget(self.line) |
|---|
| 37 | self.verticalLayout_2 = QtGui.QVBoxLayout() |
|---|
| 38 | self.verticalLayout_2.setObjectName("verticalLayout_2") |
|---|
| 39 | self.goButton = QtGui.QPushButton(GoToLineDlg) |
|---|
| 40 | self.goButton.setObjectName("goButton") |
|---|
| 41 | self.verticalLayout_2.addWidget(self.goButton) |
|---|
| 42 | spacerItem1 = QtGui.QSpacerItem(17, 13, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
|---|
| 43 | self.verticalLayout_2.addItem(spacerItem1) |
|---|
| 44 | self.closeButton = QtGui.QPushButton(GoToLineDlg) |
|---|
| 45 | self.closeButton.setObjectName("closeButton") |
|---|
| 46 | self.verticalLayout_2.addWidget(self.closeButton) |
|---|
| 47 | self.horizontalLayout_2.addLayout(self.verticalLayout_2) |
|---|
| 48 | self.goToLineLabel.setBuddy(self.goToLineEdit) |
|---|
| 49 | |
|---|
| 50 | self.retranslateUi(GoToLineDlg) |
|---|
| 51 | QtCore.QObject.connect(self.closeButton, QtCore.SIGNAL("clicked()"), GoToLineDlg.reject) |
|---|
| 52 | QtCore.QMetaObject.connectSlotsByName(GoToLineDlg) |
|---|
| 53 | |
|---|
| 54 | def retranslateUi(self, GoToLineDlg): |
|---|
| 55 | GoToLineDlg.setWindowTitle(QtGui.QApplication.translate("GoToLineDlg", "Go To Line", None, QtGui.QApplication.UnicodeUTF8)) |
|---|
| 56 | self.goToLineLabel.setText(QtGui.QApplication.translate("GoToLineDlg", "Go to line...", None, QtGui.QApplication.UnicodeUTF8)) |
|---|
| 57 | self.goButton.setText(QtGui.QApplication.translate("GoToLineDlg", "Go", None, QtGui.QApplication.UnicodeUTF8)) |
|---|
| 58 | self.closeButton.setText(QtGui.QApplication.translate("GoToLineDlg", "Close", None, QtGui.QApplication.UnicodeUTF8)) |
|---|