Implement Canvas Size Plugin
ClosedPublic

Authored by eliakinalmeida on Jun 16 2017, 5:06 AM.

Details

Summary

Improve resizeImage with offset parameters

  • I Added two new properties xOffset and yOffSet
  • I wrote properties documentation in the header
  • New methods added to .sip file
  • These properties represent the edge of the image
  • Refactoring of the resizeImage method to accept these new properties, including documentation.
  • Refactoring of the width and height properties are using resizeImage

Bugs from changes in the API

  • I added one new parameter that represents the objectId of the action to all classes that was using createAction

GUI Mockup to Canvas size plugin implemented

  • I just implemented what I defined in the mockup

Implement confirm button

  • Minimum and maximum defined to QSpingBoxs
  • QMessageBox to show messages was created
  • Method to resize all selected documents implemented

Fixes T5885

Ref T1625

Test Plan

None

Diff Detail

Repository
R37 Krita
Branch
eliakincosta/T5885-kritas-scripting-showcase
Lint
No Linters Available
Unit
No Unit Test Coverage
eliakinalmeida created this revision.Jun 16 2017, 5:06 AM
woltherav accepted this revision.Dec 7 2017, 3:18 PM
This revision is now accepted and ready to land.Dec 7 2017, 3:18 PM
woltherav closed this revision.Dec 7 2017, 3:19 PM

This was pushed :)