![]() The sections of the header view are styled using the ::section sub control. See Customizing QGroupBox for an example. The spacing property can be used to control the spacing between the text and indicator. The indicator is styled using the ::indicator subcontrol. In the case of a checkable QGroupBox, the title includes the check indicator. By default, the title is placed depending on QGroupBox::textAlignment. The title can be styled using the ::title subcontrol. Since 4.3, setting a stylesheet on a QLabel automatically sets the QFrame::frameStyle property to QFrame::StyledPanel. See Customizing QDockWidget for an example. Warning: The style sheet has no effect when the QDockWidget is undocked as Qt uses native top level windows when undocked. Supports only the background, background-clip and background-origin properties. See Customizing QComboBox for an example. ![]() The color of the placeholder text can be set using the placeholder-text-color property. By default, the arrow is placed in the center of the contents rectangle of the drop-down subcontrol. The arrow mark inside the drop-down button can be styled using the ::down-arrow subcontrol. By default, the drop-down button is placed in the top right corner of the padding rectangle of the widget. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |