You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Widgets: It can be the child of a slot and it can be attached/detached between different slots
Right now the splitter is a really usable widget and it allows the user to create dynamic layouts by adding/removing slots using 3 basic options (split horizontally, split vertically, resizing the slot), it's a really flexible widget and is UI friendly.
That said, SublimeText splitter has really cool features you could borrow to make the current widget even more flexible:
Create layouts, one layout is a certain state of the splitter. Example1, Example2.
Moving slots around by dragging them with the mouse or by using shortcuts. Example3
Once you're using the concept of layout, the editor can save/restore the state of a layout at startup.
I think these features boost up coding productivity as you can easily switch between layouts when you're coding multiple components and you've got a general view of all parts of a task. For instance, if you're coding a standalone widget 1 window is good enough, if you're coding a widget with 1 single dependency 1x1, code from different packages layout mxn.
Some basic notation first:
Right now the splitter is a really usable widget and it allows the user to create dynamic layouts by adding/removing slots using 3 basic options (split horizontally, split vertically, resizing the slot), it's a really flexible widget and is UI friendly.
That said, SublimeText splitter has really cool features you could borrow to make the current widget even more flexible:
I think these features boost up coding productivity as you can easily switch between layouts when you're coding multiple components and you've got a general view of all parts of a task. For instance, if you're coding a standalone widget 1 window is good enough, if you're coding a widget with 1 single dependency 1x1, code from different packages layout mxn.
Here's some code that could help to improve the current splitter, code based on https://stackoverflow.com/questions/47267195/in-pyqt4-is-it-possible-to-detach-tabs-from-a-qtabwidget:
DetachableTab.py
from PyQt5.Qt import * # noqa
The text was updated successfully, but these errors were encountered: