1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'category_dialog.ui'
5 # Created: Fri Nov 26 17:27:34 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_CategoryDialog(object):
13 def setupUi(self
, CategoryDialog
):
14 CategoryDialog
.setObjectName("CategoryDialog")
15 CategoryDialog
.resize(487, 216)
16 self
.gridLayout
= QtGui
.QGridLayout(CategoryDialog
)
17 self
.gridLayout
.setObjectName("gridLayout")
18 self
.label
= QtGui
.QLabel(CategoryDialog
)
22 self
.label
.setFont(font
)
23 self
.label
.setObjectName("label")
24 self
.gridLayout
.addWidget(self
.label
, 0, 0, 1, 1)
25 self
.category_name
= QtGui
.QLineEdit(CategoryDialog
)
26 self
.category_name
.setObjectName("category_name")
27 self
.gridLayout
.addWidget(self
.category_name
, 0, 1, 1, 1)
28 self
.label_2
= QtGui
.QLabel(CategoryDialog
)
32 self
.label_2
.setFont(font
)
33 self
.label_2
.setObjectName("label_2")
34 self
.gridLayout
.addWidget(self
.label_2
, 1, 0, 1, 1)
35 self
.category_desc
= QtGui
.QLineEdit(CategoryDialog
)
36 self
.category_desc
.setObjectName("category_desc")
37 self
.gridLayout
.addWidget(self
.category_desc
, 1, 1, 1, 1)
38 self
.label_3
= QtGui
.QLabel(CategoryDialog
)
42 self
.label_3
.setFont(font
)
43 self
.label_3
.setObjectName("label_3")
44 self
.gridLayout
.addWidget(self
.label_3
, 2, 0, 1, 1)
45 self
.category_stub
= QtGui
.QLineEdit(CategoryDialog
)
46 self
.category_stub
.setObjectName("category_stub")
47 self
.gridLayout
.addWidget(self
.category_stub
, 2, 1, 1, 1)
48 self
.buttonBox
= QtGui
.QDialogButtonBox(CategoryDialog
)
49 self
.buttonBox
.setOrientation(QtCore
.Qt
.Horizontal
)
50 self
.buttonBox
.setStandardButtons(QtGui
.QDialogButtonBox
.Cancel|QtGui
.QDialogButtonBox
.Ok
)
51 self
.buttonBox
.setObjectName("buttonBox")
52 self
.gridLayout
.addWidget(self
.buttonBox
, 3, 0, 1, 2)
54 self
.retranslateUi(CategoryDialog
)
55 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("accepted()"), CategoryDialog
.accept
)
56 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("rejected()"), CategoryDialog
.reject
)
57 QtCore
.QMetaObject
.connectSlotsByName(CategoryDialog
)
59 def retranslateUi(self
, CategoryDialog
):
60 CategoryDialog
.setWindowTitle(QtGui
.QApplication
.translate("CategoryDialog", "Category", None, QtGui
.QApplication
.UnicodeUTF8
))
61 self
.label
.setText(QtGui
.QApplication
.translate("CategoryDialog", "Category name", None, QtGui
.QApplication
.UnicodeUTF8
))
62 self
.label_2
.setText(QtGui
.QApplication
.translate("CategoryDialog", "Category description", None, QtGui
.QApplication
.UnicodeUTF8
))
63 self
.label_3
.setText(QtGui
.QApplication
.translate("CategoryDialog", "Stub (directory)", None, QtGui
.QApplication
.UnicodeUTF8
))