roskakori / cutplace

validate data stored in CSV, PRN, ODS or Excel files
http://cutplace.readthedocs.org/
GNU Lesser General Public License v3.0
18 stars 20 forks source link

Add graphical user interface #77

Closed roskakori closed 9 years ago

roskakori commented 9 years ago

The current graphical user interface is broken (mostly caused by the migration to Python 3 with #56). Instead of fixing it, it seems prudent to investigate possible improved solutions, e.g.:

This possibly obsoletes #10: Add test case for web validation.

roskakori commented 9 years ago

Implementation note:

  set PYTHONPATH=C:\Users\me\workspace\cutplace
  python -m cutplace._cutplace --gui
roskakori commented 9 years ago

@butterhirsch: as discussed yesterday I changed the CID-PATH command line option to be optional provided that --gui has been specified.

roskakori commented 9 years ago

Usability improvements:

from cutplace import __version__

Also add a status message during validation that shows how many rows have been processed every 3 seconds.

roskakori commented 9 years ago

@butterhirsch: I did a little testing with Mac OS X 10.10, this is what the GUI currently looks like: image Apparently this needs some rework ;-)

I'm going to look into it, supposedly using the grid geometry manager will fix this.

roskakori commented 9 years ago

@butterhirsch: The dialog now uses the grid geometry manager however it is no longer resizeable. Getting grids to resize properly seems to be a non trivial task with tk... A few hints on this can be found at http://stackoverflow.com/questions/10464928/tk-grid-wont-resize-property but this still didn't help.

roskakori commented 9 years ago

The current incarnation of the GUI is live starting with 0.8.6. There room for improvement but for now we can consider this done.