Atelier Aware if a file is modified on close/ print

Authored by rizzitello on Jul 8 2018, 5:37 PM.

Description

Atelier Aware if a file is modified on close/ print

Summary:

  • GCodeEditor::modifiedFiles to return list of modified files
  • GCodeEditor::Save to allow for saving.
  • New Icons for several new actions
  • Ask to save if files open in gcodeview unsaved and closing.
  • Ask to save if trying to print a file that was modified

Test Plan:
Open files modify them close atelier.
you should see prompts telling you to you have modified some files and test the buttons.

Open a file connect to printer modified file attempt to print before saving.
You should see A prompt asking you to save you modified file before printing (try the buttons to check their functions.

Reviewers: laysrodrigues, tcanabrava, patrickelectric, leandrosantiago

Reviewed By: laysrodrigues, tcanabrava, patrickelectric

Subscribers: leandrosantiago, Atelier: General Development

Tags: Atelier: General Development

Differential Revision: https://phabricator.kde.org/D13978

Merged Changes

CommitAuthorDetailsCommitted
2d8e2bfa8451D13978rizzitello
Ask to save if trying to print a file that was modified 
Jul 18 2018
c111dc46a1b3D13978rizzitello
Ask to save if files open in gcodeview unsaved 
Jul 18 2018
695c8df89230D13978rizzitello
Add Icons for several new actions 
Jul 18 2018
630c3b0e4e3eD13978rizzitello
Add public Save File 
Jul 18 2018
8c75b2e1f035D13978rizzitello
Add modifiedFiles to return list of modified files 
Jul 16 2018