Merge branch 'ukss-dev' into 'ukss-dev'
修复bug:#96279 【搜索】打开搜索页面后调整透明度会造成ui错误 See merge request kylin-desktop/ukui-search!349
This commit is contained in:
commit
3c7ffb4997
|
@ -75,6 +75,11 @@ SearchLineEdit::SearchLineEdit(QWidget *parent) : QLineEdit(parent) {
|
||||||
m_timer->start(0.1 * 1000);
|
m_timer->start(0.1 * 1000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//跟随主题透明度变化
|
||||||
|
connect(qApp, &QApplication::paletteChanged, this, [=]() {
|
||||||
|
update();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchLineEdit::~SearchLineEdit() {
|
SearchLineEdit::~SearchLineEdit() {
|
||||||
|
|
|
@ -173,6 +173,10 @@ void SearchResultPage::initConnections()
|
||||||
sendResizeWidthSignal(280);
|
sendResizeWidthSignal(280);
|
||||||
});
|
});
|
||||||
connect(this, &SearchResultPage::setSelectionInfo, m_resultArea, &ResultArea::setSelectionInfo);
|
connect(this, &SearchResultPage::setSelectionInfo, m_resultArea, &ResultArea::setSelectionInfo);
|
||||||
|
//跟随主题透明度变化
|
||||||
|
connect(qApp, &QApplication::paletteChanged, this, [=]() {
|
||||||
|
update();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchResultPage::setupConnectionsForWidget(ResultWidget *widget)
|
void SearchResultPage::setupConnectionsForWidget(ResultWidget *widget)
|
||||||
|
|
Loading…
Reference in New Issue