1QWidget { 2 background-color: rgb(40,40,40); 3 color: rgb(220,220,220); 4} 5 6QWidget:!enabled { 7 color: rgb(100,100,100); 8} 9 10* { 11 backward-icon: url(":/xpm/left-128.png"); 12 forward-icon: url(":/xpm/right-128.png"); 13 filedialog-new-directory-icon: url(":/xpm/newdirectory-128.png"); 14 filedialog-parent-directory-icon: url(":/xpm/up-128.png"); 15 filedialog-detailedview-icon: url(":/xpm/viewdetailed-128.png"); 16 filedialog-listview-icon: url(":/xpm/viewlist-128.png"); 17} 18 19QDialogButtonBox { 20 button-layout: 2; 21} 22 23QStatusBar #PaddedValueLabel { 24 border: 1px solid rgb(90,90,90); 25} 26 27QStatusBar { 28 color: LightSkyBlue; 29} 30 31/* QWhatsThat doesn't work at the moment (known problem) 32 * Just in case Qt implements it in future... */ 33 QToolTip, QWhatsThat { 34 background-color: rgb(96, 211, 201); 35 color: rgb(30,30,30); 36 font-size: 10pt; 37} 38 39QMenu { 40 border: 1px solid rgb(0,90,160); 41 /* menu-scrollable: true; */ 42} 43 44QMenu::separator { 45 background-color: rgb(70,70,70); 46 height: 1px; 47} 48 49/* menu styling is incompatible between Qt releases */ 50QMenu::item { 51 padding: 3px 22px 3px 7px; 52} 53 54QMenu::indicator { 55 left: 6px; 56 border: 2px solid rgb(110, 110, 110); 57} 58 59QMenu::indicator:exclusive { 60 border-radius: 5px; 61} 62 63QMenu::indicator:checked { 64 background: rgb(0, 204, 255); 65} 66 67QMenu::indicator:unchecked { 68 background: transparent; 69} 70 71QMenu::icon { 72 left: 4px; 73 border: 1px solid transparent; 74} 75 76QMenu::icon:checked { 77 border: 1px solid yellow; 78} 79 80QMenu::item:selected, 81QMenuBar::item:selected { 82 background-color: rgb(0,90,160); 83} 84 85#MidiRouteMenuItem, 86#SwitchBarActionWidget { 87 qproperty-highColor: rgb(0,90,160); 88} 89 90#SwitchBarActionWidget { 91 qproperty-borderColor:rgb(120, 120, 120); 92 qproperty-checkedColor: rgb(0, 204, 255); 93} 94 95 96QDockWidget::title { 97 text-align: center; 98 background-color: rgb(60,60,60); 99} 100 101QDockWidget QTreeWidget:focus { 102 border: 1px solid rgb(0,120,200); 103} 104 105QWidget#MarkerView QLineEdit:enabled { 106 background: rgb(60,60,60); 107} 108 109QToolBar QToolButton { 110 background-color: rgb(90,90,90); 111 margin-right: 1px; 112 border-style: none; 113 border-width: 0px; 114 border-radius: 0px; 115 padding: 2px; 116} 117 118QToolBar QToolButton:checked { 119 background-color: rgb(0,90,160); 120 border-style: none; 121 border-width: 0px; 122 border-radius: 0px; 123 padding: 2px; 124} 125 126QToolBar QToolButton:hover { 127 border-color: Yellow; 128 border-top-style: solid; 129 border-width: 2px; 130 border-radius: 0px; 131 padding-top: 0px; 132} 133 134QToolBar QToolButton:pressed { 135 border-color: Orange; 136 border-top-style: solid; 137 border-width: 2px; 138 border-radius: 0px; 139 padding-top: 0px; 140} 141 142QToolBar QToolButton[popupMode="1"] { 143 padding-right: 16px; 144} 145QToolBar QToolButton::menu-button { 146 border-radius: 0px; 147 border-left: 1px solid rgb(40,40,40); 148 width: 13px; 149} 150 151 152QToolBar QAbstractSpinBox { 153 background-color: rgb(40,40,40); 154/* 155 color: DeepSkyBlue; 156*/ 157 color: rgb(0,140,210); 158 border-radius: 0px; 159 height: 20px; 160 border: 1px solid rgb(90,90,90); 161} 162 163QToolBar QAbstractSpinBox::up-button { 164 width: 16px; 165 border: none; 166} 167 168QToolBar QAbstractSpinBox::down-button { 169 width: 16px; 170 border: none; 171} 172 173QToolBar QAbstractSpinBox::up-arrow { 174 image: url(:/svg/up_arrow.svg); 175 width: 8px; 176} 177 178QToolBar QAbstractSpinBox::down-arrow { 179 image: url(:/svg/down_arrow.svg); 180 width: 8px; 181} 182 183QToolBar QAbstractSpinBox::up-arrow:disabled, QToolBar QAbstractSpinBox::down-arrow:disabled { 184 image: none; 185} 186 187QToolBar QComboBox { 188 background-color: rgb(40,40,40); 189/* 190 color: DeepSkyBlue; 191*/ 192 color: rgb(0,140,210); 193 border: 1px solid rgb(90,90,90); 194 padding: 1px; 195 height: 20px; 196} 197 198QToolBar QComboBox::drop-down { 199 background-color: rgb(40,40,40); 200 border: none; 201} 202 203QToolBar QComboBox::down-arrow { 204 image: url(:/svg/down_arrow.svg); 205 width: 10px; 206} 207 208/* does not work as documented (Qt 5.9) */ 209QToolBar QComboBox QAbstractItemView { 210 color: rgb(220,220,220); 211 selection-background-color: rgb(0,90,160); 212} 213 214QToolBar QLabel#PosLabel, 215QToolBar QLabel#PitchLabel, 216QToolBar QLabel#TempoLabel, 217QToolBar QLabel#PosTicks, 218QToolBar QLabel#PosFrames, 219QToolBar QLabel#PaddedValueLabel { 220 background-color: rgb(40,40,40); 221 border: 1px solid rgb(90,90,90); 222 height: 20px; 223} 224 225QCheckBox::indicator { 226 border: 2px solid rgb(110, 110, 110); 227} 228 229QCheckBox::indicator:checked { 230 background: rgb(0, 204, 255); 231} 232 233QRadioButton::indicator { 234 border: 2px solid rgb(110, 110, 110); 235 border-radius: 5px; 236} 237 238QRadioButton::indicator:checked { 239 background: rgb(0, 204, 255); 240} 241 242QFrame#SliderMeterFrameAudio, 243QFrame#SliderMeterFrameMidi { 244 border-top: 1px solid rgb(60,60,60); 245 border-bottom: 1px solid rgb(60,60,60); 246} 247 248/* QWidget#Rack { 249 border: 1px solid rgb(0,120,200); 250} */ 251 252QWidget#Strip { 253 border: 1px solid rgb(90,90,90); 254} 255 256QWidget#Strip > QAbstractButton, 257QWidget#AudioAutoType { 258 /* margin: 1px; */ 259 background-color: rgb(90,90,90); 260 border: 1px solid rgb(40,40,40); 261 /* border: 1px solid rgb(0,120,200); */ 262 border-radius: 3px; 263} 264 265QWidget#Strip > QAbstractButton:!enabled { 266 /* border-color: rgb(90,90,90); */ 267 background-color: rgb(60,60,60); 268} 269 270QWidget#Strip > QAbstractButton:hover { 271 border-color: rgb(255, 208, 0); 272} 273 274QWidget#Strip > QAbstractButton:pressed, 275QWidget#Strip > QAbstractButton:checked { 276 background-color: rgb(0,90,160); 277 /* border-color: rgb(0,90,160); */ 278} 279 280QWidget#VolumeEditAudio, 281QWidget#VolumeEditMidi { 282 background-color: rgb(60,60,60); 283} 284 285/* doesn't work */ 286/* 287QFrame#ClipperLabel { 288 border: 1px solid rgb(90,90,90); 289} 290*/ 291 292QTreeView, QListView { 293 alternate-background-color: rgb(50,50,50); 294 background: rgb(40,40,40); 295 } 296 297QMdiArea > QTabBar::tab:hover { 298 color: yellow; 299} 300 301QMdiArea > QTabBar::tab:selected { 302 color: MediumSpringGreen; 303} 304 305/* TabWidget in Midi mixer strip */ 306QWidget#MidiStripTabWidget::pane { 307 position: absolute; 308 margin: 0; 309 padding: 0; 310 border-top: 1px solid rgb(120,120,120); 311 padding-top: 1px; 312} 313 314QWidget#MidiStripTabWidget::tab-bar { 315 /* left: 3px; */ 316 alignment: center; 317} 318 319QWidget#MidiStripTabWidget QTabBar::tab { 320 margin: 0px; 321 padding: 1px 4px 1px 4px; 322 border: 1px solid rgb(120,120,120); 323 border-bottom-style: none; 324 border-top-left-radius: 3px; 325 border-top-right-radius: 3px; 326} 327 328QWidget#MidiStripTabWidget QTabBar::tab:selected { 329 /* border-color: rgb(255, 208, 0); */ 330 border-color: rgb(0, 165, 180); 331 border-bottom: none; 332 /* background-color: rgb(40,40,40); */ 333 background-color: rgb(0, 100, 109); 334 /* color: coral; */ 335 margin-left: -2px; 336 margin-right: -2px; 337} 338 339QWidget#MidiStripTabWidget QTabBar::tab:first:selected { 340 margin-left: 0; 341} 342 343QWidget#MidiStripTabWidget QTabBar::tab:last:selected { 344 margin-right: 0; 345} 346 347QWidget#MidiStripTabWidget QTabBar::tab:!selected { 348 margin-top: 1px; 349} 350 351QWidget#MidiStripTabWidget QTabBar::tab:focus { 352 /* border: 1px dotted rgb(150,150,150); */ 353 border-style: dotted; 354 border-bottom: none; 355} 356 357QScrollBar:horizontal { 358 border: none; 359 background-color: rgb(40, 40, 40); 360 height: 14px; 361 margin: 1px 14px 1px 14px; 362} 363QScrollBar::handle:horizontal { 364 border-radius: 4px; 365 border-color: rgb(70, 70, 70); 366 border-width: 1px; 367 border-style: solid; 368 background-color: rgb(40, 40, 40); 369 min-width: 25px; 370} 371QScrollBar::add-line:horizontal { 372 border: none; 373 /* border: 1px solid rgb(70, 70, 70); */ 374 /* border-radius: 2px; */ 375 width: 12px; 376 height: 12px; 377 subcontrol-position: right; 378 subcontrol-origin: margin; 379} 380QScrollBar::sub-line:horizontal { 381 border: none; 382 /* border: 1px solid rgb(70, 70, 70); */ 383 /* border-radius: 2px; */ 384 width: 12px; 385 height: 12px; 386 subcontrol-position: left; 387 subcontrol-origin: margin; 388} 389 QScrollBar:left-arrow:horizontal { 390 width: 12px; 391 height: 12px; 392 image: url(":/svg/scroll_left.svg"); 393} 394 QScrollBar::right-arrow:horizontal { 395 width: 12px; 396 height: 12px; 397 image: url(":/svg/scroll_right.svg"); 398} 399 400QScrollBar:vertical { 401 border: none; 402 background-color: rgb(40, 40, 40); 403 width: 14px; 404 margin: 14px 1px 14px 1px; 405} 406QScrollBar::handle:vertical { 407 border-radius: 4px; 408 border-color: rgb(70, 70, 70); 409 border-width: 1px; 410 border-style: solid; 411 background-color: rgb(40, 40, 40); 412 min-height: 25px; 413} 414 QScrollBar::add-line:vertical { 415 border: none; 416 /* border: 1px solid rgb(70, 70, 70); */ 417 /* border-radius: 2px; */ 418 height: 12px; 419 width: 12px; 420 subcontrol-position: bottom; 421 subcontrol-origin: margin; 422} 423QScrollBar::sub-line:vertical { 424 border: none; 425 /* border: 1px solid rgb(70, 70, 70); */ 426 /* border-radius: 2px; */ 427 height: 12px; 428 width: 12px; 429 subcontrol-position: top; 430 subcontrol-origin: margin; 431} 432QScrollBar:down-arrow:vertical { 433 /* border: 1px solid rgb(70, 70, 70); */ 434 /* border-radius: 2px; */ 435 width: 12px; 436 height: 12px; 437 image: url(":/svg/scroll_down.svg"); 438} 439QScrollBar::up-arrow:vertical { 440 /* border: 1px solid rgb(70, 70, 70); */ 441 /* border-radius: 2px; */ 442 width: 12px; 443 height: 12px; 444 image: url(":/svg/scroll_up.svg"); 445} 446 447QWidget#ScrollScaleZoomButton { 448 width: 8px; 449 height: 8px; 450 border: none; 451} 452 453 454 455/*** MusE properties ***/ 456 457/* The title header background colour in popup and routing menus: */ 458MusEGui--MenuTitleLabel { 459 background-color: #004d4d; 460} 461 462/* The category item background colour in the advanced router trees: */ 463MusEGui--RouteTreeWidget { 464 qproperty-categoryColor: #004d4d; 465} 466 467MusEGui--SnooperDialog { 468 qproperty-flashColor: #004d4d; 469} 470 471MusEGui--TList { 472 qproperty-sel3d: false; 473/* 474 qproperty-curSelBorder: true; 475 qproperty-curSelBorderColor: Red; 476*/ 477} 478 479MusEGui--AudioStripProperties { 480 qproperty-sliderRadius: 1; 481 qproperty-sliderRadiusHandle: 1; 482 qproperty-sliderHandleHeight: 24; 483 qproperty-sliderHandleWidth: 14; 484 qproperty-sliderGrooveWidth: 6; 485/* draw groove part above the handle */ 486 qproperty-sliderFillOver: true; 487 qproperty-sliderUseGradient: false; 488/* None = 0, Left = 1, Right = 2, InsideVertical = 6 */ 489 qproperty-sliderScalePos: 2; 490/* draw vertical line in slider scale 491 qproperty-sliderBackbone: true; 492*/ 493/* fill slider handle with color 494 qproperty-sliderFillHandle: false; 495*/ 496 qproperty-sliderFrame: true; 497 qproperty-sliderFrameColor: rgb(80,80,80); 498 qproperty-meterWidth: 10; 499/* apply meterWidth for each channel separately 500 qproperty-meterWidthPerChannel: true; 501*/ 502 qproperty-meterFrame: true; 503 qproperty-meterFrameColor: rgb(80,80,80); 504/* Spacing between meters 505 qproperty-meterSpacing: 4; 506*/ 507} 508 509MusEGui--MidiStripProperties { 510 qproperty-sliderRadius: 1; 511 qproperty-sliderRadiusHandle: 1; 512 qproperty-sliderHandleHeight: 24; 513 qproperty-sliderHandleWidth: 14; 514 qproperty-sliderGrooveWidth: 6; 515/* draw groove part above the handle */ 516 qproperty-sliderFillOver: true; 517 qproperty-sliderUseGradient: false; 518/* None = 0, Left = 1, Right = 2, InsideVertical = 6 */ 519 qproperty-sliderScalePos: 2; 520/* draw vertical line in slider scale 521 qproperty-sliderBackbone: true; 522*/ 523/* fill slider handle with color 524 qproperty-sliderFillHandle: false; 525*/ 526 qproperty-sliderFrame: true; 527 qproperty-sliderFrameColor: rgb(80,80,80); 528 qproperty-meterWidth: 10; 529 qproperty-meterFrame: true; 530 qproperty-meterFrameColor: rgb(80,80,80); 531} 532 533MusEGui--Meter { 534 qproperty-radius: 1; 535 qproperty-vu3d: false; 536} 537 538MusEGui--TrackNameLabel { 539 qproperty-style3d: false; 540} 541 542MusEGui--EffectRack { 543 qproperty-style3d: false; 544 qproperty-radius: 3; 545 /* use smaller non-standard scrollbar */ 546 /* qproperty-customScrollbar: false; */ 547} 548 549MusEGui--CompactSlider { 550 qproperty-barSameColor: true; 551 qproperty-radius: 3; 552} 553 554MusEGui--ElidedLabel { 555 qproperty-radius: 3; 556 qproperty-style3d: false; 557} 558 559MusEGui--CompactPatchEdit { 560 qproperty-radius: 3; 561 qproperty-style3d: false; 562} 563 564MusEGui--CompactKnob { 565 qproperty-style3d: false; 566 qproperty-xMargin: 3; 567 qproperty-yMargin: 3; 568/* 569 qproperty-drawChord: true; 570 qproperty-totalAngle: 270; 571 qproperty-radius: 2; 572 qproperty-symbol: Dot; 573 qproperty-borderWidth: 4; 574*/ 575} 576 577MusEGui--DList { 578/* 0-255, sensible values 0-64 */ 579 qproperty-alphaOverlay: 32; 580} 581 582MusEGui--CtrlCanvas { 583/* 0-255, sensible values 0-64 */ 584 qproperty-bgAlpha: 0; 585} 586 587MusEGui--Strip { 588 qproperty-expanderWidth: 1; 589} 590 591MusEGui--PianoRoll { 592 qproperty-pianoWidth: 60; 593} 594 595MusEGui--CompactSlider#MixerStripAudioPan, 596MusEGui--CompactSlider#MixerStripMidiPanController { 597/* better use even numbers */ 598 qproperty-thumbLength: 2; 599/* 600 qproperty-thumbColor: red; 601*/ 602} 603