Aleksey Kontsevich
Aleksey Kontsevich

Reputation: 4991

Qt Designer (creator) widget box like widget

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.

enter image description here

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

Answers (1)

Aleksey Kontsevich
Aleksey Kontsevich

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:

Hope for community participation or suggestions on these improvements.

Sample screenshots of current state:

enter image description here enter image description here

Upvotes: 3

Related Questions