snu-quiqcl / qiwis

QuIqcl Widget Integration Software
MIT License
5 stars 2 forks source link

Support a central widget #205

Closed BECATRUE closed 10 months ago

BECATRUE commented 11 months ago

Currently, we can add an app into only four positions; top, left, right, bottom.

However, I think we need a central widget, such as a builder in the artiq-dashboard.

image

Thus, the central position will be supported in this issue.

kangz12345 commented 11 months ago

Then the central widgets will initially not be docked, right?

BECATRUE commented 11 months ago

Then the central widgets will initially not be docked, right?

Yes, I envisioned it as you said.

BECATRUE commented 11 months ago

I checked the ARTIQ dashboard, and I realized that the cental widget CANNOT move into a dock widget. Is it okay? @kangz12345

kangz12345 commented 11 months ago

Oh really? Okay if we make a clear definition for those floating-only frame type!

BECATRUE commented 11 months ago

As Jiyong and I discussed, we decided to use QMdiArea as the central widget and each floating widget is wrapped by QMdiSubWinow.