mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-01 03:53:21 +00:00
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
33 lines
621 B
C++
33 lines
621 B
C++
// Copyright 2021 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QCheckBox;
|
|
class QGroupBox;
|
|
class QVBoxLayout;
|
|
class QPushButton;
|
|
|
|
class CommonControllersWidget final : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CommonControllersWidget(QWidget* parent);
|
|
|
|
private:
|
|
void OnControllerInterfaceConfigure();
|
|
|
|
void CreateLayout();
|
|
void ConnectWidgets();
|
|
|
|
void LoadSettings();
|
|
void SaveSettings();
|
|
|
|
QGroupBox* m_common_box;
|
|
QVBoxLayout* m_common_layout;
|
|
QCheckBox* m_common_bg_input;
|
|
QPushButton* m_common_configure_controller_interface;
|
|
};
|