⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.whatnext

📁 一个非常好的GIS开源新版本
💻 WHATNEXT
字号:
Welcome to your automatically generated plugin!-------------------------------------------------------------This is just a starting point. You now need to modify the code to make it dosomething useful....read on for a more information to get yourself started.Documentation:-------------------------------------------------------------You really need to read the QGIS API Documentation now at:http://svn.qgis.org/api_doc/html/In particular look at the following classes:QGisInterface : http://svn.qgis.org/api_doc/html/classQgisInterface.htmlQgsMapCanvas  : http://svn.qgis.org/api_doc/html/classQgsMapCanvas.htmlQgsMapTool    : http://svn.qgis.org/api_doc/html/classQgsMapTool.htmlQgsPlugin     : http://svn.qgis.org/api_doc/html/classQgisPlugin.htmlQGisInterface is an abstract base class (ABC) that specifies what publiclyavailable features of QGIS are exposed to third party code and plugins. Aninstance of the QgisInterface is passed to the plugin when it loads. Pleaseconsult the QGIS development team if there is functionality required in theQGisInterface that is not available.QgsPlugin is an ABC that defines required behaviour your plugin must provide.See below for more details.What are all the files in my generated plugin directory for?-------------------------------------------------------------CMakeLists.txtThis is the generated CMake file that builds the plugin. You should add youapplication specific dependencies and source files to this file.[pluginlcasename].h[pluginlcasename].cpp  This is the class that provides the 'glue' between your custom applicationlogic and the QGIS application. You will see that a number of methods arealready implemented for you - including some examples of how to add a raster orvector layer to the main application map canvas. This class is a concreteimplementation of QgisPlugin (which defines required behaviour for a plugin).In particular, a plugin has a number of static methods and members so that theQgsPluginManager and plugin loader logic can identify each plugin, create anappropriate menu entry for it etc. Note there is nothing stopping you creatingmultiple toolbar icons and menu entries for a single plugin. By default thougha single menu entry and toolbar button is created and its pre-configured tocall the run() method in this class when selected. This default implementationprovided for you by the plugin builder is well documented, so please refer tothe code for further advice.[pluginlcasename]gui.ui  This is a Qt designer 'ui' file. It defines the look of the default plugindialog without implementing any application logic. You can modify this form tosuite your needs or completely remove it if your plugin does not need todisplay a user form (e.g. for custom MapTools).[pluginlcasename]gui.cpp  [pluginlcasename]gui.h  This is the concrete class where application logic for the above mentioneddialog should go. The world is your oyster here really....[pluginlcasename].qrc  This is the Qt4 resources file for your plugin. The Makefile generated for yourplugin is all set up to compile the resource file so all you need to do is addyour additional icons etc using the simple xml file format. Note the namespaceused for all your resources e.g. (":/[pluginname]/"). It is important to usethis prefix for all your resources. We suggest you include any other images andrun time data in this resurce file too.[pluginlcasename].png  This is the icon that will be used for your plugin menu entry and toolbar icon.Simply replace this icon with your own icon to make your plugin disctinctivefrom the rest.READMEThis file contains the documentation you are reading now!Getting developer help:-------------------------------------------------------------For Questions and Comments regarding the plugin builder template and creatingyour features in QGIS using the plugin interface please contact us via: * the QGIS developers mailing list, or * IRC (#qgis on freenode.net)QGIS is distributed under the Gnu Public License. If you create a useful pluginplease consider contributing it back to the community.Have fun and thank you for choosing QGIS.The QGIS Team2007

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -