Greetings,
Idea is to have something like:
> File
.........New
.........Save
>Edit
.........Cut
I have:
This is not giving me anything.Qt Code:
int main( int argc, char *argv[] ) { ......... QStandardItemModel model; file_item->setChild(1, new_); parentItem0 = file_item; parentItem0->appendRow( file_item ); .......... }To copy to clipboard, switch view to plain text mode
What is the way to add child items to parent items?
Bookmarks