Modified actions for drawing polygons

This commit is contained in:
Santiago Soler
2018-02-02 15:16:21 -03:00
parent cd64c1ee06
commit 7848bd173c

View File

@@ -84,9 +84,9 @@ class MoulderApp(QMainWindow):
'&Quit', self) '&Quit', self)
self.quit_action.setShortcut('Ctrl+Q') self.quit_action.setShortcut('Ctrl+Q')
self.about_action = QAction("&About", self) self.about_action = QAction("&About", self)
self.new_polygon_action = QAction(QIcon.fromTheme("window-new"), self.new_polygon_action = QAction(QIcon.fromTheme("list-add"),
"&New Polygon", self) "&New Polygon", self)
self.delete_polygon_action = QAction(QIcon.fromTheme("window-close"), self.delete_polygon_action = QAction(QIcon.fromTheme("list-remove"),
"&Delete Polygon", self) "&Delete Polygon", self)
self.add_vertex_action = QAction(QIcon.fromTheme("document-new"), self.add_vertex_action = QAction(QIcon.fromTheme("document-new"),
"&Add Vertex", self) "&Add Vertex", self)