mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 11:57:57 -05:00
configuration_shared: Create Tab base class
This commit is contained in:
@ -5,10 +5,23 @@
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QWidget>
|
||||
#include <qobjectdefs.h>
|
||||
#include "common/settings.h"
|
||||
|
||||
namespace ConfigurationShared {
|
||||
|
||||
class Tab : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Tab(QWidget* parent = nullptr);
|
||||
~Tab();
|
||||
|
||||
virtual void ApplyConfiguration() = 0;
|
||||
virtual void SetConfiguration() = 0;
|
||||
};
|
||||
|
||||
constexpr int USE_GLOBAL_INDEX = 0;
|
||||
constexpr int USE_GLOBAL_SEPARATOR_INDEX = 1;
|
||||
constexpr int USE_GLOBAL_OFFSET = 2;
|
||||
|
Reference in New Issue
Block a user