void MusicSettingWidget::lrcColorByDefault(Type key, int index)
{
    if(index == -1)
    {
        return;
    }
    QColor color(Qt::black);
    switch(index)
    {
        case 0: color = QColor(14, 179, 255);break;
        case 1: color = QColor(214, 51, 44);break;
        case 2: color = QColor(230, 130, 52);break;
        case 3: color = QColor(243, 209, 0);break;
        case 4: color = QColor(62, 164, 140);break;
        case 5: color = QColor(76, 147, 193);break;
        case 6: color = QColor(29, 237, 235);break;
        case 7: color = QColor(156, 115, 155);break;
        case 8: color = QColor(255, 255, 255);break;
        case 9: color = QColor(0, 0, 0);break;
        default: break;
    }

    QPixmap pixmap(16, 16);
    pixmap.fill(color);
    key == Inline ? ui->noPlayedPushButton->setIcon(QIcon(pixmap))
                  : ui->DnoPlayedPushButton->setIcon(QIcon(pixmap));
    pixmap.fill(QColor(222, 54, 4));
    key == Inline ? ui->playedPushButton->setIcon(QIcon(pixmap))
                  : ui->DplayedPushButton->setIcon(QIcon(pixmap));

    key == Inline ? m_lrcSelectedFg = QColor(222, 54, 4) : m_DlrcSelectedFg = QColor(222, 54, 4);
    key == Inline ? m_lrcSelectedBg = color : m_DlrcSelectedBg = color;
    key == Inline ? showInlineLrcDemo() : showDesktopLrcDemo();
}
void MusicSettingWidget::lcrColorValue(Type key, QString type, QPushButton *obj)
{
    key == Inline ? ui->fontDefaultColorComboBox->setCurrentIndex(-1)
    : ui->DfontDefaultColorComboBox->setCurrentIndex(-1);
    QColorDialog getColor(Qt::white, this);
    if(getColor.exec())
    {
        QColor color = getColor.selectedColor();
        QPixmap pixmap(16, 16);
        pixmap.fill(color);
        obj->setIcon(QIcon(pixmap));
        if(type == "DLRCFGCOLORCHOICED") m_DlrcSelectedFg = color;
        if(type == "DLRCBGCOLORCHOICED") m_DlrcSelectedBg = color;
        if(type == "LRCFGCOLORCHOICED") m_lrcSelectedFg = color;
        if(type == "LRCBGCOLORCHOICED") m_lrcSelectedBg = color;
    }
    key == Inline ? showInlineLrcDemo(-1) : showDesktopLrcDemo(-1);
}