![]() ![]() The drop-down button can be styled using the ::drop-down subcontrol. The frame around the combobox can be styled using the box model. The arrow indicators can by styled using the ::left-arrow subcontrol and the ::right-arrow subcontrol. The grip can be styled be using the image property. See Customizing QCheckBox for an example. The spacing property specifies the spacing between the check indicator and the text. By default, the indicator is placed in the Top Left corner of the Contents rectangle of the widget. The check indicator can be styled using the ::indicator subcontrol. ![]() See Customizing QAbstractScrollArea for an example. Setting the background-attachment to scroll, scrolls the background-image when the scroll bars move. Setting the background-attachment to fixed provides a background-image that does not scroll with the viewport. All derivatives of QAbstractScrollArea, including QTextEdit, and QAbstractItemView (all item view classes), support scrollable backgrounds using background-attachment.
0 Comments
Leave a Reply. |