Reputation: 4991
Is there a good example or complete code for Qt Designer (creator) widget box like widget with QWidget or QFrame within? So it should work like QToolBox or QTabWidget but be expandable: possible to view few pages (widgets) at a time, not single one like QToolBox or QTabWidget or QStackedWidget provide.
Or need to write myself using QTreeWidget for example? Need same look and feel with same root decoration on category button (or panel) in in Qt Creator or with line like following:
+ ——- Category 1 ————
widgets
widgets
+ ——- Category 2 ————
widgets
widgets
etc
If it exists with plugin to Qt Creator - even better.
Upvotes: 2
Views: 2208
Reputation: 4991
Created sample widget and plugin for Qt Designer, put it on GitHub if somebody else need this and want to improve: https://github.com/akontsevich/WidgetBox. It is ready for using however some points good to have improved:
Style category button (or panel) closer to Qt Creator (Designer) look or like to LibreOffice Writer Properties Tool Box on the right side
Fix isPageExpanded propery change in Qt Designer
Hope for community participation or suggestions on these improvements.
Sample screenshots of current state:
Upvotes: 3