Created
September 30, 2015 11:47
-
-
Save wonder-sk/f8cfded471c207091a22 to your computer and use it in GitHub Desktop.
Simplified minimal QGIS plugin [draft]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt4.QtGui import * | |
from qgis import DefaultPlugin, plugin_action | |
def classFactory(iface): | |
return DefaultPlugin(iface) | |
@plugin_action("Go!") | |
def my_action(): | |
QMessageBox.information(None, "Minimal plugin", "Do something useful here") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment