mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
21 lines
493 B
C
21 lines
493 B
C
|
#include <map>
|
||
|
#include "qgispluginguielement"
|
||
|
/*! \class QgisPluginToolbar
|
||
|
* \brief Class to define a plugin toolbar
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
class QgisPluginToolbar : public QgisPluginGuiElement {
|
||
|
public:
|
||
|
//! Constructor
|
||
|
QgisPluginToolbar();
|
||
|
//! Type of element (see ELEMENTS enum in qgisplugin.h)
|
||
|
QGIS_GUI_TYPE type();
|
||
|
//! destructor
|
||
|
virtual ~QgisPluginToolbar();
|
||
|
private:
|
||
|
//! Map to define slot called when a toolbar button is activated
|
||
|
std::map<QString toolName, QString toolSlot> toolSlots;
|
||
|
};
|