Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refactor code to match newly named modules

  • Loading branch information...
commit 5bceed308585af4bf8ab4a0a9bab6aadfede931d 1 parent ef13e90
@g-sherman authored
View
6 Makefile
@@ -21,13 +21,13 @@
#
PLUGINNAME=pluginbuilder
-PY_FILES = PluginBuilder.py PluginBuilderDialog.py ResultDialog.py __init__.py pluginspec.py
+PY_FILES = pluginbuilder.py pluginbuilder_dialog.py result_dialog.py __init__.py pluginspec.py
TEMPLATE_DIR = templateclass
EXTRAS = help.html icon.png plugin_builder.png
-UI_FILES = Ui_PluginBuilder.py Ui_Results.py
+UI_FILES = ui_pluginbuilder.py ui_results.py
RESOURCE_FILES = resources.py
@@ -52,3 +52,5 @@ deploy: compile
cp -vf $(EXTRAS) $(HOME)/.qgis/python/plugins/$(PLUGINNAME)
cp -rvf $(TEMPLATE_DIR) $(HOME)/.qgis/python/plugins/$(PLUGINNAME)
+clean:
+ rm $(UI_FILES)
View
2  __init__.py
@@ -32,5 +32,5 @@ def qgisMinimumVersion():
return "1.0"
def classFactory(iface):
# load PluginBuilder class from file PluginBuilder
- from PluginBuilder import PluginBuilder
+ from pluginbuilder import PluginBuilder
return PluginBuilder(iface)
View
4 pluginbuilder.py
@@ -29,8 +29,8 @@
# Initialize Qt resources from file resources.py
import resources
# Import the code for the dialog
-from PluginBuilderDialog import PluginBuilderDialog
-from ResultDialog import ResultDialog
+from pluginbuilder_dialog import PluginBuilderDialog
+from result_dialog import ResultDialog
from pluginspec import PluginSpec
class PluginBuilder:
View
2  pluginbuilder_dialog.py
@@ -20,7 +20,7 @@
"""
from PyQt4 import QtCore, QtGui
-from Ui_PluginBuilder import Ui_PluginBuilder
+from ui_pluginbuilder import Ui_PluginBuilder
# create the dialog for zoom to point
class PluginBuilderDialog(QtGui.QDialog):
def __init__(self):
View
2  result_dialog.py
@@ -20,7 +20,7 @@
"""
from PyQt4 import QtCore, QtGui
-from Ui_Results import Ui_Results
+from ui_results import Ui_Results
# create the dialog for showing results
class ResultDialog(QtGui.QDialog):
def __init__(self):
Please sign in to comment.
Something went wrong with that request. Please try again.