-
Notifications
You must be signed in to change notification settings - Fork 52
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
Fast edit feature - Enhancement #109
Comments
👍 a few thought on those "steps":
Back on the
About the implementation, I think that following the QT model/view here is a pain in the , mainly because QT M/V framework is build on indexed data, in my opinion the way to approach this is to create some wrappers that use the widgets "change signals" to update the properties, we may be also able to have two-way binding (if the property change the widget is updated and vice versa) |
Thanks for your thoughts. About 3) : About 4) : About 5) : About Qt's M/V, indeed, working with it is a pain. |
Not really, but qt already have a build-in undo/redo for most input-widgets, I don't think it suit our needs, and it might instead conflict, see qt-bug
Yes, this is why I talk about ListView made me think ... if we want to have an underling qt model, we can be able to have a custom model that maps cue-properties to model-indexes without really caring for the effective index (column) of a property, the model will then get the data from the cue objects |
Just throwing some ideas, they probably need some more thought, especially the qt-model one |
As I already proposed, I think a "fast edit" feature should be added in LiSP.
I did some work in this direction with #79, which is usable but far from being satisfying. Both because it does'nt reach the usability I aspire to, and because the implementation is creepy.
I open this issue to disscuss the what and the how. It may be seen more as a roadmap/guideline as I know this involve a lot of work.
In my opinion, the feature should go as following :
I know this involve big work, more than probably complete rewrite of the "Settings Pages" Widgets. But in my opinion, it's really worth it.
About the implementation, I'm not experienced enough in coding to have the solution in mind. I will continue experimenting as soon as I have free time again.
For the time beeing, using Qt's QWidgetMapper (http://doc.qt.io/qt-5/qdatawidgetmapper.html#details) seem a good lead. It involve of course a custom Qt model to store the properties, or at least some kind of wrapper around current way of dealing with that.
But I have to confess that I'm far from having a good enough understanding of the Qt's Model/View Framework.
Any idea/feedback are more than welcome.
The text was updated successfully, but these errors were encountered: