unified icon set used for PyLoT in order to match the license restriction

This commit is contained in:
Sebastian Wehling-Benatelli 2015-07-07 10:31:39 +02:00
parent b5e279a318
commit f99f5dbc8f
22 changed files with 24 additions and 12 deletions

View File

@ -133,11 +133,13 @@ class MainWindow(QMainWindow):
# create resource icons
p_icon = QIcon()
p_icon.addPixmap(QPixmap(':/icons/picon.png'))
p_icon.addPixmap(QPixmap(':/icons/key_P.png'))
s_icon = QIcon()
s_icon.addPixmap(QPixmap(':/icons/sicon.png'))
s_icon.addPixmap(QPixmap(':/icons/key_S.png'))
print_icon = QIcon()
print_icon.addPixmap(QPixmap(':/icons/printer.png'))
filter_icon = QIcon()
filter_icon.addPixmap(QPixmap(':/icons/filter.png'))
newEventAction = self.createAction(self, "&New event ...",
self.createNewEvent,
@ -166,7 +168,7 @@ class MainWindow(QMainWindow):
"Close event and quit PyLoT")
self.filterAction = self.createAction(self, "&Filter ...",
self.filterWaveformData,
"Ctrl+F", QIcon(":/filter.png"),
"Ctrl+F", filter_icon,
"""Toggle un-/filtered waveforms
to be displayed, according to the
desired seismic phase.""", True)
@ -259,7 +261,7 @@ class MainWindow(QMainWindow):
if recentEvents:
for i, eventID in enumerate(recentEvents):
fname = fnConstructor(eventID)
action = QAction(QIcon(":/icon.png"),
action = QAction(self.windowIcon(),
"&{0} {1}".format(i + 1,
QFileInfo(fname).fileName()),
self)

View File

@ -2,11 +2,21 @@
<qresource>
<file>icons/pylot.ico</file>
<file>icons/printer.png</file>
<file>icons/picon.png</file>
<file>icons/sicon.png</file>
<file>icons/key_E.png</file>
<file>icons/key_N.png</file>
<file>icons/key_P.png</file>
<file>icons/key_Q.png</file>
<file>icons/key_R.png</file>
<file>icons/key_S.png</file>
<file>icons/key_T.png</file>
<file>icons/key_U.png</file>
<file>icons/key_V.png</file>
<file>icons/key_W.png</file>
<file>icons/key_Z.png</file>
<file>icons/pick.png</file>
<file>icons/filter.png</file>
<file>icons/zoom.png</file>
<file>icons/zoom_in.png</file>
<file>icons/zoom_out.png</file>
</qresource>
<qresource prefix="/help">
<file>help/index.html</file>

BIN
icons/key_E.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
icons/key_N.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
icons/key_P.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
icons/key_Q.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
icons/key_R.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
icons/key_S.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
icons/key_T.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
icons/key_U.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
icons/key_V.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
icons/key_W.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
icons/key_Z.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 937 B

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

BIN
icons/zoom_in.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

BIN
icons/zoom_out.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

File diff suppressed because one or more lines are too long

View File

@ -224,7 +224,7 @@ class PickDlg(QDialog):
filter_icon = QIcon()
filter_icon.addPixmap(QPixmap(':/icons/filter.png'))
zoom_icon = QIcon()
zoom_icon.addPixmap(QPixmap(':/icons/zoom.png'))
zoom_icon.addPixmap(QPixmap(':/icons/zoom_in.png'))
# create actions
self.filterAction = createAction(parent=self, text='Filter',