forked from sourcepole/qgis-wps-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ui_qgswpsbookmarks.py
68 lines (59 loc) · 3.25 KB
/
Ui_qgswpsbookmarks.py
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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/home/barpadue/.qgis/python/plugins/wps/qgswpsbookmarks.ui'
#
# Created: Mon Mar 26 14:01:28 2012
# by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_Bookmarks(object):
def setupUi(self, Bookmarks):
Bookmarks.setObjectName(_fromUtf8("Bookmarks"))
Bookmarks.resize(753, 422)
Bookmarks.setWindowTitle(QtGui.QApplication.translate("Bookmarks", "WPS-Bookmarks", None, QtGui.QApplication.UnicodeUTF8))
self.gridLayout = QtGui.QGridLayout(Bookmarks)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.gridLayout.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
self.treeWidget = QtGui.QTreeWidget(Bookmarks)
self.treeWidget.setColumnCount(3)
self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
self.treeWidget.headerItem().setText(0, QtGui.QApplication.translate("Bookmarks", "Service", None, QtGui.QApplication.UnicodeUTF8))
self.treeWidget.headerItem().setText(1, QtGui.QApplication.translate("Bookmarks", "Identifier", None, QtGui.QApplication.UnicodeUTF8))
self.treeWidget.headerItem().setText(2, QtGui.QApplication.translate("Bookmarks", "URL", None, QtGui.QApplication.UnicodeUTF8))
self.treeWidget.header().setDefaultSectionSize(250)
self.gridLayout.addWidget(self.treeWidget, 1, 0, 1, 1)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem)
self.btnRemove = QtGui.QPushButton(Bookmarks)
self.btnRemove.setText(QtGui.QApplication.translate("Bookmarks", "Remove", None, QtGui.QApplication.UnicodeUTF8))
self.btnRemove.setObjectName(_fromUtf8("btnRemove"))
self.horizontalLayout_3.addWidget(self.btnRemove)
self.btnClose = QtGui.QPushButton(Bookmarks)
self.btnClose.setText(QtGui.QApplication.translate("Bookmarks", "Close", None, QtGui.QApplication.UnicodeUTF8))
self.btnClose.setObjectName(_fromUtf8("btnClose"))
self.horizontalLayout_3.addWidget(self.btnClose)
self.btnOK = QtGui.QPushButton(Bookmarks)
self.btnOK.setText(QtGui.QApplication.translate("Bookmarks", "Run", None, QtGui.QApplication.UnicodeUTF8))
self.btnOK.setObjectName(_fromUtf8("btnOK"))
self.horizontalLayout_3.addWidget(self.btnOK)
self.gridLayout.addLayout(self.horizontalLayout_3, 2, 0, 1, 1)
self.retranslateUi(Bookmarks)
QtCore.QMetaObject.connectSlotsByName(Bookmarks)
def retranslateUi(self, Bookmarks):
self.treeWidget.setSortingEnabled(True)
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
Bookmarks = QtGui.QDialog()
ui = Ui_Bookmarks()
ui.setupUi(Bookmarks)
Bookmarks.show()
sys.exit(app.exec_())