Skip to content

Commit

Permalink
fixed icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Rossant committed Dec 29, 2012
1 parent bd585a4 commit 645dda2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions spiky/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
from colors import *
from tools import *
from dataio import *
from icons import *
# from widgets import *
from gui import *
10 changes: 6 additions & 4 deletions spiky/views/featureview.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from common import HighlightManager, SpikyBindings, SpikeDataOrganizer
from widgets import VisualizationWidget
import spiky.colors as scolors
import spiky
import spiky.tools as stools
import spiky.signals as ssignals
# from signals import *
Expand Down Expand Up @@ -696,15 +697,16 @@ def create_toolbar(self):
toolbar.setIconSize(QtCore.QSize(32, 32))

# navigation toolbar
toolbar.addAction(get_icon('hand'), "Move (press I to switch)",
toolbar.addAction(spiky.get_icon('hand'), "Move (press I to switch)",
self.set_navigation)
toolbar.addAction(get_icon('selection'), "Selection (press I to switch)",
toolbar.addAction(spiky.get_icon('selection'), "Selection (press I to switch)",
self.set_selection)

toolbar.addSeparator()
# toolbar.addSeparator()

# autoprojection
toolbar.addAction(self.main_window.autoproj_action)
# toolbar.addAction(spiky.get_icon('hand'), "Move (press I to switch)",
# self.main_window.autoproj_action)

toolbar.addSeparator()

Expand Down

0 comments on commit 645dda2

Please sign in to comment.