Revision 175:741f88f51b06 vect.qss
| vect.qss | ||
|---|---|---|
| 19 | 19 |
QWidget |
| 20 | 20 |
{
|
| 21 | 21 |
background: #333333; |
| 22 |
color: #FAFAFA; /* undocumented, but it works, and it's necessary */
|
|
| 22 |
color: #FAFAFA; |
|
| 23 | 23 |
} |
| 24 | 24 |
|
| 25 | 25 |
QDialog |
| ... | ... | |
| 27 | 27 |
background-color: #333333; |
| 28 | 28 |
} |
| 29 | 29 |
|
| 30 |
|
|
| 31 |
/* QToolBar |
|
| 32 |
|
|
| 33 |
Supports the box model. The :top, :left, :right, :bottom pseudo states |
|
| 34 |
depending on the area in which the tool bar is grouped. The :first, :last, |
|
| 35 |
:middle, :only-one pseudo states indicator the position of the tool bar within a |
|
| 36 |
line group (See QStyleOptionToolBar::positionWithinLine). The separator of a |
|
| 37 |
QToolBar is styled using the ::separator subcontrol. The handle (to move the |
|
| 38 |
toolbar) is styled using the ::handle subcontrol. */ |
|
| 39 |
|
|
| 40 |
/* Toolbars use gradient backgrounds that must be light enough to allow contrast |
|
| 41 |
* with black icons. Top/bottom and left/right require different gradients to |
|
| 42 |
* get the proper look. |
|
| 43 |
*/ |
|
| 44 |
QToolBar:top, |
|
| 45 |
QToolBar:bottom |
|
| 30 |
QToolBar |
|
| 46 | 31 |
{
|
| 47 | 32 |
background-color: #333333; |
| 48 | 33 |
} |
| 49 | 34 |
|
| 50 |
QToolBar:left, |
|
| 51 |
QToolBar:right |
|
| 52 |
{
|
|
| 53 |
background-color: #333333; |
|
| 54 |
} |
|
| 55 |
|
|
| 56 |
/* Toolbars must be light enough for black icons, therefore black text on their |
|
| 57 |
* QLabels, rather than white, is more appropriate. |
|
| 58 |
*/ |
|
| 59 |
QToolBar:top QLabel, |
|
| 60 |
QToolBar:bottom QLabel |
|
| 61 |
{
|
|
| 62 |
background-color: transparent; |
|
| 63 |
color: #000000; |
|
| 64 |
} |
|
| 65 |
|
|
| 66 | 35 |
QToolBar::handle:top, |
| 67 | 36 |
QToolBar::handle:bottom |
| 68 | 37 |
{
|
| 69 | 38 |
image: url(:icons/style/htoolbar-separator.png); |
| 70 | 39 |
} |
| 71 | 40 |
|
| 72 |
QToolBar::handle:left, |
|
| 73 |
QToolBar::handle:right |
|
| 74 |
{
|
|
| 75 |
image: url(:icons/style/vtoolbar-separator.png); |
|
| 76 |
} |
|
| 77 |
|
|
| 78 | 41 |
QFrame#BottomFrame, |
| 79 | 42 |
QFrame#BottomFrame > QFrame |
| 80 | 43 |
{
|
| 81 | 44 |
background-color: #333333; |
| 82 | 45 |
} |
| 83 | 46 |
|
| 84 |
/* QLabel |
|
| 85 |
|
|
| 86 |
Supports the box model. Does not support the :hover pseudo-state. Since 4.3, |
|
| 87 |
setting a stylesheet on a QLabel automatically sets the QFrame::frameStyle |
|
| 88 |
property to QFrame::StyledPanel. */ |
|
| 89 |
|
|
| 90 | 47 |
QLabel |
| 91 | 48 |
{
|
| 92 | 49 |
background: transparent; |
| 93 | 50 |
color: white; |
| 94 | 51 |
} |
| 95 | 52 |
|
| 96 |
/* QMenu |
|
| 97 |
|
|
| 98 |
Supports the box model. Individual items are styled using the ::item |
|
| 99 |
subcontrol. In addition to the usually supported pseudo states, item subcontrol |
|
| 100 |
supports the :selected, :default, :exclusive and the non-exclusive pseudo |
|
| 101 |
states. The indicator of checkable menu items is styled using the ::indicator |
|
| 102 |
subcontrol. The separator is styled using the ::separator subcontrol. For |
|
| 103 |
items with a sub menu, the arrow marks are styled using the right-arrow and |
|
| 104 |
left-arrow. The scroller is styled using the ::scroller. The tear-off is |
|
| 105 |
styled using the ::tear-off. */ |
|
| 106 |
|
|
| 107 | 53 |
QMenu |
| 108 | 54 |
{
|
| 109 | 55 |
background-color: #EEEEEE; |
| ... | ... | |
| 120 | 66 |
|
| 121 | 67 |
QMenu::item:enabled |
| 122 | 68 |
{
|
| 123 |
/* sets background of menu item. set this to something non-transparent |
|
| 124 |
if you want menu color and menu item color to be different */ |
|
| 125 | 69 |
background-color: transparent; |
| 126 | 70 |
color: #000000; |
| 127 | 71 |
padding: 2px 25px 2px 20px; |
| ... | ... | |
| 137 | 81 |
min-width: 12em; /* leaves room for space between item and hotkey */ |
| 138 | 82 |
} |
| 139 | 83 |
|
| 140 |
/* Menu selection background color |
|
| 141 |
*/ |
|
| 142 | 84 |
QMenu::item:selected |
| 143 | 85 |
{
|
| 144 | 86 |
background-color: #80AFFF; |
| 145 | 87 |
color: #FFFFFF; |
| 146 | 88 |
} |
| 147 | 89 |
|
| 148 |
/* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ |
|
| 149 |
/* |
|
| 150 |
QMenu::indicator:non-exclusive:unchecked |
|
| 151 |
{
|
|
| 152 |
image: url(:icons/style/checkbox_unchecked.png); |
|
| 153 |
} |
|
| 154 |
|
|
| 155 |
QMenu::indicator:non-exclusive:unchecked:selected |
|
| 156 |
{
|
|
| 157 |
image: url(:icons/style/checkbox_unchecked_hover.png); |
|
| 158 |
} |
|
| 159 |
|
|
| 160 |
QMenu::indicator:non-exclusive:checked |
|
| 161 |
{
|
|
| 162 |
image: url(:icons/style/checkbox_checked.png); |
|
| 163 |
} |
|
| 164 |
|
|
| 165 |
QMenu::indicator:non-exclusive:checked:selected |
|
| 166 |
{
|
|
| 167 |
image: url(:icons/style/checkbox_checked_hover.png); |
|
| 168 |
} |
|
| 169 |
*/ |
|
| 170 |
|
|
| 171 |
/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ |
|
| 172 |
/* |
|
| 173 |
QMenu::indicator:exclusive:unchecked |
|
| 174 |
{
|
|
| 175 |
image: url(:icons/style/radiobutton_unchecked.png); |
|
| 176 |
} |
|
| 177 |
|
|
| 178 |
QMenu::indicator:exclusive:unchecked:selected |
|
| 179 |
{
|
|
| 180 |
image: url(:icons/style/radiobutton_unchecked_hover.png); |
|
| 181 |
} |
|
| 182 |
|
|
| 183 |
QMenu::indicator:exclusive:checked |
|
| 184 |
{
|
|
| 185 |
image: url(:icons/style/radiobutton_checked.png); |
|
| 186 |
} |
|
| 187 |
|
|
| 188 |
QMenu::indicator:exclusive:checked:selected |
|
| 189 |
{
|
|
| 190 |
image: url(:icons/style/radiobutton_checked_hover.png); |
|
| 191 |
} |
|
| 192 |
*/ |
|
| 193 |
/* QCheckBox |
|
| 194 |
|
|
| 195 |
Supports the box model. The check indicator can be styled using the ::indicator |
|
| 196 |
subcontrol. By default, the indicator is placed in the Top Left corner of the |
|
| 197 |
Contents rectangle of the widget. The spacing property specifies the spacing |
|
| 198 |
between the check indicator and the text. */ |
|
| 199 |
|
|
| 200 | 90 |
QCheckBox:enabled QLabel, |
| 201 | 91 |
QCheckBox:enabled |
| 202 | 92 |
{
|
| ... | ... | |
| 280 | 170 |
image: url(:icons/style/checkbox_indeterminate_pressed.png); |
| 281 | 171 |
} |
| 282 | 172 |
|
| 283 |
/* QRadioButton |
|
| 284 |
|
|
| 285 |
Supports the box model. The check indicator can be styled using the ::indicator |
|
| 286 |
subcontrol. By default, the indicator is placed in the Top Left corner of the |
|
| 287 |
Contents rectangle of the widget. The spacing property specifies the spacing |
|
| 288 |
between the check indicator and the text. */ |
|
| 289 |
|
|
| 290 | 173 |
QRadioButton:enabled QLabel, |
| 291 | 174 |
QRadioButton:enabled |
| 292 | 175 |
{
|
| ... | ... | |
| 365 | 248 |
image: url(:icons/style/radiobutton_checked_pressed_disabled.png); |
| 366 | 249 |
} |
| 367 | 250 |
|
| 368 |
/* QMenuBar |
|
| 369 |
|
|
| 370 |
Supports the box model. The spacing property specifies the spacing between menu |
|
| 371 |
items. Individual items are styled using the ::item subcontrol. */ |
|
| 372 |
|
|
| 373 | 251 |
QMenuBar |
| 374 | 252 |
{
|
| 375 | 253 |
background-color: #404040; |
| ... | ... | |
| 383 | 261 |
color: #FFFFFF; |
| 384 | 262 |
} |
| 385 | 263 |
|
| 386 |
/* Selected item background |
|
| 387 |
*/ |
|
| 388 | 264 |
QMenuBar::item:selected |
| 389 | 265 |
{
|
| 390 | 266 |
background-color: #80AFFF; |
| ... | ... | |
| 393 | 269 |
|
| 394 | 270 |
QMenuBar::item:pressed |
| 395 | 271 |
{
|
| 396 |
/* background: #EEEEEE;*/ |
|
| 397 | 272 |
background-color: #BBCEFF; |
| 398 | 273 |
} |
| 399 | 274 |
|
| 400 |
|
|
| 401 |
/* QMessageBox |
|
| 402 |
|
|
| 403 |
The messagebox-text-interaction-flags property can be used to alter the |
|
| 404 |
interaction with text in the message box. */ |
|
| 405 |
|
|
| 406 | 275 |
QMessageBox |
| 407 | 276 |
{
|
| 408 | 277 |
background: #000000; |
| 409 | 278 |
} |
| 410 | 279 |
|
| 411 |
|
|
| 412 |
|
|
| 413 |
/* QProgressBar |
|
| 414 |
|
|
| 415 |
Supports the box model. The chunks of the progress bar can be styled using the |
|
| 416 |
::chunk subcontrol. The chunk is displayed on the Contents rectangle of the |
|
| 417 |
widget. If the progress bar displays text, use the text-align property to |
|
| 418 |
position the text. Indeterminate progress bars have the :indeterminate pseudo |
|
| 419 |
state set. */ |
|
| 420 |
|
|
| 421 | 280 |
QProgressBar |
| 422 | 281 |
{
|
| 423 | 282 |
border: 1px solid #AAAAAA; |
| ... | ... | |
| 432 | 291 |
width: 20px; |
| 433 | 292 |
} |
| 434 | 293 |
|
| 435 |
|
|
| 436 |
/* QSizeGrip |
|
| 437 |
|
|
| 438 |
Supports the width, height, and image properties. */ |
|
| 439 |
|
|
| 440 |
QSizeGrip |
|
| 441 |
{
|
|
| 442 |
} |
|
| 443 |
|
|
| 444 |
|
|
| 445 |
/* QSlider |
|
| 446 |
|
|
| 447 |
Supports the box model. For horizontal slides, the min-width and height |
|
| 448 |
properties must be provided. For vertical sliders, the min-height and width |
|
| 449 |
properties must be provided. The groove of the slider is styled using the |
|
| 450 |
::groove. The groove is positioned by default in the Contents rectangle of the |
|
| 451 |
widget. The thumb of the slider is styled using ::handle subcontrol. The |
|
| 452 |
subcontrol moves in the Contents rectangle of the groove subcontrol. */ |
|
| 453 |
|
|
| 454 |
QSlider::horizontal |
|
| 455 |
{
|
|
| 456 |
border: 0px solid transparent; |
|
| 457 |
background: transparent; |
|
| 458 |
min-width: 50px; |
|
| 459 |
min-height: 5px; |
|
| 460 |
} |
|
| 461 |
|
|
| 462 |
QSlider::handle:horizontal |
|
| 463 |
{
|
|
| 464 |
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f); |
|
| 465 |
border: 1px solid #5c5c5c; |
|
| 466 |
width: 8px; |
|
| 467 |
height 8px; |
|
| 468 |
margin: -5px 0; |
|
| 469 |
border-radius: 3px; |
|
| 470 |
} |
|
| 471 |
|
|
| 472 |
QSlider::groove:horizontal |
|
| 473 |
{
|
|
| 474 |
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #E0E0E0, stop:1 #EEEEEE); |
|
| 475 |
height: 5px; |
|
| 476 |
position: absolute; |
|
| 477 |
left: 4px; |
|
| 478 |
right: 4px; |
|
| 479 |
} |
|
| 480 |
|
|
| 481 |
|
|
| 482 |
|
|
| 483 |
/* QSplitter |
|
| 484 |
|
|
| 485 |
Supports the box model. The handle of the splitter is styled using the ::handle |
|
| 486 |
subcontrol. */ |
|
| 487 |
|
|
| 488 |
/* these are the little vertical grab bars in file dialogs */ |
|
| 489 |
|
|
| 490 |
QSplitter |
|
| 491 |
{
|
|
| 492 |
background: #000000; |
|
| 493 |
} |
|
| 494 |
|
|
| 495 |
|
|
| 496 |
/* QGroupBox |
|
| 497 |
|
|
| 498 |
Supports the box model. The title can be styled using the ::title subcontrol. |
|
| 499 |
By default, the title is placed depending on QGroupBox::textAlignment. In the |
|
| 500 |
case of a checkable QGroupBox, the title includes the check indicator. The |
|
| 501 |
indicator is styled using the the ::indicator subcontrol. The spacing property |
|
| 502 |
can be used to control the spacing between the text and indicator. */ |
|
| 503 |
|
|
| 504 |
QGroupBox |
|
| 505 |
{
|
|
| 506 |
background: #404040; |
|
| 507 |
color: #FFFFFF; |
|
| 508 |
border: 2px solid #BBBBBB; |
|
| 509 |
border-radius: 4px; |
|
| 510 |
padding: 2px; |
|
| 511 |
margin-top: 1ex; |
|
| 512 |
} |
|
| 513 |
|
|
| 514 |
|
|
| 515 |
QGroupBox::title |
|
| 516 |
{
|
|
| 517 |
color: #FFFFFF; |
|
| 518 |
subcontrol-origin: margin; |
|
| 519 |
subcontrol-position: top center; |
|
| 520 |
padding: 0 5px; |
|
| 521 |
} |
|
| 522 |
|
|
| 523 |
QGroupBox::title:!enabled |
|
| 524 |
{
|
|
| 525 |
color: #000000; |
|
| 526 |
} |
|
| 527 |
|
|
| 528 |
QGroupBox QWidget |
|
| 529 |
{
|
|
| 530 |
background: #404040; |
|
| 531 |
} |
|
| 532 |
|
|
| 533 |
|
|
| 534 |
/* QToolButton |
|
| 535 |
|
|
| 536 |
Supports the box model. If the QToolButton has a menu, is ::menu-indicator |
|
| 537 |
subcontrol can be used to style the indicator. By default, the menu-indicator is |
|
| 538 |
positioned at the bottom right of the Padding rectangle of the widget. If the |
|
| 539 |
QToolButton is in QToolButton::MenuButtonPopup mode, the ::menu-button |
|
| 540 |
subcontrol is used to draw the menu button. ::menu-arrow subcontrol is used to |
|
| 541 |
draw the menu arrow inside the menu-button. By default, it is positioned in the |
|
| 542 |
center of the Contents rectangle of the the menu-button subcontrol. When the |
|
| 543 |
QToolButton displays arrows, the ::up-arrow, ::down-arrow, ::left-arrow and |
|
| 544 |
::right-arrow subcontrols are used. Warning: If you only set a background-color |
|
| 545 |
on a QToolButton, the background will not appear unless you set the border |
|
| 546 |
property to some value. This is because, by default, the QToolButton draws a |
|
| 547 |
native border which completely overlaps the background-color. For example, |
|
| 548 |
QToolButton { background-color: red; border: none; } */
|
|
| 549 |
|
|
| 550 |
/* We use tool buttons for the TPB collapsing frame texts, eg. "Playback |
|
| 551 |
* parameters" and for toolbar buttons |
|
| 552 |
*/ |
|
| 553 |
|
|
| 554 | 294 |
QToolButton[popupMode="1"] |
| 555 | 295 |
{ /* only for MenuButtonPopup */
|
| 556 | 296 |
padding-right: 5px; /* make way for the popup button */ |
| ... | ... | |
| 620 | 360 |
background: transparent; |
| 621 | 361 |
} |
| 622 | 362 |
|
| 623 |
/* QLineEdit |
|
| 624 |
|
|
| 625 |
Supports the box model. The color and background of the selected item is styled |
|
| 626 |
using selection-color and selection-background-color respectively. The password |
|
| 627 |
character can be styled using the lineedit-password-character property. */ |
|
| 628 |
|
|
| 629 |
/* thanks be to Gaia this override actually works, for once!, and I dodged a |
|
| 630 |
* very nasty bullet here: |
|
| 631 |
*/ |
|
| 632 |
QLineEdit, QFileDialog QLineEdit, QDialog QLineEdit |
|
| 633 |
{
|
|
| 634 |
border: 1px solid #AAAAAA; |
|
| 635 |
background-color: #FFFFFF; |
|
| 636 |
selection-background-color: #80AFFF; |
|
| 637 |
color: #000000; |
|
| 638 |
selection-color: #FFFFFF; |
|
| 639 |
} |
|
| 640 |
|
|
| 641 |
|
|
| 642 |
/* QSpinBox |
|
| 643 |
|
|
| 644 |
The frame of the spin box can be styled using the box model. The up button and |
|
| 645 |
arrow can be styled using the ::up-button and ::up-arrow subcontrols. By |
|
| 646 |
default, the up-button is placed in the top right corner in the Padding |
|
| 647 |
rectangle of the widget. Without an explicit size, it occupies half the height |
|
| 648 |
of its reference rectangle. The up-arrow is placed in the center of the Contents |
|
| 649 |
rectangle of the up-button. The down button and arrow can be styled using the |
|
| 650 |
::down-button and ::down-arrow subcontrols. By default, the down-button is |
|
| 651 |
placed in the bottom right corner in the Padding rectangle of the widget. |
|
| 652 |
Without an explicit size, it occupies half the height of its reference |
|
| 653 |
rectangle. The bottom-arrow is placed in the center of the Contents rectangle of |
|
| 654 |
the bottom-button. */ |
|
| 655 |
|
|
| 656 |
QSpinBox, |
|
| 657 |
QDoubleSpinBox |
|
| 658 |
{
|
|
| 659 |
padding-right: 15px; /* make room for the arrows */ |
|
| 660 |
/* we will use the stock demo frame image after all, since it was suitable, |
|
| 661 |
* and actually fixes background problems that would otherwise be annoying |
|
| 662 |
* to solve*/ |
|
| 663 |
border-image: url(:icons/style/frame.png) 4; |
|
| 664 |
border-width: 3; |
|
| 665 |
color: #000000; |
|
| 666 |
selection-color: #FFFFFF; |
|
| 667 |
selection-background-color: #80AFFF; |
|
| 668 |
} |
|
| 669 |
|
|
| 670 |
QSpinBox::up-button, |
|
| 671 |
QDoubleSpinBox::up-button |
|
| 672 |
{
|
|
| 673 |
subcontrol-origin: border; |
|
| 674 |
subcontrol-position: top right; /* position at the top right corner */ |
|
| 675 |
|
|
| 676 |
width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ |
|
| 677 |
border-image: url(:icons/style/spinup.png) 1; |
|
| 678 |
border-width: 1px; |
|
| 679 |
} |
|
| 680 |
|
|
| 681 |
QSpinBox::up-button:hover, |
|
| 682 |
QDoubleSpinBox::up-button:hover |
|
| 683 |
{
|
|
| 684 |
border-image: url(:icons/style/spinup_hover.png) 1; |
|
| 685 |
} |
|
| 686 |
|
|
| 687 |
QSpinBox::up-button:pressed, |
|
| 688 |
QDoubleSpinBox::up-button:pressed |
|
| 689 |
{
|
|
| 690 |
border-image: url(:icons/style/spinup_pressed.png) 1; |
|
| 691 |
} |
|
| 692 |
|
|
| 693 |
QSpinBox::up-arrow, |
|
| 694 |
QDoubleSpinBox::up-arrow |
|
| 695 |
{
|
|
| 696 |
image: url(:icons/style/arrow-up-small.png); |
|
| 697 |
width: 7px; |
|
| 698 |
height: 7px; |
|
| 699 |
} |
|
| 700 |
|
|
| 701 |
QSpinBox::up-arrow:disabled, |
|
| 702 |
QSpinBox::up-arrow:off, |
|
| 703 |
QDoubleSpinBox::up-arrow:disabled, |
|
| 704 |
QDoubleSpinBox::up-arrow:off |
|
| 705 |
{ /* off state when value is max */
|
|
| 706 |
image: url(:icons/style/arrow-up-small-inverted.png); |
|
| 707 |
} |
|
| 708 |
|
|
| 709 |
QSpinBox::down-button, |
|
| 710 |
QDoubleSpinBox::down-button |
|
| 711 |
{
|
|
| 712 |
subcontrol-origin: border; |
|
| 713 |
subcontrol-position: bottom right; /* position at bottom right corner */ |
|
| 714 |
|
|
| 715 |
width: 16px; |
|
| 716 |
border-image: url(:icons/style/spindown.png) 1; |
|
| 717 |
border-width: 1px; |
|
| 718 |
border-top-width: 0; |
|
| 719 |
} |
|
| 720 |
|
|
| 721 |
QSpinBox::down-button:hover, |
|
| 722 |
QDoubleSpinBox::down-button:hover |
|
| 723 |
{
|
|
| 724 |
border-image: url(:icons/style/spindown_hover.png) 1; |
|
| 725 |
} |
|
| 726 |
|
|
| 727 |
QSpinBox::down-button:pressed, |
|
| 728 |
QDoubleSpinBox::down-button:pressed |
|
| 729 |
{
|
|
| 730 |
border-image: url(:icons/style/spindown_pressed.png) 1; |
|
| 731 |
} |
|
| 732 |
|
|
| 733 |
QSpinBox::down-arrow, |
|
| 734 |
QDoubleSpinBox::down-arrow |
|
| 735 |
{
|
|
| 736 |
image: url(:icons/style/arrow-down-small.png); |
|
| 737 |
width: 7px; |
|
| 738 |
height: 7px; |
|
| 739 |
} |
|
| 740 |
|
|
| 741 |
QSpinBox::down-arrow:disabled, |
|
| 742 |
QSpinBox::down-arrow:off, |
|
| 743 |
QDoubleSpinBox::down-arrow:disabled, |
|
| 744 |
QDoubleSpinBox::down-arrow:off |
|
| 745 |
{ /* off state when value in min */
|
|
| 746 |
image: url(:icons/style/arrow-down-small-inverted.png); |
|
| 747 |
} |
|
| 748 |
|
|
| 749 |
/* QComboBox |
|
| 750 |
The frame around the combobox can be styled using the box model. The drop-down button can be styled using the ::drop-down subcontrol. By default, the drop-down button is placed in the top right corner of the padding rectangle of the widget. The arrow mark inside the drop-down button can be styled using the ::down-arrow subcontrol. By default, the arrow is placed in the center of the contents rectangle of the drop-down subcontrol. |
|
| 751 |
|
|
| 752 |
The pop-up of the QComboBox is a QAbstractItemView and is styled using the descendant selector. |
|
| 753 |
*/ |
|
| 754 |
|
|
| 755 | 363 |
QComboBox {
|
| 756 | 364 |
border: 1px solid #AAAAAA; |
| 757 | 365 |
border-radius: 3px; |
| ... | ... | |
| 799 | 407 |
min-width: 12em; /* leaves room for space between item and hotkey */ |
| 800 | 408 |
} |
| 801 | 409 |
|
| 802 |
/* Menu selection background color |
|
| 803 |
*/ |
|
| 804 | 410 |
QComboBox QAbstractItemView::item:selected |
| 805 | 411 |
{
|
| 806 | 412 |
background-color: #80AFFF; |
| 807 | 413 |
color: #FFFFFF; |
| 808 | 414 |
} |
| 809 | 415 |
|
| 810 |
|
|
| 811 |
/* Hrm. Has no effect at all. Probably not worth much more bother, since Qt |
|
| 812 |
* automatically inverts the stock arrow pixmaps, and they're sort of legible, |
|
| 813 |
* but it might ultimately be worth subclassing QPlastiqueStyle in order to |
|
| 814 |
* specify different pixmaps, since this bit here doesn't seem to work. |
|
| 815 |
*/ |
|
| 816 | 416 |
QFileDialog |
| 817 | 417 |
{
|
| 818 | 418 |
leftarrow-icon: url(:icons/style/arrow-left-inverted.png); |
Also available in: Unified diff