Skip to content
Permalink
Browse files

Added context help to vector properties dialog.

Enabled the Help button on the vector properties dialog


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6126 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Nov 26, 2006
1 parent 4adc1be commit 1654d3ea7147748223c73ea85ef7587989659761
@@ -28,6 +28,7 @@
#include "qgsuniquevaluedialog.h"
#include "qgsvectordataprovider.h"
#include "qgsvectorlayer.h"
#include "qgscontexthelp.h"
#ifdef HAVE_POSTGRESQL
#include "qgspgquerybuilder.h"
#include "../providers/postgres/qgspostgresprovider.h"
@@ -250,7 +251,7 @@ void QgsVectorLayerProperties::on_pbnCancel_clicked()
}
void QgsVectorLayerProperties::on_btnHelp_clicked()
{

QgsContextHelp::run(context_id);
}
void QgsVectorLayerProperties::on_pbnOK_clicked()
{
@@ -78,6 +78,7 @@ class QgsVectorLayerProperties : public QDialog, private Ui::QgsVectorLayerPrope
QgsAttributeActionDialog* actionDialog;
/**Buffer pixmap which takes the picture of renderers before they are assigned to the vector layer*/
//QPixmap bufferPixmap;
static const int context_id = 94000531;
};

inline QString QgsVectorLayerProperties::displayName()
@@ -71,7 +71,7 @@
<item row="1" column="0" >
<widget class="QPushButton" name="btnHelp" >
<property name="enabled" >
<bool>false</bool>
<bool>true</bool>
</property>
<property name="text" >
<string>Help</string>

0 comments on commit 1654d3e

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