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
23 lines
632 B
C++
23 lines
632 B
C++
#include <vector>
|
|
class QgisPluginGuiElement;
|
|
|
|
/*! \class QgisPluginGui
|
|
* \brief Class to encapsulate the gui elements of a plugin
|
|
*
|
|
* QgsPluginGui encapsulates all the GUI elements a plugin supports,
|
|
* including menu items, toolbar buttons, and associated graphics
|
|
*/
|
|
class QgisPluginGui {
|
|
public:
|
|
//! Constructor
|
|
QgisPluginGui();
|
|
//! Returns the number of GUI elements in the plugin
|
|
int elementCount();
|
|
//! Returns a specific GUI element by index from the vector
|
|
QgisPluginGuiElement element(int index);
|
|
//! Adds a new element
|
|
void addElement(QgisPluginGuiElement);
|
|
private:
|
|
std::vector<QgisPluginGuiElement> elements;
|
|
};
|