Skip to content
Permalink
Browse files

added tooltips to toolbox

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@290 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com
volayaf@gmail.com committed Jul 6, 2012
1 parent 17ef0f5 commit 6d01c98b752446033bc0e8a056434dd0689325be
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/sextante/gui/SextanteToolbox.py
@@ -172,6 +172,7 @@ def fillTree(self):
algItem = TreeActionItem(action)
groupItem.addChild(algItem)


if len(groups)>0:
providerItem = QtGui.QTreeWidgetItem()
providerItem.setText(0, Sextante.getProviderFromName(providerName).getDescription()
@@ -204,6 +205,8 @@ def fillTree(self):
self.algorithmTree.insertTopLevelItem(0, recentItem)
recentItem.setExpanded(True)

self.algorithmTree.setWordWrap(True)



class TreeAlgorithmItem(QtGui.QTreeWidgetItem):
@@ -213,6 +216,7 @@ def __init__(self, alg):
self.alg = alg
self.setText(0, alg.name)
self.setIcon(0, alg.getIcon())
self.setToolTip(0, alg.name)


class TreeActionItem(QtGui.QTreeWidgetItem):

0 comments on commit 6d01c98

Please sign in to comment.
You can’t perform that action at this time.