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

Add placeholder tab for a new accounts interface

This commit is contained in:
Joshua Goins 2022-06-09 09:51:50 -04:00
parent a489326fd5
commit 21e272ab66
2 changed files with 15 additions and 0 deletions

View file

@ -21,6 +21,9 @@ public slots:
void reloadControls();
private:
void setupAccountsTab(QFormLayout& layout);
// profile specific tabs
void setupGameTab(QFormLayout& layout);
void setupLoginTab(QFormLayout& layout);
void setupWineTab(QFormLayout& layout);

View file

@ -154,6 +154,14 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC
}
}
{
auto accountsTabWidget = new QWidget();
tabWidget->addTab(accountsTabWidget, "Accounts");
auto accountsLayout = new QGridLayout();
accountsTabWidget->setLayout(accountsLayout);
}
tabWidget->setCurrentIndex(defaultTab);
reloadControls();
@ -630,3 +638,7 @@ void SettingsWindow::setupDalamudTab(QFormLayout& layout) {
nativeLauncherVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
layout.addRow("Native Launcher Version", nativeLauncherVersionLabel);
}
void SettingsWindow::setupAccountsTab(QFormLayout& layout) {
}