QSS and QWebView



  • It is possible to customize the elements in the WebView using QSS?

    I'm trying to modify the style of the QComboBox is that the QWebView, but has no effect.

    I could only change the selector QAbstractItemView{}.

    I tried the following but did not work:
    @ QComboBox { ... }
    QComboBox::item { ... }

    QListView { ... }
    QListView::item { ... }
    
    QAbstractItemView { ... }
    QAbstractItemView::item { ... }
    
    QAbstractScrollArea { ... }
    QAbstractScrollArea::item { ... }
    
    QComboBox::drop-down { ... }
    
    QComboBox::drop-down:button { ... }@

Log in to reply
 

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