mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt: Implement logging widget (+ configuration)
This commit is contained in:
@ -34,6 +34,7 @@
|
||||
#include "DolphinQt2/Config/ControllersWindow.h"
|
||||
|
||||
#include "DolphinQt2/Config/Graphics/GraphicsWindow.h"
|
||||
#include "DolphinQt2/Config/LoggerWidget.h"
|
||||
#include "DolphinQt2/Config/Mapping/MappingWindow.h"
|
||||
#include "DolphinQt2/Config/SettingsWindow.h"
|
||||
#include "DolphinQt2/Host.h"
|
||||
@ -134,6 +135,7 @@ void MainWindow::CreateComponents()
|
||||
m_controllers_window = new ControllersWindow(this);
|
||||
m_settings_window = new SettingsWindow(this);
|
||||
m_hotkey_window = new MappingWindow(this, 0);
|
||||
m_logger_widget = new LoggerWidget(this);
|
||||
|
||||
connect(this, &MainWindow::EmulationStarted, m_settings_window,
|
||||
&SettingsWindow::EmulationStarted);
|
||||
@ -199,10 +201,12 @@ void MainWindow::ConnectMenuBar()
|
||||
connect(m_menu_bar, &MenuBar::ShowList, m_game_list, &GameList::SetListView);
|
||||
connect(m_menu_bar, &MenuBar::ColumnVisibilityToggled, m_game_list,
|
||||
&GameList::OnColumnVisibilityToggled);
|
||||
|
||||
connect(m_menu_bar, &MenuBar::GameListPlatformVisibilityToggled, m_game_list,
|
||||
&GameList::OnGameListVisibilityChanged);
|
||||
connect(m_menu_bar, &MenuBar::GameListRegionVisibilityToggled, m_game_list,
|
||||
&GameList::OnGameListVisibilityChanged);
|
||||
|
||||
connect(m_menu_bar, &MenuBar::ShowAboutDialog, this, &MainWindow::ShowAboutDialog);
|
||||
|
||||
connect(this, &MainWindow::EmulationStarted, m_menu_bar, &MenuBar::EmulationStarted);
|
||||
@ -269,7 +273,9 @@ void MainWindow::ConnectRenderWidget()
|
||||
void MainWindow::ConnectStack()
|
||||
{
|
||||
m_stack->addWidget(m_game_list);
|
||||
|
||||
setCentralWidget(m_stack);
|
||||
addDockWidget(Qt::RightDockWidgetArea, m_logger_widget);
|
||||
}
|
||||
|
||||
void MainWindow::Open()
|
||||
|
Reference in New Issue
Block a user