1 #ifndef MUSICUIOBJECT_H
2 #define MUSICUIOBJECT_H
32 static constexpr
unsigned int Color01 = 4282664004;
34 static constexpr
unsigned int Color02 = 4284769380;
78 background-color:transparent; " +
80 QString(
"border-style:falt;") +
85 background-color:rgb(0, 0, 0);";
88 background-color:rgba(0, 0, 0, 35);";
91 background-color:rgba(0, 0, 0, 50);";
94 background-color:rgba(0, 0, 0, 100);";
97 background-color:rgba(0, 0, 0, 140);";
100 background-color:rgba(0, 0, 0, 175);";
103 background-color:rgb(41, 41, 41);";
106 background-color:rgb(240, 240, 240);";
109 background-color:rgb(255, 255, 255);";
112 background-color:rgba(255, 255, 255, 200);";
115 background-color:rgb(254, 249, 229);";
122 border:1px solid #666666;";
125 border:1px solid gray;";
128 border:1px solid #0095CD;";
131 border-top:1px dashed gray;";
137 border-top-left-radius:5px; border-top-right-radius:5px;";
164 QToolButton{ background-color:transparent; " +
166 QString(
"border-style:falt;") +
171 QToolButton::hover{ border:1px solid #000000; }";
174 QToolButton{ border:none; }";
177 QToolButton::hover{ background-color:rgba(255, 255, 255, 20); }";
180 QToolButton{ border:1px solid #777777; background:#FFFFFF; color:#555555; } \
181 QToolButton::hover{ border:1px solid #444444; color:#222222; } \
182 QToolButton::disabled{ color:#999999; border:1px solid #BBBBBB; }";
186 QPushButton{ background-color:transparent; " +
188 QString(
"border-style:falt;") +
193 QPushButton{ border-none; }";
196 QPushButton{ border-radius:3px; background-color:#158FE1; color:white; } \
197 QPushButton::disabled{ background-color:#BBBBBB; }";
200 QPushButton{ border:1px solid #AAAAAA; background:#FFFFFF; color:#777777; } \
201 QPushButton::hover{ border:1px solid #555555; color:#444444; } \
202 QPushButton::disabled{ color:#BBBBBB; border:1px solid #DDDDDD; }";
205 QPushButton{ font-size:17px; font-weight:bold; }";
208 QPushButton{ color:#CCCCCC; } \
209 QPushButton:hover{ color:#FFFFFF; }";
212 QPushButton{ text-align:right; }";
215 QPushButton{ border-radius:5px; font-size:20px; \
216 background:rgba(0, 0, 0, 50); } \
217 QPushButton::hover{ background:rgba(0, 0, 0, 100); }";
220 QPushButton{ border-radius:2px; background:rgba(0, 0, 0, 50); }";
223 QPushButton::menu-indicator{ image:none; }";
226 QPushButton{ color:#E6C117; } \
227 QPushButton:hover{ color:#E6E317; } \
228 QPushButton{ text-align:right; }";
231 QPushButton{ background-color:#DDDDDD; color:#222222; }";
234 QPushButton{ color:#444444; }";
238 QRadioButton{ background-color:transparent; } \
239 QRadioButton::indicator::unchecked{ image:url(:/control/btn_radioButton_unchecked); } \
240 QRadioButton::checked{ color:#E67300; } \
241 QRadioButton::indicator:checked{ image:url(:/control/btn_radiobutton_checked); } \
242 QRadioButton::disabled{ color:#BBBBBB; }";
246 QCheckBox{ background-color:transparent; } \
247 QCheckBox::indicator::unchecked{ image:url(:/control/btn_checkBox_unchecked); } \
248 QCheckBox::checked{ color:#E67300; } \
249 QCheckBox::indicator:checked{ image:url(:/control/btn_checkBox_checked); } \
250 QCheckBox::disabled{ color:#BBBBBB; }";
253 QCheckBox{ background-color:transparent; } \
254 QCheckBox::indicator::unchecked{ image:url(:/control/btn_radioButton2_unchecked); } \
255 QCheckBox::checked{ color:#E67300; } \
256 QCheckBox::indicator:checked{ image:url(:/control/btn_radiobutton2_checked); } \
257 QCheckBox::disabled{ color:#BBBBBB; }";
260 QCheckBox::checked{ color:rgb(0, 169, 236); }";
263 QCheckBox{ color:#888888; }";
266 QCheckBox{ background-color:transparent; color:rgb(222, 222, 222); } \
267 QCheckBox::indicator::unchecked{ image:url(:/control/btn_checkBox2_unchecked); } \
268 QCheckBox::checked{ color:rgb(255, 255, 255); } \
269 QCheckBox::indicator:checked{ image:url(:/control/btn_checkBox2_checked); } \
270 QCheckBox::disabled{ color:#BBBBBB; }";
274 QGroupBox::indicator::unchecked{ image:url(:/control/btn_checkBox_unchecked); } \
275 QGroupBox::indicator:checked{ image:url(:/control/btn_checkBox_checked); }";
279 QScrollBar{ background:#FFFFFF; width:8px; padding-top:0px; padding-bottom:0px; } \
280 QScrollBar::handle:vertical{ border-radius:4px; background:#CFCFCF; min-height: 30px; } \
281 QScrollBar::handle:vertical::disabled{ background:#DBDBDB; } \
282 QScrollBar::handle:vertical:hover{ background:#BBBBBB; } \
283 QScrollBar::add-line, QScrollBar::sub-line{ background:none; border:none; } \
284 QScrollBar::add-page, QScrollBar::sub-page{ background:none; }";
287 QScrollBar{ background:#FFFFFF; height:8px; padding-left:0px; padding-right:0px; } \
288 QScrollBar::handle:horizontal{ border-radius:4px; background:#CFCFCF; min-width: 30px; } \
289 QScrollBar::handle:horizontal::disabled{ background:#DBDBDB; } \
290 QScrollBar::handle:horizontal:hover{ background:#BBBBBB; } \
291 QScrollBar::add-line, QScrollBar::sub-line{ background:none; border:none; } \
292 QScrollBar::add-page, QScrollBar::sub-page{ background:none; }";
295 QScrollBar{ background:transparent; }";
298 QScrollBar{ background:transparent; }";
302 QLabel{ color:#888888; background-color:#FFE6E6; border:1px solid gray; }";
305 QLabel{ color:#FFFFFF; } \
306 QToolTip{ color:#666666; }";
310 QLineEdit{ font-size:12px; color:#666666; font-weight:normal; border:1px solid gray; } \
311 QLineEdit::hover{ border:1px solid rgb(22, 154, 243); } \
312 QLineEdit::disabled{ color:#BBBBBB; border:1px solid #BBBBBB; }";
315 QLineEdit{ border-image:url(:/tiny/lb_transparent); font-size:13px; color:#333333; }";
318 QLineEdit{ color:#6495ED; border:1px solid #555555; }";
321 QLineEdit{ color:white; border:1px solid #545454; } \
322 QLineEdit::disabled{ color:#323232; border:1px solid #323232; }";
326 QMenu{ padding:5px; } \
327 QMenu::icon{ margin-left:10px; } \
328 QMenu::right-arrow{ background:url(:/tiny/lb_arrow_up_normal); } \
329 QMenu::item{ color:#666666; padding:6px 30px 6px 30px; border:1px solid transparent; } \
330 QMenu::item:disabled{ color:#AAAAAA; } \
331 QMenu::item:selected{ color:white; background: rgb(22, 154, 243); } \
332 QMenu::separator{ height:1px; background:#DDDDDD; margin-top:5px; margin-bottom:5px; }" +
333 #if TTK_QT_VERSION_CHECK(5,12,0)
334 QString(
"QMenu::item{ padding:6px 30px 6px 10px; } "
336 "QMenu::item::icon{ padding:6px 40px 6px 10px; }") +
338 "QMenu::item::icon{ padding:6px 30px 6px 10px; }") +
344 QMenu{ background:rgba(255, 255, 255, 235); }";
347 QMenu{ border:none; background:rgba(0, 0, 0, 210); border-radius:4px; } \
348 QMenu::item{ color:#BBBBBB; } \
349 QMenu::item:disabled{ color:#555555; } \
350 QMenu::item:selected{ background:rgba(0, 0, 0, 200); } \
351 QMenu::separator{ background:#BBBBBB; }";
354 QMenu{ border:none; background:transparent; }";
358 QSlider::groove:horizontal{ \
359 background:#FFFEA1; height:3px; border-radius:1px; } \
360 QSlider::sub-page:horizontal{ background:#FFFEA1; } \
361 QSlider::add-page:horizontal{ background:#4E4F4F; } \
362 QSlider::handle:horizontal{ background:#FFFEA1; \
363 width:9px; margin-top:-3px; margin-bottom:-3px; border-radius:4px; }";
366 QSlider::groove:vertical{ \
367 background: #FFFEA1; width:3px; border-radius:1px; } \
368 QSlider::sub-page:vertical{ background:#4E4F4F; } \
369 QSlider::add-page:vertical{ background:#FFFEA1; } \
370 QSlider::handle:vertical{ background:#FFFEA1; \
371 height:9px; margin-left:-3px; margin-right:-3px; border-radius:4px; }";
374 QSlider::groove:vertical{ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, \
375 stop:0 #B5B4B4, stop:1 #FCFCFC); width:3px; } \
376 QSlider::handle:vertical{ border-image:url(:/control/lb_slider_handle_normal); \
377 height:21px; margin-left:-8px; margin-right:-8px; } \
378 QSlider::handle:vertical:disabled{ border-image:url(:/control/lb_slider_disable); } \
379 QSlider::handle:vertical:hover{ border-image:url(:/control/lb_slider_handle_hover); border:none; }";
382 QSlider::groove:vertical{ background:white; } \
383 QSlider::sub-page:vertical{ background:#AFC7F8; } \
384 QSlider::add-page:vertical{ background:white; border:1px solid #ACF; }";
387 QSlider::groove:horizontal{ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, \
388 stop:0 #B5B4B4, stop:1 #FCFCFC); height:4px; } \
389 QSlider::handle:horizontal{ border-image:url(:/control/lb_slider_handle_normal); \
390 width:21px; margin-top:-8px; margin-bottom:-8px; } \
391 QSlider::handle:horizontal:disabled{ border-image:url(:/control/lb_slider_disable); } \
392 QSlider::handle:horizontal:hover{ border-image:url(:/control/lb_slider_handle_hover); border:none; }";
395 QSlider::groove:horizontal{ background:white; } \
396 QSlider::sub-page:horizontal{ background:#AFC7F8; } \
397 QSlider::add-page:horizontal{ background:white; border:1px solid #ACF; }";
400 QSlider::add-page:Horizontal{ background-color:rgba(120, 120, 120, 100); height:4px; } \
401 QSlider::sub-page:Horizontal{ background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, \
402 y2:0, stop:0 rgba(231, 80, 229, 255), stop:1 rgba(7, 208, 255, 255)); height:4px; } \
403 QSlider::groove:Horizontal{ background:transparent; height:4px; } \
404 QSlider::handle:Horizontal{ border-image:url(':/image/lb_slider'); \
405 width:8px; height:6px; margin:-2px 0px -2px 0px; }";
408 QSlider::groove:horizontal{ background-image:url(:/control/lb_volume_back); } \
409 QSlider::sub-page:horizontal{ border-image:url(:/control/lb_volume_fore); } \
410 QSlider::add-page:horizontal{ background-image:url(:/control/lb_volume_back); } \
411 QSlider::handle:horizontal{ margin:0px -2px 0px -2px; \
412 background-image:url(:/control/lb_volume_handle_normal); width:13px; } \
413 QSlider::handle:horizontal:hover{ background-image:url(:/control/lb_volume_handle_hover); }";
416 QSlider::groove:horizontal{ background-image:url(:/control/lb_volume_back); } \
417 QSlider::sub-page:horizontal{ border-image:url(:/control/lb_make_fore); } \
418 QSlider::add-page:horizontal{ border-image:url(:/control/lb_make_back); } \
419 QSlider::handle:horizontal{ margin:0px -1px 0px -1x; \
420 border-image:url(:/control/lb_make_slider_handle_normal); width:18px; } \
421 QSlider::handle:horizontal:hover{ border-image:url(:/control/lb_make_slider_handle_hover); } \
422 QSlider::handle:horizontal:disabled{ border-image:url(:/control/lb_make_slider_disable); }";
425 QSlider::groove:horizontal{ \
426 background:transparent; height:3px; border-radius:1px; } \
427 QSlider::sub-page:horizontal{ background:rgba(255, 255, 255, 190); } \
428 QSlider::add-page:horizontal{ background:rgba(255, 255, 255, 50); } \
429 QSlider::handle:horizontal{ background:rgba(255, 255, 255, 255); \
430 width:9px; margin-top:-3px; margin-bottom:-3px; border-radius:4px; }";
434 QComboBox{ border: 1px solid gray; color:#666666; } \
435 QComboBox::hover{ border: 1px solid rgb(22, 154, 243); } \
436 QComboBox::drop-down{ subcontrol-origin:padding; \
437 subcontrol-position:top right; width:20px; border-left:none; } \
438 QComboBox::down-arrow{ image:url(:/image/btn_down_arrow); } \
439 QComboBox::disabled{ border: 1px solid #BBBBBB; }";
442 QComboBox{ border:none; } \
443 QComboBox::hover{ border:none; }";
447 QListView::item:hover{ background-color: rgba(20, 20, 20, 20); color:#444444; } \
448 QListWidget::item:selected{ background-color: rgba(20, 20, 20, 20); color:#444444; }";
451 QListWidget{ border:none; }";
455 #if defined Q_OS_UNIX && !TTK_QT_VERSION_CHECK(5,7,0) //Fix linux selection-background-color stylesheet bug
456 "QTableWidget::item:selected{ background:rgba(20, 20, 20, 20); }";
458 "QTableWidget{ selection-background-color:rgba(20, 20, 20, 20); }";
462 #if defined Q_OS_UNIX && !TTK_QT_VERSION_CHECK(5,7,0) //Fix linux selection-background-color stylesheet bug
463 "QTableWidget::item:selected{ background:rgb(220, 220, 220); }";
465 "QTableWidget{ selection-background-color:rgb(220, 220, 220); }";
470 QTabWidget{ border:none; } \
471 QTabWidget::pane{ border:none; } \
472 QTabBar::tab{ height:30px; width:100px; background-color:#BFBFBF; color:white; margin-left:0; margin-right:0; } \
473 QTabBar::tab:selected{ background-color:#158FE1; color:white}";
477 QTextEdit{ border:1px solid gray; color:#666666; } \
478 QTextEdit::hover{ border:1px solid rgb(22, 154, 243); } \
479 QTextEdit::disabled{ color:#BBBBBB; border: 1px solid #BBBBBB; }";
483 QHeaderView{ background-color:white; color:black; }";
487 QWidget{ background:rgba(255, 255, 255, 50); color:white; font-weight:bold; }";
491 QSpinBox{ font-size:12px; color:#666666; font-weight:normal; border: 1px solid gray; } \
492 QSpinBoxt::hover{ border:1px solid rgb(22, 154, 243); } \
493 QSpinBox::up-button{ image:url(:/image/btn_up_arrow); } \
494 QSpinBox::down-button{ image:url(:/image/btn_down_arrow); } \
495 QSpinBox::disabled{ color:#BBBBBB; border: 1px solid #BBBBBB; }";
499 QProgressBar{ border:none; background:rgb(210, 225, 240); text-align:center; } \
500 QProgressBar::chunk{ background:rgb(60, 140, 220); }";
504 QAbstractItemView::item{ height:20px; }";
509 #endif // MUSICUIOBJECT_H
static const QString ColorStyle06
static const QString ListWidgetStyle02
static const QString ListWidgetStyle01
ListWidget.
static const QString BackgroundStyle05
static const QString ToolButtonStyle05
static const QString MenuStyle04
static const QString BorderStyle01
border
static const QString FontStyle03
static const QString SliderStyle10
static const QString PushButtonStyle11
static const QString CheckBoxStyle03
static const QString CheckBoxStyle01
CheckBox.
static const QString SliderStyle06
static const QString PushButtonStyle01
PushButton.
static const QString BackgroundStyle08
static const QString CheckBoxStyle05
static const QString WidgetStyle01
Widget.
static const QString SliderStyle03
static const QString PushButtonStyle12
static const QString ScrollBarStyle04
static const QString ColorStyle04
static const QString ItemView01
ItemView.
static const QString ColorStyle05
static const QString ProgressBar01
ProgressBar.
static constexpr unsigned int Color02
static const QString BorderStyle05
static const QString HeaderView01
HeadView.
static const QString FontStyle01
Font.
static const QString LabelStyle01
Label.
static const QString BackgroundStyle04
static const QString LineEditStyle03
static const QString ColorStyle12
static const QString BorderStyle04
static const QString PushButtonStyle02
static const QString CustomStyle02
static const QString ScrollBarStyle03
static const QString ColorStyle01
Color.
static const QString SliderStyle02
static const QString TextEditStyle01
TextEdit.
static const QString SliderStyle08
static const QString CheckBoxStyle02
static const QString BackgroundStyle12
static const QString ColorStyle02
static const QString GroupBoxStyle01
GroupBox.
static const QString ScrollBarStyle01
ScrollBar.
static const QString SliderStyle09
static const QString PushButtonStyle06
static const QString FontStyle05
static const QString PushButtonStyle03
static const QString SliderStyle04
The namespace of the process utils.
static const QString BorderStyle06
static const QString SpinBoxStyle01
SpinBox.
static const QString MenuStyle01
Menu.
static const QString BackgroundStyle02
static const QString CheckBoxStyle04
static const QString BackgroundStyle01
Background.
static const QString MenuStyle03
static const QString PushButtonStyle07
static const QString TableWidgetStyle02
static const QString PushButtonStyle04
static const QString BackgroundStyle11
static const QString TableWidgetStyle01
TableWidget.
static const QString BackgroundStyle09
static const QString ColorStyle09
static const QString ColorStyle08
static const QString PushButtonStyle13
static const QString BackgroundStyle10
static const QString MenuStyle02
static const QString ColorStyle07
static const QString LabelStyle02
static const QString PushButtonStyle08
static const QString FontStyle04
static const QString ScrollBarStyle02
static const QString LineEditStyle02
static const QString ColorStyle03
static const QString ToolButtonStyle02
static const QString ColorStyle10
static const QString SliderStyle01
Slider.
static const QString FontStyle02
static const QString BackgroundStyle07
static const QString LineEditStyle01
LineEdit.
static const QString BorderStyle02
static const QString CustomStyle01
Custom.
static const QString LineEditStyle04
static const QString PushButtonStyle05
static const QString BorderStyle07
static const QString PushButtonStyle09
static const QString ToolButtonStyle01
ToolButton.
static const QString TabWidgetStyle01
TabWidget.
static const QString ToolButtonStyle04
static const QString ToolButtonStyle03
static const QString PushButtonStyle10
static const QString ColorStyle11
static const QString BackgroundStyle03
static constexpr unsigned int Color01
Color QRgb.
static const QString RadioButtonStyle01
RadioButton.
static const QString SliderStyle05
static const QString SliderStyle07
static const QString ComboBoxStyle01
ComboBox.
static const QString BorderStyle03
static const QString BackgroundStyle06
static const QString ColorStyle13
static const QString ComboBoxStyle02