Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Add an ImageTool class #1103

Open
Onetchou opened this issue Apr 24, 2024 · 0 comments
Open

Refactor: Add an ImageTool class #1103

Onetchou opened this issue Apr 24, 2024 · 0 comments

Comments

@Onetchou
Copy link
Contributor

Move the methods that are in mainwindow.cpp into an ImageTool class that will create the ImageItem and connect it to all the required slots.

There should be two constructors:

  • one that can create a brand new ImageItem from a given filename.
  • one that can create a new ImageItem from a given DraftImage object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant