Qt: Remove GraphicsWidget class

The old tooltip description box used GraphicsWidget to provide shared
code to the Graphics config panes for adding descriptions to their
settings.

The description box has been replaced by BalloonTips and serves no
further purpose, so remove it and have the Graphics panes derive from
QWidget instead.
This commit is contained in:
Dentomologist
2023-04-28 20:48:48 -07:00
parent d95a85212f
commit 5ca0430cb2
7 changed files with 17 additions and 32 deletions

View File

@ -3,22 +3,22 @@
#pragma once
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
#include <QWidget>
class ConfigBool;
class GraphicsWindow;
class QLabel;
class ToolTipSlider;
class HacksWidget final : public GraphicsWidget
class HacksWidget final : public QWidget
{
Q_OBJECT
public:
explicit HacksWidget(GraphicsWindow* parent);
private:
void LoadSettings() override;
void SaveSettings() override;
void LoadSettings();
void SaveSettings();
void OnBackendChanged(const QString& backend_name);