| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=UNPLANNED_MAIN_WINDOW_REFACTORING_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | = Analysis = |
| 6 | This is a redesign/refactoring task and its analysis is deliberately not detailed. Most of the things to be done as part of this task will become clear in the design. |
| 7 | |
| 8 | == Overview == |
| 9 | This task is about clearing up the design and hierarchy of the application main window. After this iteration we should have no redundancy in the AppMainWindow class and classes related to it. Logics and firing events should also be well and clearly defined (which elements fire which events, who handles them). |
| 10 | |
| 11 | == Task requirements == |
| 12 | * Clean up the hierarchy of the main window (including sub-classes, methods, etc.). |
| 13 | * Clean up all events fired/handled by the main window and related classes. |
| 14 | |
| 15 | == Task result == |
| 16 | Source code. |
| 17 | |
| 18 | == Implementation idea == |
| 19 | * Get rid of the DocumentsDesktop class and move the logic for the books desktop down to the layout (a desktop book should not be recognized as a different book by the main window). |
| 20 | * There are some reader classes which are redundant - probably they can also be removed. |
| 21 | |
| 22 | == Related == |
| 23 | GROUP_BOOK_MODEL_REDESIGN_R0 |
| 24 | |
| 25 | == How to demo == |
| 26 | This is a task related to internals. It won't be demonstrated. |
| 27 | |
| 28 | = Design = |
| 29 | ^Describe your design here. |
| 30 | |
| 31 | = Implementation = |
| 32 | ^Describe and link the implementation results here (from the wiki or the repository). |
| 33 | |
| 34 | = Testing = |
| 35 | ^Place the testing results here. |
| 36 | |
| 37 | = Comments = |
| 38 | ^Write comments for this or later revisions here. |