From GRASS-Wiki
Revision as of 00:26, 2 February 2007 by Jachym (talk | contribs) (wxPython GUI)

Jump to: navigation, search

wxPython GUI

General GUI Design

User's point of view

  • GUI has multiple map displays
  • Each map display has several buttons for basic functions
    • Zooming and Paning
    • Data Quering
  • Each map display will be able to fire up pop-up toolbar with more complicated and not-so-often-used display functions (substitutions for d.measure, d.profile, d.text, ...)
  • Each map display will be able to fire up pop-up toolbar with v.digit substitution
  • Monitors can be started from the command line and from the GIS Manager
  • Monitors must be able to display following types of layers
    • GRASS Raster
    • GRASS Vector
    • GDAL Raster
    • GDAL Vector
    • WMS Layer from remote server
    • WCS and WFS layers too
    • Text layers
    • Graphics layers
    • Grid
    • Image layers
    • ...
  • GIS Manager is tool for
    • Monitors management and monitor content management
    • Layer look management
    • Modules starting (from integrated command line or menu)
    • Displaying output from modules (G_message, G_warning, G_fatal_error, G_percent)
  • GIS Manager must be able to save and restore session
  • There should be default session file, which will be loaded by default ones GRASS is started with -gui parameter
  • Georectification tool should be part of new GUI. It should be special type of monitor with added GCP function
  • Map Composer should be part of the new GUI. This tool should generate configuration files for hardcopy maps. The configuration files should be either files or maybe SVG

Coder's point of view

GUI History

Link to wxPython prototype GUI for GRASS 6

Update 18:02, 14 August 2006 (CEST) New version implements double buffered drawing to fix display issues on Debian, including flickering why panning and display being erased by overlaying windows. Output to PNG file added. Better looking zoom rectangles.

*****The wxPython code is moving to the GRASS CVS. You should look for the newest versions there. Volunteers to help with the new GUI are welcomed!***** Cmbarton

Update 00:50, 9 August 2006 (CEST) New version will run directly from GRASS prompt with new startup script. Now put and associated files into $GISBASE/etc/gmwxp and add a new script (gm.wxp) to the $GISBASE/scripts folder. Then simply type gm.wxp& from the GRASS command prompt to get the new prototype wxPython GUI for GRASS. See instructions in today's package update. Cmbarton

Update 23:59, 7 August 2006 (CEST) New version with nearly complete raster menu by Yann Chemin. Cmbarton

Update 19:02, 7 August 2006 (CEST)I just uploaded a new version of and related files. I'll keep an archive and so am changing the link to go to the folder rather than the file itself so I won't have to keep changing the link. This update includes the following changes:

  • The biggest change in wrapping in This provides autogenerated wxPython GUI dialogs for all grass commands.

This can now be called from the command console (just type in the command name with no arguments as you do now) or the prototype menus. I updated to current wxPython syntax (mostly) and added methods to make it callable from other modules.

  • Methods added to and that automatically restart them with pythonw for the Mac

--Cmbarton 19:02, 7 August 2006 (CEST)

Initial development has begun on the next generation UI for GRASS. wxPython is the leading contender for a platform in which to continue development of the GRASS GUI. wxPython is a Python implementation of the well known wxWidgets (formerly wxWindows) interface development platform for C++. An initial demonstration was developed by Jachym Cepicky to show the possibility of controling GRASS via wxPython. A second generation prototype has been completed, building on Jachym's work. It is available for testing and further development at link above. --Cmbarton 07:15, 4 August 2006 (CEST)

Tcl/Tk GUI


Draft GUI design specifications

  • See attached file

Summary of 2005 discussions on next generation UI for GRASS

  • Attached file gives a distillation of several months of emails on the GRASS developers list. It includes a series of desired design features and specifications, along with supporting quotes.

Compiled emails from 2005 discussions on next generation UI for GRASS

  • Attached file compiles all (or all that I could find) of the late 2005 emails on the GRASS developers list discussing proposed specifications for a next generation GRASS GUI. It is a series of rtm files that group the discussions according to a series of topics.