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:
parent
1be913b97b
commit
93196c8845
1 changed files with 14 additions and 0 deletions
|
@ -74,6 +74,20 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
|
||||||
});
|
});
|
||||||
gameBoxLayout->addWidget(gameDirectoryButton);
|
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)
|
#if defined(Q_OS_MAC) || defined(Q_OS_LINUX)
|
||||||
auto wineBox = new QGroupBox("Wine Options");
|
auto wineBox = new QGroupBox("Wine Options");
|
||||||
auto wineBoxLayout = new QFormLayout();
|
auto wineBoxLayout = new QFormLayout();
|
||||||
|
|
Loading…
Add table
Reference in a new issue