fix(UI模块): 修改面包屑的间距,设置微信和QQ里分类列表项大小数据

This commit is contained in:
liujialin@kylinos.cn 2022-10-11 17:26:29 +08:00
parent bab8f1d912
commit 397221a50d
4 changed files with 5 additions and 5 deletions

View File

@ -57,11 +57,10 @@ void MobileFileSecondWidget::initUI()
QHBoxLayout *fileListHLayout = new QHBoxLayout();
QPushButton *retreatButton = new QPushButton(this);
// retreatButton->setIcon(QIcon(":/image/retreat.png"));
retreatButton->setIcon(QIcon::fromTheme("go-next-rtl-symbolic"));
retreatButton->setFixedSize(16, 16);
retreatButton->setFlat(true);
retreatButton->setCursor(Qt::PointingHandCursor);
retreatButton->setStyleSheet("QPushButton{border-image:url(:/png/image/retreat.png);}");
QFont font;
font.setBold(true);

View File

@ -191,7 +191,6 @@ void MobileFileWidget::initUI()
fileListWidget->setFixedHeight(35);
fileListHLayout->addWidget(retreatButton);
fileListHLayout->addSpacing(20);
// fileListHLayout->addWidget(forwardButton);
// fileListHLayout->addSpacing(28);
fileListHLayout->addWidget(crumb);

View File

@ -1330,6 +1330,9 @@ void MainWindow::slotItemButtonClicked(int text)
m_downFileType = FileSyncManage::LIST_TYPE::TYPE_FILE_NUM;
// m_winFlage = WIN_FLAGE::WIN_INIT_QQWECHAT;
m_mobileFileSecondWidget = new MobileFileSecondWidget(text);
QMap<QString, int> fileNumMap;
m_fileSyncManage->getItemCount(fileNumMap);
m_mobileFileSecondWidget->setItemCount(fileNumMap);
//设置图片时间线的数据
m_stackedMobileFileListWin->addWidget(m_mobileFileSecondWidget);
m_loadAnimation = new LoadAnimation;
@ -1461,7 +1464,7 @@ void MainWindow::slotShowMobileFileSecondWidget(int indexPath)
{
m_fileSyncManage->abortDownThumb();
m_fileSyncIndex = 3;
// slotItemButtonClicked(indexPath);
slotItemButtonClicked(indexPath);
}
void MainWindow::slotShowMobileStorage()

View File

@ -140,7 +140,6 @@ void MobileStorageWidget::initUI()
refreshButton->setFlat(true);
fileListHLayout->addWidget(retreatButton);
fileListHLayout->addSpacing(20);
// fileListHLayout->addWidget(forwardButton);
// fileListHLayout->addSpacing(28);
fileListHLayout->addWidget(crumb);