summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsWidget.h
blob: 46cdc8b971ce06b02e4fa8e22753f95c0dd4e239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <QWidget>

class GraphicsWindow;
class QFormLayout;
class QGroupBox;
class QLabel;

class GraphicsWidget : public QWidget
{
  Q_OBJECT
public:
  explicit GraphicsWidget(GraphicsWindow* parent);

signals:
  void DescriptionAdded(QWidget* widget, const char* description);

protected:
  void AddDescription(QWidget* widget, const char* description);

  virtual void LoadSettings() = 0;
  virtual void SaveSettings() = 0;

private:
  QFormLayout* m_main_layout;
};