67 QWidget* parent =
nullptr,
79 QWidget* parent =
nullptr,
96 void profileApplied(
const std::string& gameId,
const std::string& profileId);
99 void onProfileSelected(QListWidgetItem* current, QListWidgetItem* previous);
100 void onCreateProfile();
101 void onDeleteProfile();
102 void onApplyProfile();
103 void onPresetSelected(
int index);
104 void onSettingsChanged();
105 void onGameSelected(
int index);
109 void setupProfileList();
110 void setupProfileEditor();
111 void refreshProfileList();
112 void loadProfileSettings(
const std::string& profileId);
113 void saveCurrentProfile();
114 void updateButtonStates();
119 const Game* game_ =
nullptr;
123 std::string currentProfileId_;
124 bool isGlobalMode_ =
false;
125 bool isDirty_ =
false;
128 QListWidget* profileList_ =
nullptr;
129 QPushButton* createBtn_ =
nullptr;
130 QPushButton* deleteBtn_ =
nullptr;
131 QComboBox* gameCombo_ =
nullptr;
134 QWidget* editorPanel_ =
nullptr;
135 QLineEdit* nameEdit_ =
nullptr;
136 QTextEdit* descEdit_ =
nullptr;
137 QComboBox* presetCombo_ =
nullptr;
140 QGroupBox* displayGroup_ =
nullptr;
141 QCheckBox* mangoHudCheck_ =
nullptr;
142 QCheckBox* gameModCheck_ =
nullptr;
143 QCheckBox* gamescopeCheck_ =
nullptr;
144 QCheckBox* vkbasaltCheck_ =
nullptr;
147 QGroupBox* gamescopeGroup_ =
nullptr;
148 QSpinBox* gamescopeWidthSpin_ =
nullptr;
149 QSpinBox* gamescopeHeightSpin_ =
nullptr;
150 QCheckBox* gamescopeFullscreenCheck_ =
nullptr;
151 QCheckBox* gamescopeBorderlessCheck_ =
nullptr;
152 QComboBox* gamescopeScalerCombo_ =
nullptr;
153 QSpinBox* gamescopeFpsLimitSpin_ =
nullptr;
156 QGroupBox* wineGroup_ =
nullptr;
157 QCheckBox* fsyncCheck_ =
nullptr;
158 QCheckBox* esyncCheck_ =
nullptr;
159 QCheckBox* ntsyncCheck_ =
nullptr;
160 QCheckBox* dxvkAsyncCheck_ =
nullptr;
161 QCheckBox* dxvkHudCheck_ =
nullptr;
164 QGroupBox* envGroup_ =
nullptr;
165 QTextEdit* envVarsEdit_ =
nullptr;
168 QPushButton* applyBtn_ =
nullptr;
169 QPushButton* closeBtn_ =
nullptr;