diff --git a/frontend/control/list-labels/show-more-label.cpp b/frontend/control/list-labels/show-more-label.cpp index c073cc8..e0a2244 100644 --- a/frontend/control/list-labels/show-more-label.cpp +++ b/frontend/control/list-labels/show-more-label.cpp @@ -30,13 +30,13 @@ ShowMoreLabel::ShowMoreLabel(QWidget *parent) : QWidget(parent) { void ShowMoreLabel::resetLabel() { m_isOpen = false; - m_iconLabel->setPixmap(QIcon::fromTheme("pan-down-symbolic", QIcon(":/res/icons/pan-down-symbolic.svg")).pixmap(QSize(16, 16))); + m_iconLabel->setPixmap(QIcon::fromTheme("ukui-down-symbolic", QIcon(":/res/icons/ukui-down-symbolic.svg")).pixmap(QSize(16, 16))); } void ShowMoreLabel::setLabel() { m_isOpen = true; - m_iconLabel->setPixmap(QIcon::fromTheme("pan-up-symbolic", QIcon(":/res/icons/pan-up-symbolic.svg")).pixmap(QSize(16, 16))); + m_iconLabel->setPixmap(QIcon::fromTheme("ukui-up-symbolic", QIcon(":/res/icons/ukui-up-symbolic.svg")).pixmap(QSize(16, 16))); } /** @@ -53,7 +53,7 @@ void ShowMoreLabel::initUi() { m_layout = new QHBoxLayout(this); m_layout->setContentsMargins(0, 0, 0, 6); m_iconLabel = new QLabel(this); - m_iconLabel->setPixmap(QIcon::fromTheme("pan-down-symbolic", QIcon(":/res/icons/pan-down-symbolic.svg")).pixmap(QSize(16, 16))); + m_iconLabel->setPixmap(QIcon::fromTheme("ukui-down-symbolic", QIcon(":/res/icons/ukui-down-symbolic.svg")).pixmap(QSize(16, 16))); m_iconLabel->setCursor(QCursor(Qt::PointingHandCursor)); m_iconLabel->installEventFilter(this); // m_loadingIconLabel = new QLabel(this); //使用图片显示加载状态时,取消此label的注释 @@ -72,11 +72,11 @@ bool ShowMoreLabel::eventFilter(QObject *watched, QEvent *event) { if(event->type() == QEvent::MouseButtonPress) { if(! m_timer->isActive()) { if(!m_isOpen) { - m_iconLabel->setPixmap(QIcon::fromTheme("pan-up-symbolic", QIcon(":/res/icons/pan-up-symbolic.svg")).pixmap(QSize(16, 16))); + m_iconLabel->setPixmap(QIcon::fromTheme("ukui-up-symbolic", QIcon(":/res/icons/ukui-up-symbolic.svg")).pixmap(QSize(16, 16))); m_isOpen = true; Q_EMIT this->showMoreClicked(); } else { - m_iconLabel->setPixmap(QIcon::fromTheme("pan-down-symbolic", QIcon(":/res/icons/pan-down-symbolic.svg")).pixmap(QSize(16, 16))); + m_iconLabel->setPixmap(QIcon::fromTheme("ukui-down-symbolic", QIcon(":/res/icons/ukui-down-symbolic.svg")).pixmap(QSize(16, 16))); m_isOpen = false; Q_EMIT this->retractClicked(); } diff --git a/frontend/res/icons/pan-down-symbolic.svg b/frontend/res/icons/pan-down-symbolic.svg deleted file mode 100644 index f941937..0000000 --- a/frontend/res/icons/pan-down-symbolic.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/res/icons/pan-up-symbolic.svg b/frontend/res/icons/pan-up-symbolic.svg deleted file mode 100644 index 4cab334..0000000 --- a/frontend/res/icons/pan-up-symbolic.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/frontend/res/icons/ukui-down-symbolic.svg b/frontend/res/icons/ukui-down-symbolic.svg new file mode 100644 index 0000000..2452885 --- /dev/null +++ b/frontend/res/icons/ukui-down-symbolic.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/frontend/res/icons/ukui-up-symbolic.svg b/frontend/res/icons/ukui-up-symbolic.svg new file mode 100644 index 0000000..5aa76f1 --- /dev/null +++ b/frontend/res/icons/ukui-up-symbolic.svg @@ -0,0 +1,13 @@ + + + + + + + diff --git a/frontend/resource.qrc b/frontend/resource.qrc index 5910f68..6cc239c 100644 --- a/frontend/resource.qrc +++ b/frontend/resource.qrc @@ -6,7 +6,7 @@ res/qt-translations/qt_zh_CN.qm res/icons/net-disconnected.svg res/icons/system-search.symbolic.png - res/icons/pan-up-symbolic.svg - res/icons/pan-down-symbolic.svg + res/icons/ukui-up-symbolic.svg + res/icons/ukui-down-symbolic.svg