1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-24 13:27:45 +00:00

Add a login options box

This commit is contained in:
redstrate 2021-11-09 11:06:42 -05:00
parent 1be913b97b
commit 93196c8845

View file

@ -74,6 +74,20 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
});
gameBoxLayout->addWidget(gameDirectoryButton);
auto loginBox = new QGroupBox("Login Options");
auto loginBoxLayout = new QFormLayout();
loginBox->setLayout(loginBoxLayout);
mainLayout->addWidget(loginBox, 1, 1);
auto rememberUsernameBox = new QCheckBox();
//rememberUsernameBox->setChecked(shouldRememberUsername);
loginBoxLayout->addRow("Remember Username?", rememberUsernameBox);
auto rememberPasswordBox = new QCheckBox();
//rememberPasswordBox->setChecked(shouldRememberPassword);
loginBoxLayout->addRow("Remember Password?", rememberPasswordBox);
#if defined(Q_OS_MAC) || defined(Q_OS_LINUX)
auto wineBox = new QGroupBox("Wine Options");
auto wineBoxLayout = new QFormLayout();