How to customize tittle bar of QMdiSubWindow with QStyleOptionTitleBar?

  • Hi i in my program have a QMdiarea, when the user
    clik on new file, a QMdiSubWindow is added.

    Inside the QMdiSubWindow is a Qmainwindow because need another menu an Qtoolbar

    So the question is
    how can change the QMdiSubWindow tittle bar, Or the child Qmainwindow

    I want one with a slim tittle and a little close button.
    Also want to customize the color of border and tittle background.

    I know that exist QStyleOptionTitleBar but dont find any sample.
    and the sample
    only change interior apearence.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.