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);";
123 border:1px solid gray;";
126 border:1px solid #0095CD;";
129 border-top:1px dashed gray;";
135 border-top-left-radius:5px; border-top-right-radius:5px;";
162 QToolButton{ background-color:transparent; " +
164 QString(
"border-style:falt; }");
170 QToolButton::hover{ border:1px solid #000000; }";
173 QToolButton{ border:none; }";
176 QToolButton::hover{ background-color:rgba(255, 255, 255, 20); }";
179 QToolButton{ border:1px solid #777777; background:#FFFFFF; color:#555555; } \
180 QToolButton::hover{ border:1px solid #444444; color:#222222; } \
181 QToolButton::disabled{ color:#999999; border:1px solid #BBBBBB; }";
185 QPushButton{ background-color:transparent; " +
187 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 QString(
"QMenu::item::icon{ padding:6px 40px 6px 10px; }");
338 QString(
"QMenu::item::icon{ padding:6px 30px 6px 10px; }");
345 QMenu{ background:rgba(255, 255, 255, 235); }";
348 QMenu{ border:none; background:rgba(0, 0, 0, 210); border-radius:4px; } \
349 QMenu::item{ color:#BBBBBB; } \
350 QMenu::item:disabled{ color:#555555; } \
351 QMenu::item:selected{ background:rgba(0, 0, 0, 200); } \
352 QMenu::separator{ background:#BBBBBB; } \
353 QMenu::item::icon{ padding:6px 10px 6px 10px; }";
356 #if !TTK_QT_VERSION_CHECK(5,12,0)
357 QString(
"QMenu::item::icon{ padding:6px 10px 6px 30px; }");
363 QMenu{ border:none; background:transparent; }";
367 QSlider::groove:horizontal{ \
368 background:#FFFEA1; height:3px; border-radius:1px; } \
369 QSlider::sub-page:horizontal{ background:#FFFEA1; } \
370 QSlider::add-page:horizontal{ background:#4E4F4F; } \
371 QSlider::handle:horizontal{ background:#FFFEA1; \
372 width:9px; margin-top:-3px; margin-bottom:-3px; border-radius:4px; }";
375 QSlider::groove:vertical{ \
376 background: #FFFEA1; width:3px; border-radius:1px; } \
377 QSlider::sub-page:vertical{ background:#4E4F4F; } \
378 QSlider::add-page:vertical{ background:#FFFEA1; } \
379 QSlider::handle:vertical{ background:#FFFEA1; \
380 height:9px; margin-left:-3px; margin-right:-3px; border-radius:4px; }";
383 QSlider::groove:vertical{ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, \
384 stop:0 #B5B4B4, stop:1 #FCFCFC); width:3px; } \
385 QSlider::handle:vertical{ border-image:url(:/control/lb_slider_handle_normal); \
386 height:21px; margin-left:-8px; margin-right:-8px; } \
387 QSlider::handle:vertical:disabled{ border-image:url(:/control/lb_slider_disable); } \
388 QSlider::handle:vertical:hover{ border-image:url(:/control/lb_slider_handle_hover); border:none; }";
391 QSlider::groove:vertical{ background:white; } \
392 QSlider::sub-page:vertical{ background:#AFC7F8; } \
393 QSlider::add-page:vertical{ background:white; border:1px solid #ACF; }";
396 QSlider::groove:horizontal{ background: qlineargradient(x1:0, y1:0, x2:0, y2:1, \
397 stop:0 #B5B4B4, stop:1 #FCFCFC); height:4px; } \
398 QSlider::handle:horizontal{ border-image:url(:/control/lb_slider_handle_normal); \
399 width:21px; margin-top:-8px; margin-bottom:-8px; } \
400 QSlider::handle:horizontal:disabled{ border-image:url(:/control/lb_slider_disable); } \
401 QSlider::handle:horizontal:hover{ border-image:url(:/control/lb_slider_handle_hover); border:none; }";
404 QSlider::groove:horizontal{ background:white; } \
405 QSlider::sub-page:horizontal{ background:#AFC7F8; } \
406 QSlider::add-page:horizontal{ background:white; border:1px solid #ACF; }";
409 QSlider::add-page:Horizontal{ background-color:rgba(120, 120, 120, 100); height:4px; } \
410 QSlider::sub-page:Horizontal{ background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, \
411 y2:0, stop:0 rgba(231, 80, 229, 255), stop:1 rgba(7, 208, 255, 255)); height:4px; } \
412 QSlider::groove:Horizontal{ background:transparent; height:4px; } \
413 QSlider::handle:Horizontal{ border-image:url(':/image/lb_slider'); \
414 width:8px; height:6px; margin:-2px 0px -2px 0px; }";
417 QSlider::groove:horizontal{ background-image:url(:/control/lb_volume_back); } \
418 QSlider::sub-page:horizontal{ border-image:url(:/control/lb_volume_fore); } \
419 QSlider::add-page:horizontal{ background-image:url(:/control/lb_volume_back); } \
420 QSlider::handle:horizontal{ margin:0px -2px 0px -2px; \
421 background-image:url(:/control/lb_volume_handle_normal); width:13px; } \
422 QSlider::handle:horizontal:hover{ background-image:url(:/control/lb_volume_handle_hover); }";
425 QSlider::groove:horizontal{ background-image:url(:/control/lb_volume_back); } \
426 QSlider::sub-page:horizontal{ border-image:url(:/control/lb_make_fore); } \
427 QSlider::add-page:horizontal{ border-image:url(:/control/lb_make_back); } \
428 QSlider::handle:horizontal{ margin:0px -1px 0px -1x; \
429 border-image:url(:/control/lb_make_slider_handle_normal); width:18px; } \
430 QSlider::handle:horizontal:hover{ border-image:url(:/control/lb_make_slider_handle_hover); } \
431 QSlider::handle:horizontal:disabled{ border-image:url(:/control/lb_make_slider_disable); }";
434 QSlider::groove:horizontal{ \
435 background:transparent; height:3px; border-radius:1px; } \
436 QSlider::sub-page:horizontal{ background:rgba(255, 255, 255, 190); } \
437 QSlider::add-page:horizontal{ background:rgba(255, 255, 255, 50); } \
438 QSlider::handle:horizontal{ background:rgba(255, 255, 255, 255); \
439 width:9px; margin-top:-3px; margin-bottom:-3px; border-radius:4px; }";
443 QComboBox{ border:1px solid gray; color:#666666; } \
444 QComboBox::hover{ border:1px solid rgb(22, 154, 243); } \
445 QComboBox::drop-down{ subcontrol-origin:padding; \
446 subcontrol-position:top right; width:20px; border-left:none; } \
447 QComboBox::down-arrow{ image:url(:/image/btn_down_arrow); } \
448 QComboBox::disabled{ border:1px solid #BBBBBB; }";
451 QComboBox{ border:none; } \
452 QComboBox::hover{ border:none; }";
456 QListView::item:hover{ background-color:rgba(20, 20, 20, 20); color:#444444; } \
457 QListWidget::item:selected{ background-color:rgba(20, 20, 20, 20); color:#444444; }";
460 QListWidget{ border:none; }";
464 #if defined Q_OS_UNIX && !TTK_QT_VERSION_CHECK(5,7,0) //Fix linux selection-background-color stylesheet bug
465 "QTableWidget::item:selected{ background:rgba(20, 20, 20, 20); }";
467 "QTableWidget{ selection-background-color:rgba(20, 20, 20, 20); }";
471 #if defined Q_OS_UNIX && !TTK_QT_VERSION_CHECK(5,7,0) //Fix linux selection-background-color stylesheet bug
472 "QTableWidget::item:selected{ background:rgb(220, 220, 220); }";
474 "QTableWidget{ selection-background-color:rgb(220, 220, 220); }";
479 QTabWidget{ border:none; } \
480 QTabWidget::pane{ border:none; } \
481 QTabBar::tab{ height:30px; width:100px; background-color:#BFBFBF; color:white; margin-left:0; margin-right:0; } \
482 QTabBar::tab:selected{ background-color:#158FE1; color:white}";
486 QTextEdit{ border:1px solid gray; color:#666666; } \
487 QTextEdit::hover{ border:1px solid rgb(22, 154, 243); } \
488 QTextEdit::disabled{ color:#BBBBBB; border:1px solid #BBBBBB; }";
492 QHeaderView{ background-color:white; color:black; }";
496 QWidget{ background:rgba(255, 255, 255, 50); color:white; font-weight:bold; }";
500 QSpinBox{ font-size:12px; color:#666666; font-weight:normal; border:1px solid gray; } \
501 QSpinBoxt::hover{ border:1px solid rgb(22, 154, 243); } \
502 QSpinBox::up-button{ image:url(:/image/btn_up_arrow); } \
503 QSpinBox::down-button{ image:url(:/image/btn_down_arrow); } \
504 QSpinBox::disabled{ color:#BBBBBB; border:1px solid #BBBBBB; }";
508 QProgressBar{ border:none; background:rgb(210, 225, 240); text-align:center; } \
509 QProgressBar::chunk{ background:rgb(60, 140, 220); }";
513 QAbstractItemView::item{ height:20px; }";
518 #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 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 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