Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Migrate use of Q3WhatsThis to the Qt4 version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4766 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jan 28, 2006
1 parent 5281a27 commit d5efb3f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/gui/qgsvectorlayerproperties.cpp
Expand Up @@ -33,8 +33,6 @@
#endif

#include <QMessageBox>
#include <Q3WhatsThis>


QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
QWidget * parent,
Expand Down Expand Up @@ -142,9 +140,9 @@ void QgsVectorLayerProperties::reset( void )
lblSource->setText(source);
txtDisplayName->setText(layer->name());
// set whats this stuff
Q3WhatsThis::add(lblSource, tr("The source of the data (path name or database connection information)"));
Q3WhatsThis::add(pbnQueryBuilder, tr("This button opens the PostgreSQL query builder and allows you to create a subset of features to display on the map canvas rather than displaying all features in the layer"));
Q3WhatsThis::add(txtSubsetSQL, tr("The query used to limit the features in the layer is shown here. This is currently only supported for PostgreSQL layers. To enter or modify the query, click on the Query Builder button"));
lblSource->setWhatsThis(tr("The source of the data (path name or database connection information)"));
pbnQueryBuilder->setWhatsThis(tr("This button opens the PostgreSQL query builder and allows you to create a subset of features to display on the map canvas rather than displaying all features in the layer"));
txtSubsetSQL->setWhatsThis(tr("The query used to limit the features in the layer is shown here. This is currently only supported for PostgreSQL layers. To enter or modify the query, click on the Query Builder button"));

//we are dealing with a pg layer here so that we can enable the sql box
QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
Expand Down

0 comments on commit d5efb3f

Please sign in to comment.