Then why don't you use QMainWindow instead of QWidget as your base class?
Then why don't you use QMainWindow instead of QWidget as your base class?
I found how to solve itthis is what i needQt Code:
vbox->addWidget(toolBar); vbox->setContentsMargins(0,0,0,0); vbox->setSpacing(0); setLayout(vbox);To copy to clipboard, switch view to plain text mode![]()
Bookmarks