How to create a parent button with child buttons in Designer?
-
I'm trying to create parent buttons with child buttons in Designer but I'm finding it difficult .When the parent button is expanded it shows all the child buttons under that parent buttons as shown i the picture below. I would appreciate any help,Thanks in advanced.
-
@LT-K101 https://doc.qt.io/qt-6/qtreeview.html
Also, using the word "button" is confusing - what you're showing has nothing to do with buttons... -
@LT-K101
You are not "new to Qt", you have made nearly 200 posts in over a year!I don't know what " the correct widget that does that" means to you. You show a tree view with "parent" and "child" icons, then you say you're " finding it difficult". You have the opportunity to explain what you are actually looking for, we are not mind readers. I don't know what you want, maybe someone else can tell from what you have written....
-
@LT-K101 said in How to create a parent button with child buttons in Designer?:
@JonB I took the image I posted from sqlite browser and wanted to mimic it in my App I'm building. I have not implemented it yet.
Since you didn't explain that, I had no idea it was an image from another application which you wanted to emulate! I assumed you were showing a
QTreeView
/QTreeWidget
you had already created in your Qt application!