| 91 | |
| 92 | ==== June 13 - June 17 ==== |
| 93 | |
| 94 | The 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 | |
| 96 | Completely 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 | |
| 98 | Float coords is lineedit. |
| 99 | |
| 100 | When the string has values, it's editable combobox with implemented values. |
| 101 | |
| 102 | Nearly 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 | |
| 104 | For 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 | |
| 106 | I'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)]] |