1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'gui/mainwin.ui'
5 # Created: Wed Dec 12 14:03:54 2007
6 # by: PyQt4 UI code generator 4.3.1
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4
import QtCore
, QtGui
12 class Ui_MainWindow(object):
13 def setupUi(self
, MainWindow
):
14 MainWindow
.setObjectName("MainWindow")
15 MainWindow
.resize(QtCore
.QSize(QtCore
.QRect(0,0,575,629).size()).expandedTo(MainWindow
.minimumSizeHint()))
17 self
.centralwidget
= QtGui
.QWidget(MainWindow
)
18 self
.centralwidget
.setObjectName("centralwidget")
20 self
.vboxlayout
= QtGui
.QVBoxLayout(self
.centralwidget
)
21 self
.vboxlayout
.setObjectName("vboxlayout")
23 self
.hboxlayout
= QtGui
.QHBoxLayout()
24 self
.hboxlayout
.setObjectName("hboxlayout")
26 self
.hboxlayout1
= QtGui
.QHBoxLayout()
27 self
.hboxlayout1
.setObjectName("hboxlayout1")
29 self
.lists_box
= QtGui
.QGroupBox(self
.centralwidget
)
30 self
.lists_box
.setFlat(True)
31 self
.lists_box
.setObjectName("lists_box")
33 self
.gridlayout
= QtGui
.QGridLayout(self
.lists_box
)
34 self
.gridlayout
.setMargin(0)
35 self
.gridlayout
.setSpacing(0)
36 self
.gridlayout
.setObjectName("gridlayout")
38 self
.label
= QtGui
.QLabel(self
.lists_box
)
44 self
.label
.setFont(font
)
45 self
.label
.setFrameShape(QtGui
.QFrame
.Panel
)
46 self
.label
.setFrameShadow(QtGui
.QFrame
.Raised
)
47 self
.label
.setObjectName("label")
48 self
.gridlayout
.addWidget(self
.label
,0,0,1,1)
50 spacerItem
= QtGui
.QSpacerItem(20,141,QtGui
.QSizePolicy
.Minimum
,QtGui
.QSizePolicy
.Expanding
)
51 self
.gridlayout
.addItem(spacerItem
,1,0,1,1)
52 self
.hboxlayout1
.addWidget(self
.lists_box
)
53 self
.hboxlayout
.addLayout(self
.hboxlayout1
)
55 self
.items_box
= QtGui
.QFrame(self
.centralwidget
)
56 self
.items_box
.setFrameShape(QtGui
.QFrame
.NoFrame
)
57 self
.items_box
.setFrameShadow(QtGui
.QFrame
.Plain
)
58 self
.items_box
.setObjectName("items_box")
60 self
.gridlayout1
= QtGui
.QGridLayout(self
.items_box
)
61 self
.gridlayout1
.setMargin(0)
62 self
.gridlayout1
.setSpacing(0)
63 self
.gridlayout1
.setObjectName("gridlayout1")
65 self
.groupBox
= QtGui
.QGroupBox(self
.items_box
)
67 sizePolicy
= QtGui
.QSizePolicy(QtGui
.QSizePolicy
.Minimum
,QtGui
.QSizePolicy
.Minimum
)
68 sizePolicy
.setHorizontalStretch(0)
69 sizePolicy
.setVerticalStretch(0)
70 sizePolicy
.setHeightForWidth(self
.groupBox
.sizePolicy().hasHeightForWidth())
71 self
.groupBox
.setSizePolicy(sizePolicy
)
72 self
.groupBox
.setObjectName("groupBox")
74 self
.gridlayout2
= QtGui
.QGridLayout(self
.groupBox
)
75 self
.gridlayout2
.setContentsMargins(9,0,9,0)
76 self
.gridlayout2
.setSpacing(6)
77 self
.gridlayout2
.setObjectName("gridlayout2")
79 self
.label_3
= QtGui
.QLabel(self
.groupBox
)
81 sizePolicy
= QtGui
.QSizePolicy(QtGui
.QSizePolicy
.Fixed
,QtGui
.QSizePolicy
.Preferred
)
82 sizePolicy
.setHorizontalStretch(0)
83 sizePolicy
.setVerticalStretch(0)
84 sizePolicy
.setHeightForWidth(self
.label_3
.sizePolicy().hasHeightForWidth())
85 self
.label_3
.setSizePolicy(sizePolicy
)
86 self
.label_3
.setObjectName("label_3")
87 self
.gridlayout2
.addWidget(self
.label_3
,0,0,1,1)
89 self
.L_ActiveItem
= QtGui
.QLabel(self
.groupBox
)
91 sizePolicy
= QtGui
.QSizePolicy(QtGui
.QSizePolicy
.Minimum
,QtGui
.QSizePolicy
.Preferred
)
92 sizePolicy
.setHorizontalStretch(0)
93 sizePolicy
.setVerticalStretch(0)
94 sizePolicy
.setHeightForWidth(self
.L_ActiveItem
.sizePolicy().hasHeightForWidth())
95 self
.L_ActiveItem
.setSizePolicy(sizePolicy
)
96 self
.L_ActiveItem
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
97 self
.L_ActiveItem
.setMargin(1)
98 self
.L_ActiveItem
.setIndent(5)
99 self
.L_ActiveItem
.setObjectName("L_ActiveItem")
100 self
.gridlayout2
.addWidget(self
.L_ActiveItem
,0,1,1,1)
102 self
.calendarWidget
= QtGui
.QCalendarWidget(self
.groupBox
)
104 sizePolicy
= QtGui
.QSizePolicy(QtGui
.QSizePolicy
.Fixed
,QtGui
.QSizePolicy
.Fixed
)
105 sizePolicy
.setHorizontalStretch(0)
106 sizePolicy
.setVerticalStretch(0)
107 sizePolicy
.setHeightForWidth(self
.calendarWidget
.sizePolicy().hasHeightForWidth())
108 self
.calendarWidget
.setSizePolicy(sizePolicy
)
109 self
.calendarWidget
.setObjectName("calendarWidget")
110 self
.gridlayout2
.addWidget(self
.calendarWidget
,0,2,4,1)
112 self
.label_5
= QtGui
.QLabel(self
.groupBox
)
114 sizePolicy
= QtGui
.QSizePolicy(QtGui
.QSizePolicy
.Fixed
,QtGui
.QSizePolicy
.Preferred
)
115 sizePolicy
.setHorizontalStretch(0)
116 sizePolicy
.setVerticalStretch(0)
117 sizePolicy
.setHeightForWidth(self
.label_5
.sizePolicy().hasHeightForWidth())
118 self
.label_5
.setSizePolicy(sizePolicy
)
119 self
.label_5
.setObjectName("label_5")
120 self
.gridlayout2
.addWidget(self
.label_5
,1,0,1,1)
122 self
.L_CloseItem
= QtGui
.QLabel(self
.groupBox
)
123 self
.L_CloseItem
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
124 self
.L_CloseItem
.setMargin(1)
125 self
.L_CloseItem
.setIndent(5)
126 self
.L_CloseItem
.setObjectName("L_CloseItem")
127 self
.gridlayout2
.addWidget(self
.L_CloseItem
,1,1,1,1)
129 self
.label_7
= QtGui
.QLabel(self
.groupBox
)
131 sizePolicy
= QtGui
.QSizePolicy(QtGui
.QSizePolicy
.Minimum
,QtGui
.QSizePolicy
.Preferred
)
132 sizePolicy
.setHorizontalStretch(0)
133 sizePolicy
.setVerticalStretch(0)
134 sizePolicy
.setHeightForWidth(self
.label_7
.sizePolicy().hasHeightForWidth())
135 self
.label_7
.setSizePolicy(sizePolicy
)
136 self
.label_7
.setObjectName("label_7")
137 self
.gridlayout2
.addWidget(self
.label_7
,2,0,1,1)
139 self
.L_OverdueItem
= QtGui
.QLabel(self
.groupBox
)
140 self
.L_OverdueItem
.setAlignment(QtCore
.Qt
.AlignRight|QtCore
.Qt
.AlignTrailing|QtCore
.Qt
.AlignVCenter
)
141 self
.L_OverdueItem
.setMargin(1)
142 self
.L_OverdueItem
.setIndent(5)
143 self
.L_OverdueItem
.setObjectName("L_OverdueItem")
144 self
.gridlayout2
.addWidget(self
.L_OverdueItem
,2,1,1,1)
145 self
.gridlayout1
.addWidget(self
.groupBox
,0,0,1,1)
147 spacerItem1
= QtGui
.QSpacerItem(20,241,QtGui
.QSizePolicy
.Minimum
,QtGui
.QSizePolicy
.Expanding
)
148 self
.gridlayout1
.addItem(spacerItem1
,1,0,1,1)
150 self
.hboxlayout2
= QtGui
.QHBoxLayout()
151 self
.hboxlayout2
.setObjectName("hboxlayout2")
153 self
.label_2
= QtGui
.QLabel(self
.items_box
)
154 self
.label_2
.setObjectName("label_2")
155 self
.hboxlayout2
.addWidget(self
.label_2
)
157 self
.LE_filter
= QtGui
.QLineEdit(self
.items_box
)
158 self
.LE_filter
.setObjectName("LE_filter")
159 self
.hboxlayout2
.addWidget(self
.LE_filter
)
161 self
.CB_FilterField
= QtGui
.QComboBox(self
.items_box
)
162 self
.CB_FilterField
.setObjectName("CB_FilterField")
163 self
.hboxlayout2
.addWidget(self
.CB_FilterField
)
164 self
.gridlayout1
.addLayout(self
.hboxlayout2
,2,0,1,1)
165 self
.hboxlayout
.addWidget(self
.items_box
)
166 self
.vboxlayout
.addLayout(self
.hboxlayout
)
168 self
.actions_box
= QtGui
.QGroupBox(self
.centralwidget
)
169 self
.actions_box
.setObjectName("actions_box")
171 self
.gridlayout3
= QtGui
.QGridLayout(self
.actions_box
)
172 self
.gridlayout3
.setObjectName("gridlayout3")
174 spacerItem2
= QtGui
.QSpacerItem(40,20,QtGui
.QSizePolicy
.Expanding
,QtGui
.QSizePolicy
.Minimum
)
175 self
.gridlayout3
.addItem(spacerItem2
,0,0,1,1)
176 self
.vboxlayout
.addWidget(self
.actions_box
)
177 MainWindow
.setCentralWidget(self
.centralwidget
)
179 self
.menubar
= QtGui
.QMenuBar(MainWindow
)
180 self
.menubar
.setGeometry(QtCore
.QRect(0,0,575,21))
181 self
.menubar
.setObjectName("menubar")
183 self
.menu_File
= QtGui
.QMenu(self
.menubar
)
184 self
.menu_File
.setObjectName("menu_File")
186 self
.menu_Help
= QtGui
.QMenu(self
.menubar
)
187 self
.menu_Help
.setObjectName("menu_Help")
188 MainWindow
.setMenuBar(self
.menubar
)
190 self
.statusbar
= QtGui
.QStatusBar(MainWindow
)
191 self
.statusbar
.setObjectName("statusbar")
192 MainWindow
.setStatusBar(self
.statusbar
)
194 self
.action_Quit
= QtGui
.QAction(MainWindow
)
195 self
.action_Quit
.setObjectName("action_Quit")
197 self
.action_Add
= QtGui
.QAction(MainWindow
)
198 self
.action_Add
.setObjectName("action_Add")
200 self
.action_Delete
= QtGui
.QAction(MainWindow
)
201 self
.action_Delete
.setObjectName("action_Delete")
203 self
.action_Edit
= QtGui
.QAction(MainWindow
)
204 self
.action_Edit
.setObjectName("action_Edit")
206 self
.action_About
= QtGui
.QAction(MainWindow
)
207 self
.action_About
.setObjectName("action_About")
209 self
.action_Documentation
= QtGui
.QAction(MainWindow
)
210 self
.action_Documentation
.setObjectName("action_Documentation")
211 self
.menu_File
.addAction(self
.action_Quit
)
212 self
.menu_Help
.addAction(self
.action_About
)
213 self
.menu_Help
.addAction(self
.action_Documentation
)
214 self
.menubar
.addAction(self
.menu_File
.menuAction())
215 self
.menubar
.addAction(self
.menu_Help
.menuAction())
217 self
.retranslateUi(MainWindow
)
218 QtCore
.QMetaObject
.connectSlotsByName(MainWindow
)
220 def retranslateUi(self
, MainWindow
):
221 MainWindow
.setWindowTitle(QtGui
.QApplication
.translate("MainWindow", "QTodo - ", None, QtGui
.QApplication
.UnicodeUTF8
))
222 self
.label
.setText(QtGui
.QApplication
.translate("MainWindow", "TODO Lists", None, QtGui
.QApplication
.UnicodeUTF8
))
223 self
.groupBox
.setTitle(QtGui
.QApplication
.translate("MainWindow", "Summary", None, QtGui
.QApplication
.UnicodeUTF8
))
224 self
.label_3
.setText(QtGui
.QApplication
.translate("MainWindow", "Active item", None, QtGui
.QApplication
.UnicodeUTF8
))
225 self
.L_ActiveItem
.setText(QtGui
.QApplication
.translate("MainWindow", "0", None, QtGui
.QApplication
.UnicodeUTF8
))
226 self
.label_5
.setText(QtGui
.QApplication
.translate("MainWindow", "Closed item", None, QtGui
.QApplication
.UnicodeUTF8
))
227 self
.L_CloseItem
.setText(QtGui
.QApplication
.translate("MainWindow", "0", None, QtGui
.QApplication
.UnicodeUTF8
))
228 self
.label_7
.setText(QtGui
.QApplication
.translate("MainWindow", "Overdue", None, QtGui
.QApplication
.UnicodeUTF8
))
229 self
.L_OverdueItem
.setText(QtGui
.QApplication
.translate("MainWindow", "0", None, QtGui
.QApplication
.UnicodeUTF8
))
230 self
.label_2
.setText(QtGui
.QApplication
.translate("MainWindow", "Filter:", None, QtGui
.QApplication
.UnicodeUTF8
))
231 self
.CB_FilterField
.addItem(QtGui
.QApplication
.translate("MainWindow", "Priority", None, QtGui
.QApplication
.UnicodeUTF8
))
232 self
.CB_FilterField
.addItem(QtGui
.QApplication
.translate("MainWindow", "Category", None, QtGui
.QApplication
.UnicodeUTF8
))
233 self
.CB_FilterField
.addItem(QtGui
.QApplication
.translate("MainWindow", "Status", None, QtGui
.QApplication
.UnicodeUTF8
))
234 self
.CB_FilterField
.addItem(QtGui
.QApplication
.translate("MainWindow", "Content", None, QtGui
.QApplication
.UnicodeUTF8
))
235 self
.menu_File
.setTitle(QtGui
.QApplication
.translate("MainWindow", "&File", None, QtGui
.QApplication
.UnicodeUTF8
))
236 self
.menu_Help
.setTitle(QtGui
.QApplication
.translate("MainWindow", "&Help", None, QtGui
.QApplication
.UnicodeUTF8
))
237 self
.action_Quit
.setText(QtGui
.QApplication
.translate("MainWindow", "&Quit", None, QtGui
.QApplication
.UnicodeUTF8
))
238 self
.action_Quit
.setShortcut(QtGui
.QApplication
.translate("MainWindow", "Ctrl+Q", None, QtGui
.QApplication
.UnicodeUTF8
))
239 self
.action_Add
.setText(QtGui
.QApplication
.translate("MainWindow", "&Add", None, QtGui
.QApplication
.UnicodeUTF8
))
240 self
.action_Add
.setShortcut(QtGui
.QApplication
.translate("MainWindow", "Ctrl+A", None, QtGui
.QApplication
.UnicodeUTF8
))
241 self
.action_Delete
.setText(QtGui
.QApplication
.translate("MainWindow", "&Delete", None, QtGui
.QApplication
.UnicodeUTF8
))
242 self
.action_Delete
.setShortcut(QtGui
.QApplication
.translate("MainWindow", "Ctrl+D", None, QtGui
.QApplication
.UnicodeUTF8
))
243 self
.action_Edit
.setText(QtGui
.QApplication
.translate("MainWindow", "&Edit", None, QtGui
.QApplication
.UnicodeUTF8
))
244 self
.action_Edit
.setShortcut(QtGui
.QApplication
.translate("MainWindow", "Ctrl+E", None, QtGui
.QApplication
.UnicodeUTF8
))
245 self
.action_About
.setText(QtGui
.QApplication
.translate("MainWindow", "A&bout", None, QtGui
.QApplication
.UnicodeUTF8
))
246 self
.action_About
.setShortcut(QtGui
.QApplication
.translate("MainWindow", "Ctrl+B", None, QtGui
.QApplication
.UnicodeUTF8
))
247 self
.action_Documentation
.setText(QtGui
.QApplication
.translate("MainWindow", "&Documentation", None, QtGui
.QApplication
.UnicodeUTF8
))
248 self
.action_Documentation
.setShortcut(QtGui
.QApplication
.translate("MainWindow", "Ctrl+F1", None, QtGui
.QApplication
.UnicodeUTF8
))