LIDL Soundboard  1.9.0
A simple soundboard, yet better than EXP Soundboard forsenE
GameSelector Class Reference

#include <GameSelector.h>

Inheritance diagram for GameSelector:
Inheritance graph
Collaboration diagram for GameSelector:
Collaboration graph

Public Slots

void RefreshProfiles ()
 RefreshProfiles. More...
 

Signals

void RefreshWrappers (QVector< std::shared_ptr< SoundWrapper >>)
 
void RefreshComboBox ()
 

Public Member Functions

 GameSelector (QWidget *parent=nullptr)
 

Public Attributes

Ui::GameSelector * _gameSelectorUi
 
ProfileEdit_profileEdit
 

Constructor & Destructor Documentation

◆ GameSelector()

Member Function Documentation

◆ RefreshComboBox

void GameSelector::RefreshComboBox ( )
signal

◆ RefreshProfiles

void GameSelector::RefreshProfiles ( )
slot

RefreshProfiles.

Will refresh the combo box and fill it with the available profiles. Will also re-load the active profile. However it will prevent the combobox from emitting event to avoid infinite recursion. It will MANUALLY call the function to AddSounds in the UI. See ProfileController.h for more details

References _gameSelectorUi, LIDL::Controller::ProfileController::GetActiveProfile(), LIDL::Controller::ProfileController::GetInstance(), Profile::GetName(), and LIDL::Controller::ProfileController::GetProfiles().

Referenced by GameSelector().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RefreshWrappers

void GameSelector::RefreshWrappers ( )
signal

Referenced by SoundboardMainUI::SoundboardMainUI().

Here is the caller graph for this function:

Member Data Documentation

◆ _gameSelectorUi

Ui::GameSelector* GameSelector::_gameSelectorUi

Referenced by GameSelector(), and RefreshProfiles().

◆ _profileEdit

ProfileEdit* GameSelector::_profileEdit

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