swift
Public Types | Signals | Public Member Functions | List of all members
swift::gui::components::CSettingsComponent Class Reference

Settings component. More...

Inheritance diagram for swift::gui::components::CSettingsComponent:
[legend]

Public Types

enum  SettingTab {
  SettingTabOverview , SettingTabServers , SettingTabGui , SettingTabNetwork ,
  SettingTabHotkeys , SettingTabAudio , SettingTabDataAndCaches , SettingTabSimulator ,
  SettingTabSimulatorBasics , SettingTabSimulatorMessages , SettingTabMatching , SettingTabAdvanced
}
 Tabs. More...
 

Signals

void changedWindowsOpacity (int opacity)
 Change the windows opacity 0..100.
 

Public Member Functions

 CSettingsComponent (QWidget *parent=nullptr)
 Constructor.
 
 ~CSettingsComponent ()
 Destructor.
 
swift::misc::simulation::settings::CSpecializedSimulatorSettings getSimulatorSettings (const swift::misc::simulation::CSimulatorInfo &simulator) const
 Settings for given simulator.
 
void setTab (SettingTab tab)
 Set the tab.
 
void setSettingsOverviewTab ()
 Set the overview tab.
 
void setGuiOpacity (double value)
 GUI Opacity 0-100%.
 

Detailed Description

Settings component.

Definition at line 26 of file settingscomponent.h.

Member Enumeration Documentation

◆ SettingTab

Tabs.

Remarks
needs to be in sync with tab order

Definition at line 33 of file settingscomponent.h.


The documentation for this class was generated from the following files: