1

renaming icons

This commit is contained in:
Alex Yatskov 2012-12-25 08:57:53 -08:00
parent 27dc1f3fdb
commit 084a35b794
21 changed files with 19 additions and 19 deletions

View File

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 778 B

View File

Before

Width:  |  Height:  |  Size: 663 B

After

Width:  |  Height:  |  Size: 663 B

View File

Before

Width:  |  Height:  |  Size: 641 B

After

Width:  |  Height:  |  Size: 641 B

View File

Before

Width:  |  Height:  |  Size: 659 B

After

Width:  |  Height:  |  Size: 659 B

View File

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

View File

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 688 B

View File

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 610 B

View File

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 655 B

View File

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 680 B

View File

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 657 B

View File

Before

Width:  |  Height:  |  Size: 615 B

After

Width:  |  Height:  |  Size: 615 B

View File

Before

Width:  |  Height:  |  Size: 733 B

After

Width:  |  Height:  |  Size: 733 B

View File

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 286 B

View File

Before

Width:  |  Height:  |  Size: 143 B

After

Width:  |  Height:  |  Size: 143 B

View File

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 182 B

View File

Before

Width:  |  Height:  |  Size: 111 B

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 B

View File

@ -251,7 +251,7 @@ class MainWindowReader(QtGui.QMainWindow):
command, index = unicode(url.toString()).split(':') command, index = unicode(url.toString()).split(':')
definition = self.state.definitions[int(index)] definition = self.state.definitions[int(index)]
if command == 'addFactExpression': if command == 'addExpression':
markup = reader_util.buildFactMarkupExpression( markup = reader_util.buildFactMarkupExpression(
definition.expression, definition.expression,
definition.reading, definition.reading,
@ -259,7 +259,7 @@ class MainWindowReader(QtGui.QMainWindow):
definition.sentence definition.sentence
) )
self.ankiAddFact(markup) self.ankiAddFact(markup)
if command == 'addFactReading': if command == 'addReading':
markup = reader_util.buildFactMarkupReading( markup = reader_util.buildFactMarkupReading(
definition.reading, definition.reading,
definition.glossary, definition.glossary,

View File

@ -152,9 +152,9 @@ def buildDefinitionHtml(definition, factIndex, factQuery):
links = '<a href = "copyDefinition:{0}"><img src = "{1}" align = "right"/></a>'.format(factIndex, buildResPath('img/page_copy.png')) links = '<a href = "copyDefinition:{0}"><img src = "{1}" align = "right"/></a>'.format(factIndex, buildResPath('img/page_copy.png'))
if factQuery: if factQuery:
if factQuery(buildFactMarkupExpression(definition.expression, definition.reading, definition.glossary)): if factQuery(buildFactMarkupExpression(definition.expression, definition.reading, definition.glossary)):
links += '<a href = "addFactExpression:{0}"><img src = "{1}" align = "right"/></a>'.format(factIndex, buildResPath('img/add.png')) links += '<a href = "addExpression:{0}"><img src = "{1}" align = "right"/></a>'.format(factIndex, buildResPath('img/icon_add_expression.png'))
if factQuery(buildFactMarkupReading(definition.reading, definition.glossary)): if factQuery(buildFactMarkupReading(definition.reading, definition.glossary)):
links += '<a href = "addFactReading:{0}"><img src = "{1}" align = "right"/></a>'.format(factIndex, buildResPath('img/bullet_add.png')) links += '<a href = "addReading:{0}"><img src = "{1}" align = "right"/></a>'.format(factIndex, buildResPath('img/icon_add_reading.png'))
html = u""" html = u"""
<span class = "links">{0}</span> <span class = "links">{0}</span>

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>700</width> <width>650</width>
<height>400</height> <height>400</height>
</rect> </rect>
</property> </property>
@ -22,7 +22,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap>../img/logo64x64.png</pixmap> <pixmap>../img/icon_logo_64.png</pixmap>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -18,7 +18,7 @@
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset> <iconset>
<normaloff>../img/logo32x32.png</normaloff>../img/logo32x32.png</iconset> <normaloff>../img/icon_logo_32.png</normaloff>../img/icon_logo_32.png</iconset>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
@ -40,7 +40,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>900</width> <width>900</width>
<height>23</height> <height>25</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">
@ -216,7 +216,7 @@
<action name="actionOpen"> <action name="actionOpen">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/folder_page.png</normaloff>../img/folder_page.png</iconset> <normaloff>../img/icon_action_open.png</normaloff>../img/icon_action_open.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Open...</string> <string>&amp;Open...</string>
@ -234,7 +234,7 @@
<action name="actionQuit"> <action name="actionQuit">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/cross.png</normaloff>../img/cross.png</iconset> <normaloff>../img/icon_action_quit.png</normaloff>../img/icon_action_quit.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Quit</string> <string>&amp;Quit</string>
@ -252,7 +252,7 @@
<action name="actionPreferences"> <action name="actionPreferences">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/wrench.png</normaloff>../img/wrench.png</iconset> <normaloff>../img/icon_action_preferences.png</normaloff>../img/icon_action_preferences.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Preferences...</string> <string>&amp;Preferences...</string>
@ -267,7 +267,7 @@
<action name="actionAbout"> <action name="actionAbout">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/information.png</normaloff>../img/information.png</iconset> <normaloff>../img/icon_action_about.png</normaloff>../img/icon_action_about.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;About...</string> <string>&amp;About...</string>
@ -285,7 +285,7 @@
<action name="actionZoomIn"> <action name="actionZoomIn">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/magnifier_zoom_in.png</normaloff>../img/magnifier_zoom_in.png</iconset> <normaloff>../img/icon_action_zoom_in.png</normaloff>../img/icon_action_zoom_in.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Zoom &amp;in</string> <string>Zoom &amp;in</string>
@ -300,7 +300,7 @@
<action name="actionZoomOut"> <action name="actionZoomOut">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/magifier_zoom_out.png</normaloff>../img/magifier_zoom_out.png</iconset> <normaloff>../img/icon_action_zoom_out.png</normaloff>../img/icon_action_zoom_out.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Zoom &amp;out</string> <string>Zoom &amp;out</string>
@ -315,7 +315,7 @@
<action name="actionZoomReset"> <action name="actionZoomReset">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/magnifier.png</normaloff>../img/magnifier.png</iconset> <normaloff>../img/icon_action_zoom_reset.png</normaloff>../img/icon_action_zoom_reset.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Reset</string> <string>&amp;Reset</string>
@ -333,7 +333,7 @@
<action name="actionFind"> <action name="actionFind">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/find.png</normaloff>../img/find.png</iconset> <normaloff>../img/icon_action_find.png</normaloff>../img/icon_action_find.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Find...</string> <string>&amp;Find...</string>
@ -387,7 +387,7 @@
<action name="actionCopyDefinition"> <action name="actionCopyDefinition">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/page_copy.png</normaloff>../img/page_copy.png</iconset> <normaloff>../img/icon_action_copy_definition.png</normaloff>../img/icon_action_copy_definition.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Copy &amp;definition</string> <string>Copy &amp;definition</string>
@ -407,7 +407,7 @@
<action name="actionHomepage"> <action name="actionHomepage">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/world_go.png</normaloff>../img/world_go.png</iconset> <normaloff>../img/icon_action_homepage.png</normaloff>../img/icon_action_homepage.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Homepage...</string> <string>&amp;Homepage...</string>
@ -438,7 +438,7 @@
<action name="actionFeedback"> <action name="actionFeedback">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>../img/email.png</normaloff>../img/email.png</iconset> <normaloff>../img/icon_action_feedback.png</normaloff>../img/icon_action_feedback.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Feedback...</string> <string>&amp;Feedback...</string>