UI: Massive revamp, new features and improvements
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
class QtHostInterface;
|
||||
class SettingsDialog;
|
||||
|
||||
class MemoryCardSettingsWidget : public QWidget
|
||||
@@ -16,11 +15,11 @@ class MemoryCardSettingsWidget : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MemoryCardSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
||||
MemoryCardSettingsWidget(SettingsDialog* dialog, QWidget* parent);
|
||||
~MemoryCardSettingsWidget();
|
||||
|
||||
private:
|
||||
QtHostInterface* m_host_interface;
|
||||
SettingsDialog* m_dialog;
|
||||
|
||||
struct PortSettingsUI
|
||||
{
|
||||
@@ -34,9 +33,8 @@ private:
|
||||
void createPortSettingsUi(SettingsDialog* dialog, int index, PortSettingsUI* ui);
|
||||
void onBrowseMemoryCardPathClicked(int index);
|
||||
void onResetMemoryCardPathClicked(int index);
|
||||
void onOpenMemCardsDirectoryClicked();
|
||||
void onBrowseMemCardsDirectoryClicked();
|
||||
void onResetMemCardsDirectoryClicked();
|
||||
void onMemoryCardPathChanged(int index);
|
||||
void updateMemoryCardPath(int index);
|
||||
|
||||
std::array<PortSettingsUI, 2> m_port_ui = {};
|
||||
QLineEdit* m_memory_card_directory = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user