Skip to content

Commit

Permalink
added tooltips to toolbox
Browse files Browse the repository at this point in the history
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 committed Jul 6, 2012
1 parent 17ef0f5 commit 6d01c98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sextante/gui/SextanteToolbox.py
Expand Up @@ -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()
Expand Down Expand Up @@ -204,6 +205,8 @@ def fillTree(self):
self.algorithmTree.insertTopLevelItem(0, recentItem)
recentItem.setExpanded(True)

self.algorithmTree.setWordWrap(True)



class TreeAlgorithmItem(QtGui.QTreeWidgetItem):
Expand All @@ -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):
Expand Down

0 comments on commit 6d01c98

Please sign in to comment.