1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'site_configuration_dialog.ui'
5 # Created: Thu Nov 25 13:17:07 2010
6 # by: PyQt4 UI code generator 4.7.4
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4
import QtCore
, QtGui
12 class Ui_SiteConfigDialog(object):
13 def setupUi(self
, SiteConfigDialog
):
14 SiteConfigDialog
.setObjectName("SiteConfigDialog")
15 SiteConfigDialog
.resize(562, 367)
16 self
.gridLayout
= QtGui
.QGridLayout(SiteConfigDialog
)
17 self
.gridLayout
.setObjectName("gridLayout")
18 self
.label
= QtGui
.QLabel(SiteConfigDialog
)
19 self
.label
.setObjectName("label")
20 self
.gridLayout
.addWidget(self
.label
, 0, 0, 1, 1)
21 self
.site_title
= QtGui
.QLineEdit(SiteConfigDialog
)
22 self
.site_title
.setObjectName("site_title")
23 self
.gridLayout
.addWidget(self
.site_title
, 0, 1, 1, 7)
24 self
.label_2
= QtGui
.QLabel(SiteConfigDialog
)
25 self
.label_2
.setObjectName("label_2")
26 self
.gridLayout
.addWidget(self
.label_2
, 1, 0, 1, 1)
27 self
.site_url
= QtGui
.QLineEdit(SiteConfigDialog
)
28 self
.site_url
.setText("")
29 self
.site_url
.setObjectName("site_url")
30 self
.gridLayout
.addWidget(self
.site_url
, 1, 2, 1, 6)
31 self
.label_3
= QtGui
.QLabel(SiteConfigDialog
)
32 self
.label_3
.setObjectName("label_3")
33 self
.gridLayout
.addWidget(self
.label_3
, 2, 0, 1, 1)
34 self
.keywords
= QtGui
.QLineEdit(SiteConfigDialog
)
35 self
.keywords
.setObjectName("keywords")
36 self
.gridLayout
.addWidget(self
.keywords
, 2, 1, 1, 7)
37 self
.label_4
= QtGui
.QLabel(SiteConfigDialog
)
38 self
.label_4
.setObjectName("label_4")
39 self
.gridLayout
.addWidget(self
.label_4
, 3, 0, 1, 1)
40 self
.description
= QtGui
.QPlainTextEdit(SiteConfigDialog
)
41 self
.description
.setVerticalScrollBarPolicy(QtCore
.Qt
.ScrollBarAlwaysOn
)
42 self
.description
.setTabChangesFocus(True)
43 self
.description
.setObjectName("description")
44 self
.gridLayout
.addWidget(self
.description
, 3, 1, 1, 7)
45 self
.label_6
= QtGui
.QLabel(SiteConfigDialog
)
46 self
.label_6
.setObjectName("label_6")
47 self
.gridLayout
.addWidget(self
.label_6
, 4, 0, 1, 2)
48 self
.label_5
= QtGui
.QLabel(SiteConfigDialog
)
49 self
.label_5
.setObjectName("label_5")
50 self
.gridLayout
.addWidget(self
.label_5
, 5, 0, 1, 1)
51 self
.destination
= QtGui
.QLineEdit(SiteConfigDialog
)
52 self
.destination
.setObjectName("destination")
53 self
.gridLayout
.addWidget(self
.destination
, 5, 1, 1, 6)
54 self
.destination_browse_button
= QtGui
.QPushButton(SiteConfigDialog
)
55 self
.destination_browse_button
.setObjectName("destination_browse_button")
56 self
.gridLayout
.addWidget(self
.destination_browse_button
, 5, 7, 1, 1)
57 self
.buttonBox
= QtGui
.QDialogButtonBox(SiteConfigDialog
)
58 self
.buttonBox
.setOrientation(QtCore
.Qt
.Horizontal
)
59 self
.buttonBox
.setStandardButtons(QtGui
.QDialogButtonBox
.Cancel|QtGui
.QDialogButtonBox
.Ok
)
60 self
.buttonBox
.setObjectName("buttonBox")
61 self
.gridLayout
.addWidget(self
.buttonBox
, 6, 0, 1, 8)
62 self
.label_8
= QtGui
.QLabel(SiteConfigDialog
)
63 self
.label_8
.setObjectName("label_8")
64 self
.gridLayout
.addWidget(self
.label_8
, 1, 1, 1, 1)
65 self
.num_rss_items
= QtGui
.QSpinBox(SiteConfigDialog
)
66 self
.num_rss_items
.setMinimum(1)
67 self
.num_rss_items
.setMaximum(20)
68 self
.num_rss_items
.setObjectName("num_rss_items")
69 self
.gridLayout
.addWidget(self
.num_rss_items
, 4, 2, 1, 1)
70 self
.copyright
= QtGui
.QLineEdit(SiteConfigDialog
)
71 self
.copyright
.setObjectName("copyright")
72 self
.gridLayout
.addWidget(self
.copyright
, 4, 4, 1, 4)
73 self
.label_7
= QtGui
.QLabel(SiteConfigDialog
)
74 self
.label_7
.setObjectName("label_7")
75 self
.gridLayout
.addWidget(self
.label_7
, 4, 3, 1, 1)
77 self
.retranslateUi(SiteConfigDialog
)
78 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("accepted()"), SiteConfigDialog
.accept
)
79 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("rejected()"), SiteConfigDialog
.reject
)
80 QtCore
.QMetaObject
.connectSlotsByName(SiteConfigDialog
)
81 SiteConfigDialog
.setTabOrder(self
.site_title
, self
.site_url
)
82 SiteConfigDialog
.setTabOrder(self
.site_url
, self
.keywords
)
83 SiteConfigDialog
.setTabOrder(self
.keywords
, self
.description
)
84 SiteConfigDialog
.setTabOrder(self
.description
, self
.num_rss_items
)
85 SiteConfigDialog
.setTabOrder(self
.num_rss_items
, self
.copyright
)
86 SiteConfigDialog
.setTabOrder(self
.copyright
, self
.destination
)
87 SiteConfigDialog
.setTabOrder(self
.destination
, self
.destination_browse_button
)
88 SiteConfigDialog
.setTabOrder(self
.destination_browse_button
, self
.buttonBox
)
90 def retranslateUi(self
, SiteConfigDialog
):
91 SiteConfigDialog
.setWindowTitle(QtGui
.QApplication
.translate("SiteConfigDialog", "Site Configuration", None, QtGui
.QApplication
.UnicodeUTF8
))
92 self
.label
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "Name of the site", None, QtGui
.QApplication
.UnicodeUTF8
))
93 self
.label_2
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "Site URL", None, QtGui
.QApplication
.UnicodeUTF8
))
94 self
.label_3
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "Keywords", None, QtGui
.QApplication
.UnicodeUTF8
))
95 self
.label_4
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "Description", None, QtGui
.QApplication
.UnicodeUTF8
))
96 self
.label_6
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "# of RSS feed items", None, QtGui
.QApplication
.UnicodeUTF8
))
97 self
.label_5
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "Export destination", None, QtGui
.QApplication
.UnicodeUTF8
))
98 self
.destination_browse_button
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "browse...", None, QtGui
.QApplication
.UnicodeUTF8
))
99 self
.label_8
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "http://", None, QtGui
.QApplication
.UnicodeUTF8
))
100 self
.label_7
.setText(QtGui
.QApplication
.translate("SiteConfigDialog", "Copyright text", None, QtGui
.QApplication
.UnicodeUTF8
))