Debian Codegraph @

Source/Core/DolphinQt/Config/ControllersPane.cpp

raw symbols SCIP
1 // Copyright 2025 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #include "DolphinQt/Config/ControllersPane.h"
5
6 #include <QVBoxLayout>
7
8 #include "DolphinQt/Config/CommonControllersWidget.h"
9 #include "DolphinQt/Config/GamecubeControllersWidget.h"
10 #include "DolphinQt/Config/WiimoteControllersWidget.h"
11
12 ControllersPane::ControllersPane()
13 {
14 CreateMainLayout();
15 }
16
17 void ControllersPane::CreateMainLayout()
18 {
19 auto* const layout = new QVBoxLayout{this};
20
21 auto* const gamecube_controllers = new GamecubeControllersWidget(this);
22 m_wiimote_controllers = new WiimoteControllersWidget(this);
23 auto* const common = new CommonControllersWidget(this);
24
25 layout->addWidget(gamecube_controllers);
26 layout->addWidget(m_wiimote_controllers);
27 layout->addWidget(common);
28 layout->addStretch(1);
29 }