#include <mainwindow.h>
|
void | showBatteryLevel (SDL_JoystickPowerLevel powerLevSDL, QString batteryLev, QString percent, InputDevice *device) |
| Check state of batteries in controllers and notify user (only when powerLevSDL matches current battery level) More...
|
|
◆ MainWindow()
◆ ~MainWindow()
MainWindow::~MainWindow |
( |
| ) |
|
◆ addJoyTab
◆ alterConfigFromSettings
void MainWindow::alterConfigFromSettings |
( |
| ) |
|
|
slot |
◆ autoprofileLoad
◆ changeEvent()
void MainWindow::changeEvent |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
◆ changeLanguage
void MainWindow::changeLanguage |
( |
QString |
language | ) |
|
|
privateslot |
Change language used by the application.
- Parameters
-
◆ changeStartSetNumber() [1/2]
void MainWindow::changeStartSetNumber |
( |
int |
startSetNumber, |
|
|
int |
joystickIndex = 0 |
|
) |
| |
|
protected |
◆ changeStartSetNumber() [2/2]
void MainWindow::changeStartSetNumber |
( |
int |
startSetNumber, |
|
|
QString |
controllerID |
|
) |
| |
|
protected |
◆ changeWindowStatus
void MainWindow::changeWindowStatus |
( |
| ) |
|
|
slot |
◆ checkAutoProfileWatcherTimer
void MainWindow::checkAutoProfileWatcherTimer |
( |
| ) |
|
|
privateslot |
◆ checkEachTenMinutesBattery
void MainWindow::checkEachTenMinutesBattery |
( |
QMap< SDL_JoystickID, InputDevice * > * |
joysticks | ) |
|
|
slot |
◆ checkHideEmptyOption
void MainWindow::checkHideEmptyOption |
( |
| ) |
|
|
privateslot |
◆ closeEvent()
void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
protectedvirtual |
Check if the program should really quit or if it should be minimized.
- Parameters
-
◆ convertGUIDtoUniqueID()
void MainWindow::convertGUIDtoUniqueID |
( |
InputDevice * |
currentDevice, |
|
|
QString |
controlEntryLastSelectedGUID |
|
) |
| |
|
protected |
◆ disableFlashActions
void MainWindow::disableFlashActions |
( |
| ) |
|
|
privateslot |
◆ enableFlashActions
void MainWindow::enableFlashActions |
( |
| ) |
|
|
privateslot |
◆ eventFilter()
bool MainWindow::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
◆ fillButtons
void MainWindow::fillButtons |
( |
| ) |
|
|
slot |
◆ fillButtonsID
◆ fillButtonsMap
void MainWindow::fillButtonsMap |
( |
QMap< SDL_JoystickID, InputDevice * > * |
joysticks | ) |
|
|
slot |
◆ getAppTranslator()
QTranslator * MainWindow::getAppTranslator |
( |
| ) |
const |
◆ getGraphicalStatus()
bool MainWindow::getGraphicalStatus |
( |
| ) |
|
◆ getProfileActions()
const QMap< int, QList< QAction * > > & MainWindow::getProfileActions |
( |
| ) |
|
◆ getTranslator()
QTranslator * MainWindow::getTranslator |
( |
| ) |
const |
◆ handleInstanceDisconnect
void MainWindow::handleInstanceDisconnect |
( |
| ) |
|
|
slot |
◆ hideWindow
void MainWindow::hideWindow |
( |
| ) |
|
|
slot |
◆ isKeypadUnlocked()
bool MainWindow::isKeypadUnlocked |
( |
| ) |
|
◆ joystickRefreshRequested
void MainWindow::joystickRefreshRequested |
( |
| ) |
|
|
signal |
◆ joystickTrayShow
void MainWindow::joystickTrayShow |
( |
QMenu * |
tempmenu | ) |
|
|
privateslot |
◆ loadAppConfig
void MainWindow::loadAppConfig |
( |
bool |
forceRefresh = false | ) |
|
|
slot |
◆ loadConfigFile() [1/2]
void MainWindow::loadConfigFile |
( |
QString |
fileLocation, |
|
|
int |
joystickIndex = 0 |
|
) |
| |
|
protected |
◆ loadConfigFile() [2/2]
void MainWindow::loadConfigFile |
( |
QString |
fileLocation, |
|
|
QString |
controllerID |
|
) |
| |
|
protected |
◆ mainMenuChange
void MainWindow::mainMenuChange |
( |
QMenu * |
tempMenu | ) |
|
|
privateslot |
◆ makeJoystickTabs
void MainWindow::makeJoystickTabs |
( |
| ) |
|
|
slot |
◆ mappingUpdated
◆ openAboutDialog
void MainWindow::openAboutDialog |
( |
| ) |
|
|
privateslot |
◆ openCalibration
void MainWindow::openCalibration |
( |
| ) |
|
|
privateslot |
◆ openGitHubPage
void MainWindow::openGitHubPage |
( |
| ) |
|
|
privateslot |
◆ openIssuesPage
void MainWindow::openIssuesPage |
( |
| ) |
|
|
privateslot |
◆ openJoystickStatusWindow
void MainWindow::openJoystickStatusWindow |
( |
| ) |
|
|
privateslot |
◆ openKeyCheckerDialog
void MainWindow::openKeyCheckerDialog |
( |
| ) |
|
|
privateslot |
◆ openMainSettingsDialog
void MainWindow::openMainSettingsDialog |
( |
| ) |
|
|
privateslot |
Build list of current input devices and pass it to settings dialog instance. Open Settings dialog.
◆ openWikiPage
void MainWindow::openWikiPage |
( |
| ) |
|
|
privateslot |
◆ populateTrayIcon
void MainWindow::populateTrayIcon |
( |
| ) |
|
|
privateslot |
◆ profileTrayActionTriggered
void MainWindow::profileTrayActionTriggered |
( |
QAction * |
action, |
|
|
bool |
checked |
|
) |
| |
|
privateslot |
◆ propogateMappingUpdate
void MainWindow::propogateMappingUpdate |
( |
QString |
mapping, |
|
|
InputDevice * |
device |
|
) |
| |
|
privateslot |
◆ propogateNameDisplayStatus
void MainWindow::propogateNameDisplayStatus |
( |
JoyTabWidget * |
tabwidget, |
|
|
bool |
displayNames |
|
) |
| |
|
privateslot |
◆ quitProgram
void MainWindow::quitProgram |
( |
| ) |
|
|
slot |
◆ readConfig
void MainWindow::readConfig |
( |
int |
index | ) |
|
|
signal |
◆ refreshTabHelperThreads
void MainWindow::refreshTabHelperThreads |
( |
| ) |
|
|
slot |
◆ refreshTrayIconMenu
void MainWindow::refreshTrayIconMenu |
( |
| ) |
|
|
privateslot |
◆ removeJoyTab
void MainWindow::removeJoyTab |
( |
SDL_JoystickID |
deviceID | ) |
|
|
slot |
◆ removeJoyTabs
void MainWindow::removeJoyTabs |
( |
| ) |
|
|
slot |
◆ retranslateUi()
void MainWindow::retranslateUi |
( |
| ) |
|
|
protected |
◆ saveAppConfig
void MainWindow::saveAppConfig |
( |
| ) |
|
|
slot |
◆ selectControllerJoyTab
void MainWindow::selectControllerJoyTab |
( |
QString |
GUID | ) |
|
|
slot |
Select appropriate tab that has a device with the specified GUID.
- Parameters
-
◆ setAppTranslator()
void MainWindow::setAppTranslator |
( |
QTranslator * |
translator | ) |
|
◆ setTranslator()
void MainWindow::setTranslator |
( |
QTranslator * |
translator | ) |
|
◆ showBatteryLevel()
void MainWindow::showBatteryLevel |
( |
SDL_JoystickPowerLevel |
powerLevSDL, |
|
|
QString |
batteryLev, |
|
|
QString |
percent, |
|
|
InputDevice * |
device |
|
) |
| |
|
private |
Check state of batteries in controllers and notify user (only when powerLevSDL matches current battery level)
◆ showEvent()
void MainWindow::showEvent |
( |
QShowEvent * |
event | ) |
|
|
protectedvirtual |
◆ showStickAssignmentDialog
void MainWindow::showStickAssignmentDialog |
( |
| ) |
|
|
privateslot |
Show abstracted controller dialog for use in SDL 1.2. No longer used for versions of the program running SDL 2. In SDL 2, the Game Controller API is being used instead.
◆ singleTrayProfileMenuShow
void MainWindow::singleTrayProfileMenuShow |
( |
| ) |
|
|
privateslot |
Display a version of the tray menu that shows all recent profiles for all controllers in one list.
◆ startJoystickRefresh
void MainWindow::startJoystickRefresh |
( |
| ) |
|
|
slot |
◆ testMappingUpdateNow
◆ trayIconClickAction
void MainWindow::trayIconClickAction |
( |
QSystemTrayIcon::ActivationReason |
reason | ) |
|
|
privateslot |
◆ unloadCurrentConfig() [1/2]
void MainWindow::unloadCurrentConfig |
( |
int |
joystickIndex = 0 | ) |
|
|
protected |
◆ unloadCurrentConfig() [2/2]
void MainWindow::unloadCurrentConfig |
( |
QString |
controllerID | ) |
|
|
protected |
◆ updateMenuOptions
void MainWindow::updateMenuOptions |
( |
| ) |
|
|
privateslot |
TODO: Check if method is save to remove.
◆ aboutDialog
◆ appWatcher
◆ closeAction
QAction* MainWindow::closeAction |
|
private |
◆ hideAction
QAction* MainWindow::hideAction |
|
private |
◆ m_appTranslator
QTranslator* MainWindow::m_appTranslator |
|
private |
◆ m_cmdutility
◆ m_graphical
bool MainWindow::m_graphical |
|
private |
◆ m_joysticks
QMap<SDL_JoystickID, InputDevice *>* MainWindow::m_joysticks |
|
private |
◆ m_settings
◆ m_translator
QTranslator* MainWindow::m_translator |
|
private |
◆ profileActions
QMap<int, QList<QAction *> > MainWindow::profileActions |
|
private |
◆ restoreAction
QAction* MainWindow::restoreAction |
|
private |
◆ showTrayIcon
bool MainWindow::showTrayIcon |
|
private |
◆ signalDisconnect
bool MainWindow::signalDisconnect |
|
private |
◆ trayIcon
QSystemTrayIcon* MainWindow::trayIcon |
|
private |
◆ trayIconMenu
QMenu* MainWindow::trayIconMenu |
|
private |
◆ ui
Ui::MainWindow* MainWindow::ui |
|
private |
◆ updateJoy
QAction* MainWindow::updateJoy |
|
private |
The documentation for this class was generated from the following files: