I create a mainwindow by inheriting QMainWindow,and on the left of the mainwindow,I create a tree throw the following code,
Qt Code:
... dock->setWidget(projecttree); addDockWidnget(Qt::LeftDockWidgetArea,dock);To copy to clipboard, switch view to plain text mode
When I run my program.I find that the initial width of projectree is large, how to change it or how to set the initial width?
Bookmarks