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

@ -5,7 +5,7 @@
#include <array>
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
#include <QWidget>
class ConfigBool;
class ConfigChoice;
@ -17,15 +17,15 @@ class QPushButton;
class QSlider;
class ToolTipComboBox;
class EnhancementsWidget final : public GraphicsWidget
class EnhancementsWidget final : public QWidget
{
Q_OBJECT
public:
explicit EnhancementsWidget(GraphicsWindow* parent);
private:
void LoadSettings() override;
void SaveSettings() override;
void LoadSettings();
void SaveSettings();
void CreateWidgets();
void ConnectWidgets();