fix(UI模块): 修改面包屑的间距,设置微信和QQ里分类列表项大小数据
This commit is contained in:
parent
bab8f1d912
commit
397221a50d
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue