Permalink
Browse files

0.1.2

  • Loading branch information...
1 parent 846956c commit 7c2e490dab73409990ebf6d23eadf7fa2725c392 @etiennesky committed Mar 14, 2012
Showing with 58 additions and 25 deletions.
  1. +14 −6 Makefile
  2. +37 −0 README
  3. +1 −1 __init__.py
  4. +2 −14 metadata.txt
  5. +1 −1 resources_rc.py
  6. +2 −2 ui_loopvisiblelayersdock.py
  7. +1 −1 ui_loopvisiblelayersdock.ui
View
@@ -23,7 +23,7 @@ PLUGINNAME = loopvisiblelayers
PY_FILES = loopvisiblelayers.py loopvisiblelayersdock.py __init__.py
-EXTRAS = icon.png icons/* metadata.txt
+EXTRAS = icon.png icons/* metadata.txt README
#UI_FILES = ui_loopvisiblelayers.py ui_loopvisiblelayersdock.py
UI_FILES = ui_loopvisiblelayersdock.py
@@ -32,13 +32,21 @@ RESOURCE_FILES = resources_rc.py
default: compile
-compile: copy_resource $(UI_FILES) $(RESOURCE_FILES)
+clean:
+ rm -f *.pyc
+ rm -f ui_*.py*
+ rm -f resources_rc.py
-copy_resource:
- cp -f resources.qrc resources_rc.qrc
+#compile: copy_resource $(UI_FILES) $(RESOURCE_FILES)
+compile: $(UI_FILES) $(RESOURCE_FILES)
-%.py : %.qrc
- pyrcc4 -o $@ $<
+#copy_resource:
+# cp -f resources.qrc resources_rc.qrc
+
+#%.py : %.qrc
+# pyrcc4 -o $@ $<
+resources_rc.py : resources.qrc
+ pyrcc4 -o resources_rc.py resources.qrc
%.py : %.ui
pyuic4 -o $@ $<
View
@@ -0,0 +1,37 @@
+============================================================
+README
+
+This plugin allows for layers or groups to be displayed in a loop.
+
+The plugin interface is a small dock widget which should appear in the left dock when the plugin is activated.
+
+The "Select Group" selection allows to define the source for the layers to loop.
+Select <Visible Layers> to select visible layers (the ones checked in the Layers legend).
+Select <Root> to use the top-level items (layers or groups) in the Layers legend.
+If there are any groups in the layers legend, these should appear in the selector.
+Currently the selector is not refreshed automatically, so use the Refresh button when needed.
+
+Select the loop delay in seconds.
+
+The Controls are Play/Pause, Stop, Next.
+
+
+============================================================
+TODO
+
+- fix groups - cannot have identical names and nested groups are added to groups/layers to loop unnecessarily
+- add one-shot timers instead of programmed one
+- update the groups list (and internal representations) automatically
+
+
+============================================================
+CREDITS
+- icons are from Fatcow "Farm-Fresh Web Icons" CC3 licence (http://creativecommons.org/licenses/by/3.0/us/)
+- refresh button from qgis
+
+
+============================================================
+CHANGELOG
+0.1 initial release
+0.1.1 add missing files
+0.1.2 fix resources.py vs. resources_rc.py in Makefile ; added README
View
@@ -24,7 +24,7 @@ def name():
def description():
return "Loop Visible Layers"
def version():
- return "Version 0.1.1"
+ return "Version 0.1.2"
def icon():
return "icon.png"
def qgisMinimumVersion():
View
@@ -12,14 +12,14 @@
name=Loop Visible Layers
qgisMinimumVersion=1.7
description=Allows for layers or groups to be displayed in a loop
-version=0.1.1
+version=0.1.2
# end of mandatory metadata
# Optional items:
# Uncomment the following line and add your changelog entries:
-# changelog=
+#changelog=
# tags are comma separated with spaces allowed
tags=loop
@@ -37,15 +37,3 @@ deprecated=False
# Author contact information
author=Etienne Tourigny
email=etourigny.dev@gmail.com
-
-
-
-# TODO
-# - fix groups - cannot have identical names and nested groups are added to groups/layers to loop unnecessarily
-# - add one-shot timers instead of programmed one
-# - update the groups list (and internal representations) automatically
-# - fix resources.py vs resources_rc.py (designer add a reference to resources_rc.py even though the file is resources.qrc)
-
-# CREDITS
-# icons are from qgis (refresh button) and
-# Fatcow "Farm-Fresh Web Icons" CC3 licence (http://creativecommons.org/licenses/by/3.0/us/)
View
@@ -2,7 +2,7 @@
# Resource object code
#
-# Created: Wed Mar 14 10:54:51 2012
+# Created: Wed Mar 14 16:46:37 2012
# by: The Resource Compiler for PyQt (Qt v4.7.3)
#
# WARNING! All changes made in this file will be lost!
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'ui_loopvisiblelayersdock.ui'
#
-# Created: Tue Mar 13 20:44:01 2012
+# Created: Wed Mar 14 17:01:45 2012
# by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!
@@ -35,7 +35,7 @@ def setupUi(self, LoopVisibleLayersDock):
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
self.label_3 = QtGui.QLabel(self.dockWidgetContents)
- self.label_3.setText(QtGui.QApplication.translate("LoopVisibleLayersDock", "Actions", None, QtGui.QApplication.UnicodeUTF8))
+ self.label_3.setText(QtGui.QApplication.translate("LoopVisibleLayersDock", "Controls", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.gridLayout.addWidget(self.label_3, 5, 0, 1, 1)
self.horizontalLayout = QtGui.QHBoxLayout()
@@ -35,7 +35,7 @@
<item row="5" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
- <string>Actions</string>
+ <string>Controls</string>
</property>
</widget>
</item>

0 comments on commit 7c2e490

Please sign in to comment.