Changes between Version 41 and Version 42 of GSoC/2016/PyQtGUI


Ignore:
Timestamp:
Jun 18, 2016, 7:03:54 AM (8 years ago)
Author:
pesekon2
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/2016/PyQtGUI

    v41 v42  
    8989[[Image(gui3.PNG)]]
    9090[[Image(gui3.2.PNG)]]
     91
     92  ==== June 13 - June 17 ====
     93
     94The Run button really runs (but still not with flags). It's still the only button with any function. Also the code-string on the bottom of GUI was recreated. Now it's just one (only readable) textedit. When the string is too long, you will get the scrollbar.
     95
     96Completely retyped code in parameters.py. Now it works like Factory. Factory is dynamically creating the list of methods classes with canHandle method and the called class depends on the values in this method. It means that there are not so many "ifs" and the code is better readable. And those classes return "self" instead of method get().
     97
     98Float coords is lineedit.
     99
     100When the string has values, it's editable combobox with implemented values.
     101
     102Nearly last thing: I implemented the !TreeComboBox for inouts/outputs. Both raster and vector. It works very similarly to the one in old GUI. Mapset is parent and then you have many children to choose. It's in gselect.py and in parameters.py is just the class inheriting it from gselect with added canHandle method. It's much readable for anyone than just directing program elsewhere.
     103
     104For not implemented thing I use lineedit (because You can write there anything manually). Now I highlight it with red colour and word TODO in GUI. It's just for me and will not be in the real version.
     105
     106I'm sorry but at June the 27th, I have my bachelor final exams at school so I won't be able to do anything related to GSoC in next week (I really have to learn something before exams). I have done everything in my timeline for next week so I hope it's okay. Thanks.
     107
     108[[Image(gui4.1.PNG)]]
     109[[Image(gui4.2.PNG)]]
     110[[Image(gui4.3.PNG)]]