{"_id":"56e1d593bc46be0e002af293","__v":5,"project":"55faeacad0e22017005b8265","category":{"_id":"56e1cd10bc46be0e002af26a","project":"55faeacad0e22017005b8265","version":"55faeacad0e22017005b8268","__v":3,"pages":["56e1d53b92bf640e00b55671","56e1d593bc46be0e002af293","56e1d5d9e63f910e00e5988e"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-10T19:37:52.668Z","from_sync":false,"order":14,"slug":"qgis-plugin-application","title":"QGIS Plugin Application"},"version":{"_id":"55faeacad0e22017005b8268","project":"55faeacad0e22017005b8265","__v":35,"createdAt":"2015-09-17T16:31:06.800Z","releaseDate":"2015-09-17T16:31:06.800Z","categories":["55faeacbd0e22017005b8269","55faf550764f50210095078e","55faf5b5626c341700fd9e96","55faf8a7825d5f19001fa386","560052f91503430d007cc88f","560054f73aa0520d00da0b1a","56005aaf6932a00d00ba7c62","56005c273aa0520d00da0b3f","5601ae7681a9670d006d164d","5601ae926811d00d00ceb487","5601aeb064866b1900f4768d","5601aee850ee460d0002224c","5601afa02499c119000faf19","5601afd381a9670d006d1652","561d4c78281aec0d00eb27b6","561d588d8ca8b90d00210219","563a5f934cc3621900ac278c","5665c5763889610d0008a29e","566710a36819320d000c2e93","56ddf6df8a5ae10e008e3926","56e1c96b2506700e00de6e83","56e1ccc4e416450e00b9e48c","56e1ccdfe63f910e00e59870","56e1cd10bc46be0e002af26a","56e1cd21e416450e00b9e48e","56e3139a51857d0e008e77be","573b4f62ef164e2900a2b881","57c9d1335fd8ca0e006308ed","57e2bd9d1e7b7220000d7fa5","57f2b992ac30911900c7c2b6","58adb5c275df0f1b001ed59b","58c81b5c6dc7140f003c3c46","595412446ed4d9001b3e7b37","59e76ce41938310028037295","5a009de510890d001c2aabfe"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"v1","version_clean":"1.0.0","version":"1"},"parentDoc":null,"user":"56267741db1eda0d001c3dbb","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-10T20:14:11.405Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"#Download the DGConnect Github repository#\n[block:embed]\n{\n  \"html\": false,\n  \"url\": \"https://github.com/DigitalGlobe/DGConnect\",\n  \"title\": \"DigitalGlobe/DGConnect\",\n  \"favicon\": \"https://assets-cdn.github.com/favicon.ico\",\n  \"image\": \"https://avatars3.githubusercontent.com/u/10076238?v=3&s=400\"\n}\n[/block]\n#Component Explanations#\n\n- About: This folder contains the python and UI files that create the About dialog box.\n- BBox: This folder contains the the bounding box functionality which is used to draw the area of interest for the tools in this plugin.\n- Catalog: In this folder, you will find the python and UI files that support the GBD catalog functionality.\n- Settings: In this folder, you will find all the functionality pertaining to user and application settings.\n- Vectors: In this folder, you will find all the functionality pertaining to the DGX Vector Services tool.\n- DGX.py: The main python file that initializes the tools/buttons in the plugin.\n\n#How to start adding a new widget to the GBDX toolbar#\n\n##Step 1: Open GBDX.py in editor of choice.##\n\n##Step 2: Under the initGui function, define your new tool/button using the add_action() method with the appropriate parameters.##\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/15R7oJW2Q96D4g2ZJNiI_new_qgis_code_edit.png\",\n        \"new_qgis_code_edit.png\",\n        \"613\",\n        \"512\",\n        \"#b76e56\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"A developers guide to the GBDX QGIS Plugin","slug":"qgis-plugin-developers","type":"basic","title":"QGIS Plugin - Developers"}

QGIS Plugin - Developers

A developers guide to the GBDX QGIS Plugin

#Download the DGConnect Github repository# [block:embed] { "html": false, "url": "https://github.com/DigitalGlobe/DGConnect", "title": "DigitalGlobe/DGConnect", "favicon": "https://assets-cdn.github.com/favicon.ico", "image": "https://avatars3.githubusercontent.com/u/10076238?v=3&s=400" } [/block] #Component Explanations# - About: This folder contains the python and UI files that create the About dialog box. - BBox: This folder contains the the bounding box functionality which is used to draw the area of interest for the tools in this plugin. - Catalog: In this folder, you will find the python and UI files that support the GBD catalog functionality. - Settings: In this folder, you will find all the functionality pertaining to user and application settings. - Vectors: In this folder, you will find all the functionality pertaining to the DGX Vector Services tool. - DGX.py: The main python file that initializes the tools/buttons in the plugin. #How to start adding a new widget to the GBDX toolbar# ##Step 1: Open GBDX.py in editor of choice.## ##Step 2: Under the initGui function, define your new tool/button using the add_action() method with the appropriate parameters.## [block:image] { "images": [ { "image": [ "https://files.readme.io/15R7oJW2Q96D4g2ZJNiI_new_qgis_code_edit.png", "new_qgis_code_edit.png", "613", "512", "#b76e56", "" ] } ] } [/block]