You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to hide the titlebar from a DockWidget. Also, another question regarding creating a custom titlebar for the DockWidget. I did find out about creating a custom ViewFactory and then overriding the createTitlebar() function but got confused. I basically want to add/remove buttons from the titlebar.
The text was updated successfully, but these errors were encountered:
See ./bin/qtwidgets_dockwidgets -p for styling titlebar (you can even have a titlebar with 0px height), basically in createTitleBar() you return your own TitleBar subclass, and put inside whatever you like
Thank you for suggesting the examples. I have looked into these before. Unlike the ./bin/qtwidgets_dockwidgets -p program I want to style the right side part of the titlebar which contains the buttons for closing and docking. I want to add buttons of my own in this section.
I want to hide the titlebar from a DockWidget. Also, another question regarding creating a custom titlebar for the DockWidget. I did find out about creating a custom ViewFactory and then overriding the
createTitlebar()
function but got confused. I basically want to add/remove buttons from the titlebar.The text was updated successfully, but these errors were encountered: