mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@138 c8812cc2-4d05-0410-92ff-de0c093fc19c
21 lines
481 B
C++
21 lines
481 B
C++
#include <map>
|
|
#include "qgispluginguielement"
|
|
/*! \class QgisPluginMenu
|
|
* \brief Class to define a plugin menu
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
class QgisPluginMenu : public QgisPluginGuiElement {
|
|
public:
|
|
//! Constructor
|
|
QgisPluginMenu();
|
|
//! Type of element (see ELEMENTS enum in qgisplugin.h)
|
|
QGIS_GUI_TYPE type();
|
|
//! destructor
|
|
virtual ~QgisPluginMenu();
|
|
private:
|
|
//! Map to define slot called when a menu item is activated
|
|
std::map<QString menuItemName, QString menuItemSlot> itemSlots;
|
|
};
|