mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-26 19:28:44 +00:00
parent
79e5ce3819
commit
d07549505a
9 changed files with 219 additions and 2 deletions
|
@ -166,6 +166,11 @@ CodeViewWidget::CodeViewWidget()
|
|||
|
||||
FontBasedSizing();
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, this,
|
||||
[this](Qt::ColorScheme colorScheme) { OnSelectionChanged(); });
|
||||
#endif
|
||||
|
||||
connect(this, &CodeViewWidget::customContextMenuRequested, this, &CodeViewWidget::OnContextMenu);
|
||||
connect(this, &CodeViewWidget::itemSelectionChanged, this, &CodeViewWidget::OnSelectionChanged);
|
||||
connect(&Settings::Instance(), &Settings::DebugFontChanged, this,
|
||||
|
|
|
@ -160,6 +160,13 @@ void CodeWidget::CreateWidgets()
|
|||
|
||||
void CodeWidget::ConnectWidgets()
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, this,
|
||||
[this](Qt::ColorScheme colorScheme) {
|
||||
m_box_splitter->setStyleSheet(BOX_SPLITTER_STYLESHEET);
|
||||
});
|
||||
#endif
|
||||
|
||||
connect(m_search_address, &QLineEdit::textChanged, this, &CodeWidget::OnSearchAddress);
|
||||
connect(m_search_address, &QLineEdit::returnPressed, this, &CodeWidget::OnSearchAddress);
|
||||
connect(m_search_symbols, &QLineEdit::textChanged, this, &CodeWidget::OnSearchSymbols);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue