forked from openkylin/ukui-menu
#128492,解决字母和功能分类固定到所有软件未置顶问题
This commit is contained in:
parent
4f319a7d7c
commit
effe8637bc
|
@ -210,6 +210,7 @@ void FullFunctionWidget::insertAppList(QStringList desktopfplist)
|
|||
listview->addData(m_data);
|
||||
connect(listview, &FullListView::sendItemClickedSignal, this, &FullFunctionWidget::execApplication);
|
||||
connect(listview, &FullListView::sendHideMainWindowSignal, this, &FullFunctionWidget::sendHideMainWindowSignal);
|
||||
connect(listview, &FullListView::sendUpdateAppListSignal, this, &FullFunctionWidget::sendUpdateCommonView);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -195,6 +195,8 @@ Q_SIGNALS:
|
|||
|
||||
void changeScrollValue(int value, int maximumValue);
|
||||
|
||||
void sendUpdateCommonView();
|
||||
|
||||
};
|
||||
|
||||
#endif // FULLFUNCTIONWIDGET_H
|
||||
|
|
|
@ -210,6 +210,7 @@ void FullLetterWidget::fillAppList()
|
|||
listview->addData(m_data);
|
||||
connect(listview, &FullListView::sendItemClickedSignal, this, &FullLetterWidget::execApplication);
|
||||
connect(listview, &FullListView::sendHideMainWindowSignal, this, &FullLetterWidget::sendHideMainWindowSignal);
|
||||
connect(listview, &FullListView::sendUpdateAppListSignal, this, &FullLetterWidget::sendUpdateCommonView);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -197,6 +197,8 @@ Q_SIGNALS:
|
|||
void selectFirstItem();
|
||||
|
||||
void changeScrollValue(int value, int maximumValue);
|
||||
|
||||
void sendUpdateCommonView();
|
||||
};
|
||||
|
||||
#endif // FULLLETTERWIDGET_H
|
||||
|
|
|
@ -209,6 +209,8 @@ void FullMainWindow::initConnect()
|
|||
connect(this, &FullMainWindow::sendSetFocusToResult, m_fullResultPage, &FullSearchResultWidget::selectFirstItemTab);
|
||||
// connect(m_fullSelectMenuButton, &QToolButton::clicked, this, &FullMainWindow::on_fullSelectMenuButton_clicked);
|
||||
connect(m_fullCommonPage, &FullCommonUseWidget::sendUpdateOtherView, this, &FullMainWindow::sendUpdateOtherView);
|
||||
connect(m_fullFunctionPage, &FullFunctionWidget::sendUpdateCommonView, m_fullCommonPage, &FullCommonUseWidget::updateListViewSlot);
|
||||
connect(m_fullLetterPage, &FullLetterWidget::sendUpdateCommonView, m_fullCommonPage, &FullCommonUseWidget::updateListViewSlot);
|
||||
connect(m_fullCommonPage, &FullCommonUseWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
|
||||
connect(m_fullFunctionPage, &FullFunctionWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
|
||||
connect(m_fullLetterPage, &FullLetterWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide);
|
||||
|
|
|
@ -571,6 +571,7 @@ void MainWindow::initUi()
|
|||
connect(m_minFuncListView, &ListView::sendUpdateAppListSignal, this, &MainWindow::updateView);
|
||||
connect(m_minLetterListView, &ListView::sendUpdateAppListSignal, this, &MainWindow::updateView);
|
||||
connect(m_minSearchResultListView, &ListView::sendUpdateAppListSignal, this, &MainWindow::updateView);
|
||||
connect(m_collectListView, &RightListView::sendUpdateAppListSignal, this, &MainWindow::updateView);
|
||||
connect(m_minAllListView, &ListView::sendCollectViewUpdate, this, &MainWindow::updateCollectView);
|
||||
connect(m_minFuncListView, &ListView::sendCollectViewUpdate, this, &MainWindow::updateCollectView);
|
||||
connect(m_minSearchResultListView, &ListView::sendCollectViewUpdate, this, &MainWindow::updateCollectView);
|
||||
|
|
Loading…
Reference in New Issue