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;");
86 background-color:rgb(0, 0, 0);";
89 background-color:rgba(0, 0, 0, 35);";
92 background-color:rgba(0, 0, 0, 50);";
95 background-color:rgba(0, 0, 0, 100);";
98 background-color:rgba(0, 0, 0, 140);";
101 background-color:rgba(0, 0, 0, 175);";
104 background-color:rgb(41, 41, 41);";
107 background-color:rgb(240, 240, 240);";
110 background-color:rgb(255, 255, 255);";
113 background-color:rgba(255, 255, 255, 200);";
116 background-color:rgb(254, 249, 229);";
119 background-color:rgb(21, 143, 225);";
126 border:1px solid gray;";
129 border:1px solid #0095CD;";
132 border-top:1px dashed gray;";
138 border-top-left-radius:5px; border-top-right-radius:5px;";
168 QToolButton{ background-color:transparent; " +
170 QString(
"border-style:falt; }");
176 QToolButton::hover{ border:1px solid #000000; }";
179 QToolButton{ border:none; }";
182 QToolButton::hover{ background-color:rgba(255, 255, 255, 20); }";
185 QToolButton{ border:1px solid #777777; background:#FFFFFF; color:#555555; } \
186 QToolButton::hover{ border:1px solid #444444; color:#222222; } \
187 QToolButton::disabled{ color:#999999; border:1px solid #BBBBBB; }";
191 QPushButton{ background-color:transparent; " +
193 QString(
"border-style:falt; }");
199 QPushButton{ border-none; }";
202 QPushButton{ border-radius:3px; background-color:#158FE1; color:white; } \
203 QPushButton::disabled{ background-color:#BBBBBB; }";
206 QPushButton{ border:1px solid #AAAAAA; background:#FFFFFF; color:#777777; } \
207 QPushButton::hover{ border:1px solid #555555; color:#444444; } \
208 QPushButton::disabled{ color:#BBBBBB; border:1px solid #DDDDDD; }";
211 QPushButton{ font-size:17px; font-weight:bold; }";
214 QPushButton{ color:#CCCCCC; } \
215 QPushButton:hover{ color:#FFFFFF; }";
218 QPushButton{ text-align:right; }";
221 QPushButton{ border-radius:5px; font-size:20px; \
222 background:rgba(0, 0, 0, 50); } \
223 QPushButton::hover{ background:rgba(0, 0, 0, 100); }";
226 QPushButton{ border-radius:2px; background:rgba(0, 0, 0, 50); }";
229 QPushButton::menu-indicator{ image:none; }";
232 QPushButton{ color:#E6C117; } \
233 QPushButton:hover{ color:#E6E317; } \
234 QPushButton{ text-align:right; }";
237 QPushButton{ background-color:#DDDDDD; color:#222222; }";
240 QPushButton{ color:#444444; }";
244 QRadioButton{ background-color:transparent; } \
245 QRadioButton::indicator::unchecked{ image:url(:/control/btn_radioButton_unchecked); } \
246 QRadioButton::checked{ color:#E67300; } \
247 QRadioButton::indicator:checked{ image:url(:/control/btn_radiobutton_checked); } \
248 QRadioButton::disabled{ color:#BBBBBB; }";
252 QCheckBox{ background-color:transparent; } \
253 QCheckBox::indicator::unchecked{ image:url(:/control/btn_checkBox_unchecked); } \
254 QCheckBox::checked{ color:#E67300; } \
255 QCheckBox::indicator:checked{ image:url(:/control/btn_checkBox_checked); } \
256 QCheckBox::disabled{ color:#BBBBBB; }";
259 QCheckBox{ background-color:transparent; } \
260 QCheckBox::indicator::unchecked{ image:url(:/control/btn_radioButton2_unchecked); } \
261 QCheckBox::checked{ color:#E67300; } \
262 QCheckBox::indicator:checked{ image:url(:/control/btn_radiobutton2_checked); } \
263 QCheckBox::disabled{ color:#BBBBBB; }";
266 QCheckBox::checked{ color:rgb(0, 169, 236); }";
269 QCheckBox{ color:#888888; }";
272 QCheckBox{ background-color:transparent; color:rgb(222, 222, 222); } \
273 QCheckBox::indicator::unchecked{ image:url(:/control/btn_checkBox2_unchecked); } \
274 QCheckBox::checked{ color:rgb(255, 255, 255); } \
275 QCheckBox::indicator:checked{ image:url(:/control/btn_checkBox2_checked); } \
276 QCheckBox::disabled{ color:#BBBBBB; }";
280 QGroupBox::indicator::unchecked{ image:url(:/control/btn_checkBox_unchecked); } \
281 QGroupBox::indicator:checked{ image:url(:/control/btn_checkBox_checked); }";
285 QScrollBar{ background:#FFFFFF; width:8px; padding-top:0px; padding-bottom:0px; } \
286 QScrollBar::handle:vertical{ border-radius:4px; background:#CFCFCF; min-height: 30px; } \
287 QScrollBar::handle:vertical::disabled{ background:#DBDBDB; } \
288 QScrollBar::handle:vertical:hover{ background:#BBBBBB; } \
289 QScrollBar::add-line, QScrollBar::sub-line{ background:none; border:none; } \
290 QScrollBar::add-page, QScrollBar::sub-page{ background:none; }";
293 QScrollBar{ background:#FFFFFF; height:8px; padding-left:0px; padding-right:0px; } \
294 QScrollBar::handle:horizontal{ border-radius:4px; background:#CFCFCF; min-width: 30px; } \
295 QScrollBar::handle:horizontal::disabled{ background:#DBDBDB; } \
296 QScrollBar::handle:horizontal:hover{ background:#BBBBBB; } \
297 QScrollBar::add-line, QScrollBar::sub-line{ background:none; border:none; } \
298 QScrollBar::add-page, QScrollBar::sub-page{ background:none; }";
301 QScrollBar{ background:transparent; }";
304 QScrollBar{ background:transparent; }";
308 QLabel{ color:#888888; background-color:#FFE6E6; border:1px solid gray; }";
311 QLabel{ color:#FFFFFF; } \
312 QToolTip{ color:#666666; }";
315 QToolTip{ border:1px solid black; background:white; color:#666666; }";
319 QLineEdit{ font-size:12px; color:#666666; font-weight:normal; border:1px solid gray; } \
320 QLineEdit::hover{ border:1px solid rgb(22, 154, 243); } \
321 QLineEdit::disabled{ color:#BBBBBB; border:1px solid #BBBBBB; }";
324 QLineEdit{ border-image:url(:/tiny/lb_transparent); font-size:13px; color:#333333; }";
327 QLineEdit{ color:#6495ED; border:1px solid #555555; }";
330 QLineEdit{ color:white; border:1px solid #545454; } \
331 QLineEdit::disabled{ color:#323232; border:1px solid #323232; }";
335 QMenu{ padding:5px; } \
336 QMenu::icon{ margin-left:10px; } \
337 QMenu::right-arrow{ background:url(:/tiny/lb_arrow_up_normal); } \
338 QMenu::item{ color:#666666; padding:6px 30px 6px 30px; border:1px solid transparent; } \
339 QMenu::item:disabled{ color:#AAAAAA; } \
340 QMenu::item:selected{ color:white; background: rgb(22, 154, 243); } \
341 QMenu::separator{ height:1px; background:#DDDDDD; margin-top:5px; margin-bottom:5px; }" +
342 #if TTK_QT_VERSION_CHECK(5,12,0)
343 QString(
"QMenu::item{ padding:6px 30px 6px 10px; } ") +
345 QString(
"QMenu::item::icon{ padding:6px 40px 6px 10px; }");
347 QString(
"QMenu::item::icon{ padding:6px 30px 6px 10px; }");
354 QMenu{ background:rgba(255, 255, 255, 235); }";
357 QMenu{ border:none; background:rgba(0, 0, 0, 210); border-radius:4px; } \
358 QMenu::item{ color:#BBBBBB; } \
359 QMenu::item:disabled{ color:#555555; } \
360 QMenu::item:selected{ background:rgba(0, 0, 0, 200); } \
361 QMenu::separator{ background:#BBBBBB; } \
362 QMenu::item::icon{ padding:6px 10px 6px 10px; }";
365 #if !TTK_QT_VERSION_CHECK(5,12,0)
366 QString(
"QMenu::item::icon{ padding:6px 10px 6px 30px; }");
372 QMenu{ border:none; background:transparent; }";
376 QSlider::groove:horizontal{ \
377 background:#FFFEA1; height:3px; border-radius:1px; } \
378 QSlider::sub-page:horizontal{ background:#FFFEA1; } \
379 QSlider::add-page:horizontal{ background:#4E4F4F; } \
380 QSlider::handle:horizontal{ background:#FFFEA1; \
381 width:9px; margin-top:-3px; margin-bottom:-3px; border-radius:4px; }";
384 QSlider::groove:vertical{ \
385 background: #FFFEA1; width:3px; border-radius:1px; } \
386 QSlider::sub-page:vertical{ background:#4E4F4F; } \
387 QSlider::add-page:vertical{ background:#FFFEA1; } \
388 QSlider::handle:vertical{ background:#FFFEA1; \
389 height:9px; margin-left:-3px; margin-right:-3px; border-radius:4px; }";
392 QSlider::groove:vertical{ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, \
393 stop:0 #B5B4B4, stop:1 #FCFCFC); width:3px; } \
394 QSlider::handle:vertical{ border-image:url(:/control/lb_slider_handle_normal); \
395 height:21px; margin-left:-8px; margin-right:-8px; } \
396 QSlider::handle:vertical:disabled{ border-image:url(:/control/lb_slider_disable); } \
397 QSlider::handle:vertical:hover{ border-image:url(:/control/lb_slider_handle_hover); border:none; }";
400 QSlider::groove:vertical{ background:white; } \
401 QSlider::sub-page:vertical{ background:#AFC7F8; } \
402 QSlider::add-page:vertical{ background:white; border:1px solid #ACF; }";
405 QSlider::groove:horizontal{ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, \
406 stop:0 #B5B4B4, stop:1 #FCFCFC); height:4px; } \
407 QSlider::handle:horizontal{ border-image:url(:/control/lb_slider_handle_normal); \
408 width:21px; margin-top:-8px; margin-bottom:-8px; } \
409 QSlider::handle:horizontal:disabled{ border-image:url(:/control/lb_slider_disable); } \
410 QSlider::handle:horizontal:hover{ border-image:url(:/control/lb_slider_handle_hover); border:none; }";
413 QSlider::groove:horizontal{ background:white; } \
414 QSlider::sub-page:horizontal{ background:#AFC7F8; } \
415 QSlider::add-page:horizontal{ background:white; border:1px solid #ACF; }";
418 QSlider::add-page:Horizontal{ background-color:rgba(120, 120, 120, 100); height:4px; } \
419 QSlider::sub-page:Horizontal{ background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, \
420 y2:0, stop:0 rgba(231, 80, 229, 255), stop:1 rgba(7, 208, 255, 255)); height:4px; } \
421 QSlider::groove:Horizontal{ background:transparent; height:4px; } \
422 QSlider::handle:Horizontal{ border-image:url(':/image/lb_slider'); \
423 width:8px; height:6px; margin:-2px 0px -2px 0px; }";
426 QSlider::groove:horizontal{ background-image:url(:/control/lb_volume_back); } \
427 QSlider::sub-page:horizontal{ border-image:url(:/control/lb_volume_fore); } \
428 QSlider::add-page:horizontal{ background-image:url(:/control/lb_volume_back); } \
429 QSlider::handle:horizontal{ margin:0px -2px 0px -2px; \
430 background-image:url(:/control/lb_volume_handle_normal); width:13px; } \
431 QSlider::handle:horizontal:hover{ background-image:url(:/control/lb_volume_handle_hover); }";
434 QSlider::groove:horizontal{ background-image:url(:/control/lb_volume_back); } \
435 QSlider::sub-page:horizontal{ border-image:url(:/control/lb_make_fore); } \
436 QSlider::add-page:horizontal{ border-image:url(:/control/lb_make_back); } \
437 QSlider::handle:horizontal{ margin:0px -1px 0px -1x; \
438 border-image:url(:/control/lb_make_slider_handle_normal); width:18px; } \
439 QSlider::handle:horizontal:hover{ border-image:url(:/control/lb_make_slider_handle_hover); } \
440 QSlider::handle:horizontal:disabled{ border-image:url(:/control/lb_make_slider_disable); }";
443 QSlider::groove:horizontal{ \
444 background:transparent; height:3px; border-radius:1px; } \
445 QSlider::sub-page:horizontal{ background:rgba(255, 255, 255, 190); } \
446 QSlider::add-page:horizontal{ background:rgba(255, 255, 255, 50); } \
447 QSlider::handle:horizontal{ background:rgba(255, 255, 255, 255); \
448 width:9px; margin-top:-3px; margin-bottom:-3px; border-radius:4px; }";
452 QComboBox{ border:1px solid gray; color:#666666; } \
453 QComboBox::hover{ border:1px solid rgb(22, 154, 243); } \
454 QComboBox::drop-down{ subcontrol-origin:padding; \
455 subcontrol-position:top right; width:20px; border-left:none; } \
456 QComboBox::down-arrow{ image:url(:/image/btn_down_arrow); } \
457 QComboBox::disabled{ border:1px solid #BBBBBB; }";
460 QComboBox{ border:none; } \
461 QComboBox::hover{ border:none; }";
465 QListView::item:hover{ background-color:rgba(20, 20, 20, 20); color:#444444; } \
466 QListWidget::item:selected{ background-color:rgba(20, 20, 20, 20); color:#444444; }";
469 QListWidget{ border:none; }";
473 #if defined Q_OS_UNIX && !TTK_QT_VERSION_CHECK(5,7,0) //Fix linux selection-background-color stylesheet bug
474 "QTableWidget::item:selected{ background:rgba(20, 20, 20, 20); }";
476 "QTableWidget{ selection-background-color:rgba(20, 20, 20, 20); }";
480 #if defined Q_OS_UNIX && !TTK_QT_VERSION_CHECK(5,7,0) //Fix linux selection-background-color stylesheet bug
481 "QTableWidget::item:selected{ background:rgb(220, 220, 220); }";
483 "QTableWidget{ selection-background-color:rgb(220, 220, 220); }";
488 QTabWidget{ border:none; } \
489 QTabWidget::pane{ border:none; } \
490 QTabBar::tab{ height:30px; width:100px; background-color:#BFBFBF; color:white; margin-left:0; margin-right:0; } \
491 QTabBar::tab:selected{ background-color:#158FE1; color:white}";
495 QTextEdit{ border:1px solid gray; color:#666666; } \
496 QTextEdit::hover{ border:1px solid rgb(22, 154, 243); } \
497 QTextEdit::disabled{ color:#BBBBBB; border:1px solid #BBBBBB; }";
501 QHeaderView{ background-color:white; color:black; }";
505 QWidget{ background:rgba(255, 255, 255, 50); color:white; font-weight:bold; }";
509 QSpinBox{ font-size:12px; color:#666666; font-weight:normal; border:1px solid gray; } \
510 QSpinBoxt::hover{ border:1px solid rgb(22, 154, 243); } \
511 QSpinBox::up-button{ image:url(:/image/btn_up_arrow); } \
512 QSpinBox::down-button{ image:url(:/image/btn_down_arrow); } \
513 QSpinBox::disabled{ color:#BBBBBB; border:1px solid #BBBBBB; }";
517 QProgressBar{ border:none; background:rgb(210, 225, 240); text-align:center; } \
518 QProgressBar::chunk{ background:rgb(60, 140, 220); }";
522 QAbstractItemView::item{ height:20px; }";
527 #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 MenuStyle05
static const QString FontStyle06
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 application object.
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 BackgroundStyle13
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 LabelStyle03
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