1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'category_dialog.ui'
5 # Created: Wed Nov 24 14:12:44 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
)
19 self
.label
.setObjectName("label")
20 self
.gridLayout
.addWidget(self
.label
, 0, 0, 1, 1)
21 self
.category_name
= QtGui
.QLineEdit(CategoryDialog
)
22 self
.category_name
.setObjectName("category_name")
23 self
.gridLayout
.addWidget(self
.category_name
, 0, 1, 1, 1)
24 self
.label_2
= QtGui
.QLabel(CategoryDialog
)
25 self
.label_2
.setObjectName("label_2")
26 self
.gridLayout
.addWidget(self
.label_2
, 1, 0, 1, 1)
27 self
.category_desc
= QtGui
.QLineEdit(CategoryDialog
)
28 self
.category_desc
.setObjectName("category_desc")
29 self
.gridLayout
.addWidget(self
.category_desc
, 1, 1, 1, 1)
30 self
.label_3
= QtGui
.QLabel(CategoryDialog
)
31 self
.label_3
.setObjectName("label_3")
32 self
.gridLayout
.addWidget(self
.label_3
, 2, 0, 1, 1)
33 self
.category_stub
= QtGui
.QLineEdit(CategoryDialog
)
34 self
.category_stub
.setObjectName("category_stub")
35 self
.gridLayout
.addWidget(self
.category_stub
, 2, 1, 1, 1)
36 self
.buttonBox
= QtGui
.QDialogButtonBox(CategoryDialog
)
37 self
.buttonBox
.setOrientation(QtCore
.Qt
.Horizontal
)
38 self
.buttonBox
.setStandardButtons(QtGui
.QDialogButtonBox
.Cancel|QtGui
.QDialogButtonBox
.Ok
)
39 self
.buttonBox
.setObjectName("buttonBox")
40 self
.gridLayout
.addWidget(self
.buttonBox
, 3, 0, 1, 2)
42 self
.retranslateUi(CategoryDialog
)
43 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("accepted()"), CategoryDialog
.accept
)
44 QtCore
.QObject
.connect(self
.buttonBox
, QtCore
.SIGNAL("rejected()"), CategoryDialog
.reject
)
45 QtCore
.QMetaObject
.connectSlotsByName(CategoryDialog
)
47 def retranslateUi(self
, CategoryDialog
):
48 CategoryDialog
.setWindowTitle(QtGui
.QApplication
.translate("CategoryDialog", "Category", None, QtGui
.QApplication
.UnicodeUTF8
))
49 self
.label
.setText(QtGui
.QApplication
.translate("CategoryDialog", "Category name", None, QtGui
.QApplication
.UnicodeUTF8
))
50 self
.label_2
.setText(QtGui
.QApplication
.translate("CategoryDialog", "Category description", None, QtGui
.QApplication
.UnicodeUTF8
))
51 self
.label_3
.setText(QtGui
.QApplication
.translate("CategoryDialog", "Stub (directory)", None, QtGui
.QApplication
.UnicodeUTF8
))