[cosmetics] added/changed some icons

This commit is contained in:
Marcel Paffrath 2017-08-18 11:32:45 +02:00
parent 4b01c7a28b
commit 4c859eae1b
8 changed files with 16447 additions and 7361 deletions

View File

@ -250,6 +250,10 @@ class MainWindow(QMainWindow):
prefIcon.addPixmap(QPixmap(':/icons/preferences.png')) prefIcon.addPixmap(QPixmap(':/icons/preferences.png'))
paraIcon = QIcon() paraIcon = QIcon()
paraIcon.addPixmap(QPixmap(':/icons/parameter.png')) paraIcon.addPixmap(QPixmap(':/icons/parameter.png'))
self.inventoryIcon = QIcon()
self.inventoryIcon.addPixmap(QPixmap(':/icons/inventory.png'))
self.mapIcon = QIcon()
self.mapIcon.addPixmap(QPixmap(':/icons/map.png'))
self.autopicksicon_small = QIcon() self.autopicksicon_small = QIcon()
self.autopicksicon_small.addPixmap(QPixmap(':/icons/autopicksicon_small.png')) self.autopicksicon_small.addPixmap(QPixmap(':/icons/autopicksicon_small.png'))
self.manupicksicon_small = QIcon() self.manupicksicon_small = QIcon()
@ -370,12 +374,12 @@ class MainWindow(QMainWindow):
"""Adjust filter parameters.""") """Adjust filter parameters.""")
self.inventoryAction = self.createAction(self, "Select &Inventory ...", self.inventoryAction = self.createAction(self, "Select &Inventory ...",
self.get_new_metadata, self.get_new_metadata,
"Ctrl+I", None, "Ctrl+I", self.inventoryIcon,
"""Select metadata for current project""", """Select metadata for current project""",
False) False)
self.initMapAction = self.createAction(self, "Init array map ...", self.initMapAction = self.createAction(self, "Init array map ...",
self.init_array_map, self.init_array_map,
"Ctrl+M", None, "Ctrl+M", self.mapIcon,
"""Initialize array map with current metadata""", """Initialize array map with current metadata""",
False) False)
self.initMapAction.setEnabled(False) self.initMapAction.setEnabled(False)
@ -500,7 +504,7 @@ class MainWindow(QMainWindow):
pickMenuActions = (self.parameterAction,) pickMenuActions = (self.parameterAction,)
self.pickMenu = self.menuBar().addMenu('&Picking') self.pickMenu = self.menuBar().addMenu('&Picking')
self.autoPickMenu = self.pickMenu.addMenu('Automatic picking') self.autoPickMenu = self.pickMenu.addMenu(self.autopicksicon_small, 'Automatic picking')
self.autoPickMenu.setEnabled(False) self.autoPickMenu.setEnabled(False)
autoPickActions = (self.auto_pick, self.auto_pick_local, self.auto_pick_sge) autoPickActions = (self.auto_pick, self.auto_pick_local, self.auto_pick_sge)
@ -2159,9 +2163,11 @@ class MainWindow(QMainWindow):
self.inventory_label = QLabel('No inventory set...') self.inventory_label = QLabel('No inventory set...')
# init inventory button # init inventory button
self.new_inv_button = QPushButton('Set inventory file') self.new_inv_button = QPushButton('Set inventory file')
self.new_inv_button.setIcon(self.inventoryIcon)
self.new_inv_button.clicked.connect(self.inventoryAction.trigger) self.new_inv_button.clicked.connect(self.inventoryAction.trigger)
self.init_map_button = QPushButton('Init array map') self.init_map_button = QPushButton('Init array map')
self.init_map_button.setIcon(self.mapIcon)
self.init_map_button.clicked.connect(self.initMapAction.trigger) self.init_map_button.clicked.connect(self.initMapAction.trigger)
self.init_map_button.setEnabled(False) self.init_map_button.setEnabled(False)

View File

@ -23,6 +23,8 @@
<file>icons/savepicks.png</file> <file>icons/savepicks.png</file>
<file>icons/preferences.png</file> <file>icons/preferences.png</file>
<file>icons/parameter.png</file> <file>icons/parameter.png</file>
<file>icons/inventory.png</file>
<file>icons/map.png</file>
<file>icons/openloc.png</file> <file>icons/openloc.png</file>
<file>icons/compare_button.png</file> <file>icons/compare_button.png</file>
<file>icons/locate_button.png</file> <file>icons/locate_button.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 26 KiB

BIN
icons/inventory.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 22 KiB

BIN
icons/map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff