Implement Ten Scripts Plugin
ClosedPublic

Authored by eliakinalmeida on Aug 12 2017, 6:29 PM.

Details

Summary

Implement QFileDialog to form button

  • Getting sender to find the index of the button
  • The QLine edit is found and the filePath is setted
  • Filter to .py extension

Implement GridLayout to ScriptDocker

Implement writeSettings to ScriptDocker

Implement Ten Scripts Plugin

  • Reimplement ScriptDocker with pre-fixed actions
  • Rename plugin
  • Update description
  • Plugin implemented like an extension

Ten Scripts Refactoring

  • Added xml actions
  • Method to fill ten rows on gridlayout implemented
  • loadActions method implemented
  • some methods moved to UITenScripts

Ten scripts plugin saving settings

  • Saving list of script to settings file
  • tenscripts.action registered on CMakeList
  • Code refactoring to better separation of concerns on tenscripts extension

Ten Scripts plugin working properly

  • Fill grid with saved scripts
  • Fixed CMakeList.txt
  • Implemented _executeScript method
  • Implemented showMessage method
  • Removed unnecessary imports
  • Changed name of variable to avoid the name of buitin function

Fixes T5885

Ref T1625

Test Plan

You can open ten scripts plugin and assign a python script to one of the ten slot. Just press the shortcut when a document is active.

Diff Detail

Repository
R37 Krita
Branch
eliakincosta/T5885-kritas-scripting-showcase
Lint
No Linters Available
Unit
No Unit Test Coverage
eliakinalmeida created this revision.Aug 12 2017, 6:29 PM
woltherav accepted this revision.Dec 7 2017, 3:01 PM
This revision is now accepted and ready to land.Dec 7 2017, 3:01 PM
woltherav closed this revision.Dec 7 2017, 3:02 PM

This was pushed :)