Originally Posted by vql Please tell me popular functions I need to implement them. If I want to draw the title bar manually, I will code it in which function? Thanks. QDockWidget QDockWidget::setTitleBarWidget
Originally Posted by pherthyl QDockWidget QDockWidget::setTitleBarWidget No. I want add more buttons in the titlebar, ie button AutoHide ... Please tell me the popular functions of QDockWidget I need to overwrite. Thanks.
Originally Posted by vql No. I want add more buttons in the titlebar, ie button AutoHide ... Please tell me the popular functions of QDockWidget I need to overwrite. Thanks. Well create your titlebar widget to contain whatever buttons you want (Autohide or whatever) and then add it with setTitleBarWidget I don't see the problem..
vql (18th November 2007)
Forum Rules
Bookmarks