QGIS for Devs: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K (Manual intallation of Python plugin)
K
Zeile 3: Zeile 3:
 
* [http://dev.ifs.hsr.ch/ Developer Wiki for Python Programming for (Q)GIS ('python4gis')]
 
* [http://dev.ifs.hsr.ch/ Developer Wiki for Python Programming for (Q)GIS ('python4gis')]
  
== Writing Plugins ==
+
== Writing (Python) plugins ==
  
 
Es gibt eine Plugin-Schnittstelle für C++ und für [[Python]]:
 
Es gibt eine Plugin-Schnittstelle für C++ und für [[Python]]:
Zeile 11: Zeile 11:
 
This page is biased towards writing QGIS Python plugins.
 
This page is biased towards writing QGIS Python plugins.
  
== Manual intallation of Python plugin ==
+
== Manual installation of Python plugin ==
  
 
Die manuelle Installation eines Python-Plugins, das sich noch nicht in einem Repository befindet, passiert wie folgt:
 
Die manuelle Installation eines Python-Plugins, das sich noch nicht in einem Repository befindet, passiert wie folgt:
Zeile 18: Zeile 18:
 
* Nach einem Neustart von QGIS kann man das Plugin unter Erweiterungen -> Plugins aktivieren, falls es nicht schon ist.
 
* Nach einem Neustart von QGIS kann man das Plugin unter Erweiterungen -> Plugins aktivieren, falls es nicht schon ist.
  
== UX Guidelines ==
+
== Guidelines ==
 +
 
 +
Her are some recommendations and guidelines:
 +
* A "File open..." dialog, should start in the user directory first time it's used, then the directory should stored temporarily or in the "Qt User Database".
  
 
These are the User Interface Design (UX/GUI) Guidelines for QGIS (click-based! e.g. for desktops and laptops):
 
These are the User Interface Design (UX/GUI) Guidelines for QGIS (click-based! e.g. for desktops and laptops):
Zeile 36: Zeile 39:
 
== Publication ==
 
== Publication ==
  
See [[QGIS_Plugins_mit_Python#How_to_publish_a_plugin|How to publish a plugin]].
+
See '[[QGIS_Plugins_mit_Python#How_to_publish_a_plugin|How to publish a plugin]]'.
  
 
== Weblinks ==
 
== Weblinks ==

Version vom 4. Juni 2015, 23:53 Uhr

See also:

Writing (Python) plugins

Es gibt eine Plugin-Schnittstelle für C++ und für Python:

This page is biased towards writing QGIS Python plugins.

Manual installation of Python plugin

Die manuelle Installation eines Python-Plugins, das sich noch nicht in einem Repository befindet, passiert wie folgt:

  • Plugins befinden sich in QGIS standardmässig im Ordner .qgis2\python\plugins. Der Ordner .qgis2 wiederum befindet sich im Homeordner. Dieser ist zum Beispiel unter Windows C:\Users\Benutzername.
  • Dorthin gehören alle Programm- und Daten-Dateien.
  • Nach einem Neustart von QGIS kann man das Plugin unter Erweiterungen -> Plugins aktivieren, falls es nicht schon ist.

Guidelines

Her are some recommendations and guidelines:

  • A "File open..." dialog, should start in the user directory first time it's used, then the directory should stored temporarily or in the "Qt User Database".

These are the User Interface Design (UX/GUI) Guidelines for QGIS (click-based! e.g. for desktops and laptops):

  1. You can find the (rather small) HIG (Human Interface Guidelines) in chap. 5 of "Developers guide for QGIS" https://github.com/qgis/QGIS/blob/master/CODING . See also starting on line 1441 of https://github.com/qgis/QGIS/blob/master/doc/CODING.t2t . HTML version here: http://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/CODING.html#toc60 .
  2. In addition there is this (rather large) (Graphical) User Interface (UI/GUI) Design with Qt: http://qt-project.org/doc/qt-4.8/qt-gui-concepts.html .
  3. Finally, there exist the “Windows 8 App UX Guidelines”. This is only “good to know” and can be used in cases of doubt or where the two Guidelines (QGIS+Qt) don’t apply

User Interface Design (UX/GUI) Guidelines (touch-based! e.g. for tablets):

Testing Plugins

Publication

See 'How to publish a plugin'.

Weblinks