-
Notifications
You must be signed in to change notification settings - Fork 272
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
Iss575: Copy, move, reverse or delete range of frames #1106
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it took a few more days than I’d originally hoped when you asked me earlier this week but here we go (finally). As before, there’s a lot of cosmetic or minor stuff and also a lot of stuff that I found more than once, thus the high number of comments.
One additional thing that I’ve noticed is that the layout of the dialog is kind of inconsistent (in regard to margins, sizes of the widgets etc.). It’d be cool if you could go over that and make it consistent. From a quick glance, it seems that one cause is the use of different layouts ([HV]Box vs Grid).
Lastly, I feel like I should point out that even with the remaining issues this is already in a state where I feel that, as far as I can judge, it has earned its place in the program. The only thing that’s left now is only the final touch.
Ok @J5lx and @candyface . I have made the requested changes - I think. |
There are some of your change requests that I haven't done @J5lx . It is the member variables in the CopyMultipleKeyFramesDialog.cpp at setStartEnd(int method).
So I use mCopyStart - but I could have used ui->sBoxStartFrame->value(), like I do in line 4. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
A thought a little about this and actually I don’t think it’s a big difference whether we use one or the other. Personally, I tend slightly towards using the spinbox values directly everywhere, but in the end what really matters is that it’s consistent. Also, as mentioned in chat, there are a few things you seem to have missed (see unresolved conversations above). |
The last requests have been fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We’re getting there! 👍 See also davidlamhauge#4. I also noticed you completely removed those kf == nullptr lines while @candyface suggested Q_CHECK_PTR, is that intentional?
About the nullptr, CandyFace wrote that they could also be removed. I chose that. |
Alright, I just wanted to make sure it was a conscious decision and not an oversight. So as far as I am concerned all that’s missing now is for davidlamhauge#4 to get merged (it’s a PR on your own repo, so feel free to merge as you see fit). |
pencil2d#1106: Doxygen comments + dialog layout
Oh yeah... I thought I had merged it, but I had only approved it, so now there were merge conflicts. I sorted it out. |
Most of this functionality has since been added in #1343, so I’m closing this PR as we discussed on Discord. |
Very flexible tool, that will save a ton of work.
If not used carefully, it can damage originals. Warnings are issued at the OK-button, in such cases.