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

Allow resetting overridden properties individually for template instances #1725

Open
bjorn opened this issue Sep 6, 2017 · 4 comments
Open
Labels
feature It's a feature, not a bug.

Comments

@bjorn
Copy link
Member

bjorn commented Sep 6, 2017

While it is currently possible to reset a template instance entirely, it should be possible to reset properties like name, type, size and rotation individually. This could be achieved by a small button in the Properties view for each property.

In addition it would be nice to highlight overridden properties (in bold for example).

Note that Qt Designer is doing both these things (featuring a reset button and highlighting changed properties in bold), so its source may give some idea of how to implement this.

A reset button is also already implemented for color properties, though I'm not sure how suitable its implementation is for this case.

@bjorn bjorn added the feature It's a feature, not a bug. label Sep 6, 2017
@bjorn
Copy link
Member Author

bjorn commented Sep 6, 2017

@thabetx Did I understand correctly that you already made some progress on this?

@thabetx
Copy link
Contributor

thabetx commented Sep 6, 2017

@bjorn I didn't plan to implement this feature, but I've experimented with the property browser when I was working on locking properties.

@bjorn bjorn mentioned this issue Sep 6, 2017
@UliAbo
Copy link

UliAbo commented Aug 9, 2022

Is this task here done and can be closed? As we have the Reset buttons now?

@bjorn
Copy link
Member Author

bjorn commented Aug 11, 2022

Is this task here done and can be closed? As we have the Reset buttons now?

No, this task is not done because it's not talking about custom properties, but "properties like name, type, size and rotation". It refers to the "Reset Template Instance(s)" context menu action, which resets a template instance entirely, where it's not possible to just reset its rotation, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

3 participants