Skip to content
Permalink
Browse files
New context_ids for context help.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5619 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jul 21, 2006
1 parent 095e37f commit aee073ca84c127043877dddc2fd4959d11d30113
@@ -43,7 +43,7 @@ public slots:
int connectDb();
void zoomToBookmark();
sqlite3 *db;
static const int context_id = 85340544;
static const int context_id = 151694916;

};
#endif // QGSBOOKMARKS_H
@@ -117,7 +117,7 @@ class QgsDbSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
//! Pointer to the qgis application mainwindow
QgisApp *qgisApp;
PGconn *pd;
static const int context_id = 1244423922;
static const int context_id = 939347163;
};


@@ -18,6 +18,7 @@
/* $Id$ */

#include "qgsidentifyresults.h"
#include "qgscontexthelp.h"
#include "qgsapplication.h"

#include <QCloseEvent>
@@ -290,3 +291,7 @@ void QgsIdentifyResults::clicked ( Q3ListViewItem *item )

mActions.doAction(id, mValues, mClickedOnValue);
}
void QgsIdentifyResults::on_buttonHelp_clicked()
{
QgsContextHelp::run(context_id);
}
@@ -90,12 +90,16 @@ class QgsIdentifyResults: public QDialog, private Ui::QgsIdentifyResultsBase
/* Item in tree was clicked */
void clicked ( Q3ListViewItem *lvi );

//! Context help
void on_buttonHelp_clicked();

private:

QgsAttributeAction mActions;
int mClickedOnValue;
QMenu* mActionPopup;
std::vector<std::pair<QString, QString> > mValues;
static const int context_id = -689216579;

/**
Keeps track of what derived-attribute (e.g. Length, Area)
@@ -292,7 +292,7 @@ void QgsMapserverExport::writeMapFile()
break;
}
#ifdef QGISDEBUG
std::cout << "\tMapsrver Export creating symbol entries" << std::endl;
std::cout << "\tMapserver Export creating symbol entries" << std::endl;
#endif
// create a simple class entry based on red fill color and black outline color
//TODO: adapt the following section to the new symbology
@@ -113,7 +113,7 @@ public slots:
QgsRubberBand *mRubberBand;

//! Help context id
static const int context_id = 940759457;
static const int context_id = -687883780;

//! indicates whether we're measuring distances or areas
bool mMeasureArea;
@@ -43,7 +43,7 @@ class QgsNewConnection : public QDialog, private Ui::QgsNewConnectionBase
void on_btnHelp_clicked();
void on_btnConnect_clicked();
private:
static const int context_id = 821572257;
static const int context_id = -929865718;
};

#endif // QGSNEWCONNECTIONBASE_H
@@ -113,5 +113,5 @@ public slots:
//! notification of when on the fly projections are enabled / disabled
void projectionEnabled(bool);
private:
static const int context_id = 1173513647;
static const int context_id = 361087368;
};

0 comments on commit aee073c

Please sign in to comment.