pydm icon indicating copy to clipboard operation
pydm copied to clipboard

Ability to group widgets

Open slactasha opened this issue 2 years ago • 1 comments

What's the problem this feature will solve? It would be convenient to be able to group widgets (like in EDM or powerpoint), and to be able to perform actions on them like assign macros, or add rules (e.g. visibility/enable).

Describe the solution you'd like Highlight or select a number of widgets and select 'group' (or 'ungroup') from context menu. From Properties or configuration window for group be able to set rules, macros, etc.

slactasha avatar Mar 01 '22 21:03 slactasha

Our hands are largely tied by Qt Designer, and what it lets you do.

For things like bulk visibility and enable rules, you can put a whole bunch of widgets inside a PyDMFrame (you can set the properties on the frame to make it invisible), then put a visibility/enable rule on the Frame. The child widgets will be affected by the rule on the frame.

mattgibbs avatar Mar 01 '22 21:03 mattgibbs