[GRASS-SVN] r47275 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 27 11:18:02 EDT 2011
Author: mmetz
Date: 2011-07-27 08:18:02 -0700 (Wed, 27 Jul 2011)
New Revision: 47275
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
Log:
add tooltips to attribute table manager
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py 2011-07-27 15:17:25 UTC (rev 47274)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py 2011-07-27 15:18:02 UTC (rev 47275)
@@ -746,11 +746,13 @@
choices=self.mapDBInfo.GetColumns(self.mapDBInfo.layers[layer]['table']))
sqlWhereValue = wx.TextCtrl(parent=panel, id=wx.ID_ANY, value="",
style=wx.TE_PROCESS_ENTER)
+ sqlWhereValue.SetToolTipString(_("Example: %s") % "MULTILANE = 'no' AND OBJECTID < 10")
sqlStatement = wx.TextCtrl(parent=panel, id=wx.ID_ANY,
value="SELECT * FROM %s" % \
self.mapDBInfo.layers[layer]['table'],
style=wx.TE_PROCESS_ENTER)
+ sqlStatement.SetToolTipString(_("Example: %s") % "SELECT * FROM roadsmajor WHERE MULTILANE = 'no' AND OBJECTID < 10")
sqlWhereValue.Bind(wx.EVT_TEXT_ENTER, self.OnApplySqlStatement)
sqlStatement.Bind(wx.EVT_TEXT_ENTER, self.OnApplySqlStatement)
More information about the grass-commit
mailing list