|
@@ -218,22 +218,22 @@ class PiketMainWindow(QMainWindow):
|
218
|
218
|
|
219
|
219
|
# Left
|
220
|
220
|
self.toolbar.addAction(
|
221
|
|
- self.load_icon("add_person.svg"), "+ Naam", self.add_person
|
|
221
|
+ self.load_icon("add_person.png"), "+ Naam", self.add_person
|
222
|
222
|
)
|
223
|
223
|
self.undo_action = self.toolbar.addAction(
|
224
|
|
- self.load_icon("undo.svg"), "Oeps", self.do_undo
|
|
224
|
+ self.load_icon("undo.png"), "Oeps", self.do_undo
|
225
|
225
|
)
|
226
|
226
|
self.undo_action.setDisabled(True)
|
227
|
227
|
|
228
|
228
|
self.toolbar.addAction(
|
229
|
|
- self.load_icon("quit.svg"), "Afsluiten", self.confirm_quit
|
|
229
|
+ self.load_icon("quit.png"), "Afsluiten", self.confirm_quit
|
230
|
230
|
)
|
231
|
231
|
|
232
|
232
|
self.toolbar.addWidget(self.create_spacer())
|
233
|
233
|
|
234
|
234
|
# Right
|
235
|
235
|
self.toolbar.addAction(
|
236
|
|
- self.load_icon("add_consumption_type.svg"),
|
|
236
|
+ self.load_icon("add_consumption_type.png"),
|
237
|
237
|
"Nieuw",
|
238
|
238
|
self.add_consumption_type,
|
239
|
239
|
)
|
|
@@ -278,7 +278,7 @@ class PiketMainWindow(QMainWindow):
|
278
|
278
|
|
279
|
279
|
for ct in cts:
|
280
|
280
|
action = QAction(
|
281
|
|
- self.load_icon(ct.icon or "beer_bottle.svg"), ct.name, self.ct_ag
|
|
281
|
+ self.load_icon(ct.icon or "beer_bottle.png"), ct.name, self.ct_ag
|
282
|
282
|
)
|
283
|
283
|
action.setCheckable(True)
|
284
|
284
|
action.setData(str(ct.consumption_type_id))
|
|
@@ -349,7 +349,7 @@ class PiketMainWindow(QMainWindow):
|
349
|
349
|
ct = ct.create()
|
350
|
350
|
|
351
|
351
|
action = QAction(
|
352
|
|
- self.load_icon(ct.icon or "beer_bottle.svg"), ct.name, self.ct_ag
|
|
352
|
+ self.load_icon(ct.icon or "beer_bottle.png"), ct.name, self.ct_ag
|
353
|
353
|
)
|
354
|
354
|
action.setCheckable(True)
|
355
|
355
|
action.setData(str(ct.consumption_type_id))
|