Skip to content

Commit

Permalink
Added context help to vector properties dialog.
Browse files Browse the repository at this point in the history
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 committed Nov 26, 2006
1 parent 4adc1be commit 1654d3e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/gui/qgsvectorlayerproperties.cpp
Expand Up @@ -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"
Expand Down Expand Up @@ -250,7 +251,7 @@ void QgsVectorLayerProperties::on_pbnCancel_clicked()
}
void QgsVectorLayerProperties::on_btnHelp_clicked()
{

QgsContextHelp::run(context_id);
}
void QgsVectorLayerProperties::on_pbnOK_clicked()
{
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsvectorlayerproperties.h
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsvectorlayerpropertiesbase.ui
Expand Up @@ -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>
Expand Down

0 comments on commit 1654d3e

Please sign in to comment.