Permalink
Browse files

initial copy from http://www.geofrogger.net/svn/trunk/

  • Loading branch information...
0 parents commit 8a6764fe83bbdfc58307500fcb384e8c1537297b @anitagraser committed Dec 27, 2011
@@ -0,0 +1,36 @@
+#===========================================================================
+# TIME MANAGER
+# a plugin for QGIS
+# --------------------------------------------------------------------------
+# by Anita Graser (anitagraser@gmx.at)
+# and Volker Fr�hlich (volker27@gmx.at)
+# --------------------------------------------------------------------------
+# project home and bug tracker: https://github.com/anitagraser/TimeManager
+# plugin repository: http://plugins.qgis.org/plugins/
+#===========================================================================
+
+DEPENDENCIES
+ none, runs on a default QGIS installation
+
+MINIMUM QGIS VERSION
+ QGIS 1.6
+
+PYTHON VERSION
+ tested using Python 2.6 and 2.7
+
+KNOWN ISSUES
+ The plug-in uses Python's datetime module for calculations. It is
+ therefore limited to the module's functionality.
+ This enfolds (not exhaustive):
+ - Dates must accord to the Gregorian calendar
+ - Years must be between 1902 and 2038 due to limitations in time.mktime
+ (datetime supports years 1 to 9999)
+ - Limits to the size/resolution of the time frame size
+
+ We currently don't support:
+ - Leap years
+ - Dates with time zone notion
+
+ Shapefiles can't be edited directly, while time-managed. This is an OGR
+ limitation. It also exists for any other query you set: You simply can't
+ edit a shapefile whilst a query is set.
@@ -0,0 +1,36 @@
+# -*- coding: UTF-8 -*-
+from timemanager import timemanager
+
+def name():
+ return "TimeManager"
+
+def description():
+ return "The aim of TimeManager plugin for QGIS is to provide comfortable browsing through temporal geodata. A dock widget provides a time slider and a configuration dialog for your layers to manage."
+
+def version():
+ return "Version 0.4"
+
+def qgisMinimumVersion():
+ return '1.6.0'
+
+def authorName():
+ return "Anita Graser"
+
+def classFactory(iface):
+ return timemanager(iface)
+
+def icon():
+ return "icon.png"
+
+def experimental():
+ return True
+
+def homepage():
+ return 'http://www.geofrogger.net/trac/'
+
+def tracker():
+ return 'http://www.geofrogger.net/trac/'
+
+def repository():
+ return 'http://plugins.qgis.org/plugins/'
+
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>dialog</class>
+ <widget class="QDialog" name="dialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>336</width>
+ <height>195</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Select layer and column(s)</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Layer:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="comboBoxLayers"/>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Start Time:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QComboBox" name="comboBoxStart"/>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>End Time:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QComboBox" name="comboBoxEnd"/>
+ </item>
+ <item row="2" column="2">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>(optional)</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Time Format:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QComboBox" name="comboBoxTimeFormat">
+ <item>
+ <property name="text">
+ <string>%Y-%m-%d %H:%M:%S</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>Offset (in sec):</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QSpinBox" name="spinBoxOffset">
+ <property name="minimum">
+ <number>-1000000000</number>
+ </property>
+ <property name="maximum">
+ <number>1000000000</number>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="2">
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>(optional)</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>dialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>dialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
Oops, something went wrong.

0 comments on commit 8a6764f

Please sign in to comment.