How to determine the qml style of a GroupBox header

    GroupBox {
        title: qsTr("I want to change my style")

        Layout.fillWidth: true
    }

I want to change the color or size of the title

+3
source share
1 answer

Use setForegroundRole (QPalette :: ColorRole role) to change the color of the header or setFont (const QFont and) to change the font size.

0
source

All Articles