Important: Please read the Qt Code of Conduct -

QML Item Styling

  • Is it possible to override only one property of style, for example, combobox?

    @ComboBox {
    id: comboBox

        anchors.fill: parent
        style: ComboBoxStyle {
            label: Component {
               Text {
                    text: "Players -> " + comboBox.currentText

    In KDE this combobox looks ugly because it does not use kde theme style and uses default's one.

    ComboBox with overriden styles and without style override:

    I need to have a combobox styled like last one on this image but with custom text.

Log in to reply