taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Nest container in Taurus guis #928

Open gjover opened 5 years ago

gjover commented 5 years ago

It would be nice to group widgets in TaurusGUIs and be possible to have the groups as floating pannels.

May be one could have a container as standard panel in Taurus GUIs. In that way it would be possible to nest panels and widgets

cpascual commented 5 years ago

The current implementation of the panels is via QDockWidgets (essentially a "panel" is a QDockwidget). This does not offer grouping possibilities, AFAIK.

As possible workarounds/alternatives, consider the following:

Maybe the QSplitter solution could be implemented in a generic way and incorporated to taurus if there is enough interest (but I expect difficulties if one wants to make it very dynamic, as in wanting to be able to move widgets in and out of the splitter at run time)