In this review two new action was added for the editor, New and Save.
- Save Action
- In the case of a new document will open a QFileDialog to create a new file and fill a new document.
- If exist a active document the ui doc is compared with the document(Document Controller).
- A new label was added in the bottom to represents the actual file path or untitled for not saved files.
- New Action
- It opens a new QMessageBox with options to Save the old document, discard or cancel the operation.
- The Save option will invoke the save action towards UIControlle instance and create a new empty document.
- Discards option will clean the document and the Editor in the UI.
- Cancel will avoid the all previous operations.
Fixes T4551
Ref T1625