Qt
view release on metacpan or search on metacpan
qtgui/examples/widgets/stylesheet/qss/pagefold.qss view on Meta::CPAN
opacity: 200;
}
/* Customize radio buttons. */
QRadioButton {
spacing: 5px;
}
QRadioButton::indicator {
width: 13px;
height: 13px;
}
QRadioButton::indicator::unchecked {
image: url(images/radiobutton_unchecked.png);
}
QRadioButton::indicator:unchecked:hover {
image: url(images/radiobutton_unchecked_hover.png);
}
QRadioButton::indicator:unchecked:pressed {
image: url(images/radiobutton_unchecked_pressed.png);
}
QRadioButton::indicator::checked {
image: url(images/radiobutton_checked.png);
}
QRadioButton::indicator:checked:hover {
image: url(images/radiobutton_checked_hover.png);
}
QRadioButton::indicator:checked:pressed {
image: url(images/radiobutton_checked_pressed.png);
}
/* Customize arrows. */
*::down-arrow, *::menu-indicator {
image: url(images/down_arrow.png);
width: 7px;
height: 7px;
}
*::down-arrow:disabled, *::down-arrow:off {
image: url(images/down_arrow_disabled.png);
}
*::up-arrow {
image: url(images/up_arrow.png);
width: 7px;
height: 7px;
}
*::up-arrow:disabled, *::up-arrow:off {
image: url(images/up_arrow_disabled.png);
}
/* Customize push buttons and comboboxes. Our read-only combobox
is very similar to a push button, so they share the same border image. */
QPushButton {
min-width: 4em;
}
QPushButton, QComboBox[editable="false"],
QComboBox[editable="true"]::drop-down {
border-image: url(images/pushbutton.png) 5;
border-width: 5;
}
QPushButton:hover, QComboBox[editable="false"]:hover,
QComboBox[editable="true"]::drop-down:hover, QMenuBar::item:hover {
border-image: url(images/pushbutton_hover.png) 5;
border-width: 5;
}
QPushButton:pressed, QComboBox[editable="false"]:on,
QComboBox[editable="true"]::drop-down:on, QMenuBar::item:on {
border-image: url(images/pushbutton_pressed.png) 5;
border-width: 5;
}
/* Customize read-only comboboxes. */
QComboBox[editable="false"] {
padding-left: 3px;
padding-right: 20px; /* space for the arrow */
}
QComboBox[editable="false"]::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-style: solid;
border-left-color: darkgray;
border-left-width: 1px;
}
QComboBox[editable="false"]::down-arrow {
subcontrol-origin: content;
subcontrol-position: center;
position: relative;
left: 1px; /* 1 pixel dropdown border */
}
/* The combobox arrow is on when the popup is open. */
QComboBox[editable="false"]::down-arrow:on {
position: relative;
top: 1px;
left: 2px;
}
/* Customize editable comboboxes. */
QComboBox[editable="true"] {
padding-right: 16px;
}
QComboBox[editable="true"]::drop-down {
subcontrol-origin: border;
subcontrol-position: top right;
width: 13px;
position: absolute;
top: 2px;
bottom: 2px;
right: 2px;
}
QComboBox[editable="true"]::drop-down,
QComboBox[editable="true"]::drop-down:hover,
QComboBox[editable="true"]::drop-down:on {
border-width: 0px;
border-left-width: 3px; /* we need only left and center part */
}
/* Shift the arrow when it's open. */
QComboBox[editable="true"]::down-arrow:on {
position: relative;
top: 1px;
left: 1px;
}
/* Customize check boxes. */
QCheckBox {
spacing: 5px;
}
QCheckBox::indicator {
width: 13px;
height: 13px;
}
QCheckBox::indicator:unchecked {
image: url(images/checkbox_unchecked.png);
}
QCheckBox::indicator:unchecked:hover {
image: url(images/checkbox_unchecked_hover.png);
}
QCheckBox::indicator:unchecked:pressed {
image: url(images/checkbox_unchecked_pressed.png);
}
QCheckBox::indicator:checked {
image: url(images/checkbox_checked.png);
}
QCheckBox::indicator:checked:hover {
image: url(images/checkbox_checked_hover.png);
}
QCheckBox::indicator:checked:pressed {
( run in 2.425 seconds using v1.01-cache-2.11-cpan-8f98c5d2c55 )