geodrinx / selenext Goto Github PK
View Code? Open in Web Editor NEWqgis plugin - move selection to next element(s)
qgis plugin - move selection to next element(s)
<html> <body> <h3>Plugin Builder Results</h3> Congratulations! You just built a plugin for QGIS! Easy eh?<br/><br /> <div id='help' style='font-size:.9em;'> Your plugin <b>selenext</b> was created in:<br> <b>C:\Users\rrr\.qgis2\python\plugins\selenext</b> <p> Your QGIS plugin directory is located at:<br> <b>C:/Users/rrr/.qgis2/python/plugins</b> <p> <h3>What's Next</h3> <ol> <li>Copy the entire directory containing your new plugin to the QGIS plugin directory <li>Compile the resources file using pyrcc4 (simply run <b>make</b> if you have automake) <li>Test the generated sources using <b>make test</b> (or run tests from your IDE) <li>Test the plugin by enabling it in the QGIS plugin manager <li>Customize it by editing the implementation file <b>selenext.py</b> <li>Create your own custom icon, replacing the default <b>icon.png</b> <li>Modify your user interface by opening <b>selenext_dialog_base.ui</b> in Qt Designer <li>You can use the <b>Makefile</b> to compile your resource files when you make changes. This requires GNU make (gmake) </ul> </div> <div style='font-size:.9em;'> <p> For more information, see the PyQGIS Developer Cookbook at: <a href="http://www.qgis.org/pyqgis-cookbook/index.html">http://www.qgis.org/pyqgis-cookbook/index.html</a>. </p> </div> <img src="http://geoapt.com/geoapt_logo_p.png" alt='GeoApt LLC' title='GeoApt LLC' align='absmiddle'> ©2011-2014 GeoApt LLC - geoapt.com - Git revision : $Format:%H$ </body> </html>
So it will be easier to find
If no vector layer is selected in the TOC, an unmanaged error is thrown:
Traceback (most recent call last):
File "/home/paolo/Desktop/qgis2_test/python/plugins/selenext/selenext.py", line 185, in run
count = vlayer.selectedFeatureCount()
AttributeError: 'NoneType' object has no attribute 'selectedFeatureCount'
Better show an appropriate the message to the user.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.