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:
parent
a489326fd5
commit
21e272ab66
2 changed files with 15 additions and 0 deletions
|
@ -21,6 +21,9 @@ public slots:
|
||||||
void reloadControls();
|
void reloadControls();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
void setupAccountsTab(QFormLayout& layout);
|
||||||
|
|
||||||
|
// profile specific tabs
|
||||||
void setupGameTab(QFormLayout& layout);
|
void setupGameTab(QFormLayout& layout);
|
||||||
void setupLoginTab(QFormLayout& layout);
|
void setupLoginTab(QFormLayout& layout);
|
||||||
void setupWineTab(QFormLayout& layout);
|
void setupWineTab(QFormLayout& layout);
|
||||||
|
|
|
@ -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);
|
tabWidget->setCurrentIndex(defaultTab);
|
||||||
|
|
||||||
reloadControls();
|
reloadControls();
|
||||||
|
@ -630,3 +638,7 @@ void SettingsWindow::setupDalamudTab(QFormLayout& layout) {
|
||||||
nativeLauncherVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
|
nativeLauncherVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
|
||||||
layout.addRow("Native Launcher Version", nativeLauncherVersionLabel);
|
layout.addRow("Native Launcher Version", nativeLauncherVersionLabel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SettingsWindow::setupAccountsTab(QFormLayout& layout) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue