MCPcopy Create free account
hub / github.com/clementgallet/libTAS / createSettingsMenu

Method createSettingsMenu

src/program/ui/MainWindow.cpp:623–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623void MainWindow::createSettingsMenu()
624{
625 /* Settings Menu */
626 QMenu *settingsMenu = menuBar()->addMenu(tr("Settings"));
627 settingsMenu->addAction(tr("Runtime..."), this, [this] { windowManager->openRuntimeSettingsWindow(); });
628 settingsMenu->addAction(tr("Movie..."), this, [this] { windowManager->openMovieSettingsTab(); });
629 settingsMenu->addAction(tr("Inputs..."), this, [this] { windowManager->openInputSettingsTab(); });
630 settingsMenu->addAction(tr("Audio..."), this, [this] { windowManager->openAudioSettingsTab(); });
631 settingsMenu->addAction(tr("Video..."), this, [this] { windowManager->openVideoSettingsTab(); });
632 settingsMenu->addAction(tr("Debug..."), this, [this] { windowManager->openDebugSettingsTab(); });
633 settingsMenu->addAction(tr("Game Specific..."), this, [this] { windowManager->openGameSpecificSettingsTab(); });
634 settingsMenu->addAction(tr("Paths..."), this, [this] { windowManager->openPathSettingsTab(); });
635}
636
637void MainWindow::createMovieMenu()
638{

Callers

nothing calls this directly

Calls 8

openMovieSettingsTabMethod · 0.80
openInputSettingsTabMethod · 0.80
openAudioSettingsTabMethod · 0.80
openVideoSettingsTabMethod · 0.80
openDebugSettingsTabMethod · 0.80
openPathSettingsTabMethod · 0.80

Tested by

no test coverage detected