displaz icon indicating copy to clipboard operation
displaz copied to clipboard

Make displaz remember settings between runs

Open c42f opened this issue 12 years ago • 3 comments

Request from Andrew Barker:

Would it be possible to make displaz retain the last used shader parameters?

I would like to be able to set a default background colour, colour mode and point radius.

c42f avatar Aug 07 '13 00:08 c42f

Having a persistent displaz window (using socket IPC at startup) might be even better for some use cases.

c42f avatar Aug 07 '13 00:08 c42f

Qt has some infrastructure for this kind of thing (as I recall) at startup and shutdown. From a user experience point of view, returned to something "as I left it" it productive, especially for a viewer.

nigels-com avatar Jun 07 '15 01:06 nigels-com

Yes, definitely use QSettings here. It's a simple matter of connecting it up to things as necessary. Getting it to work smoothly with the dynamic and user-configurable shader parameter GUI may be interesting.

c42f avatar Jun 07 '15 03:06 c42f