For example,
QLayout* lo = btn.???();Qt Code:
QHBoxLayout mainHLayout; QPushButton btn; mainHLayout.addWidget(&btn);To copy to clipboard, switch view to plain text mode
After adding a widget to the layout, how can I find out the layout , it seems that there's no such a member in QWidget?
Bookmarks