MythTV  master
Macros | Functions | Variables
mythmainwindow.cpp File Reference
#include "mythmainwindow.h"
#include "mythmainwindowprivate.h"
#include <cmath>
#include <algorithm>
#include <chrono>
#include <utility>
#include <vector>
#include <QWaitCondition>
#include <QApplication>
#include <QHash>
#include <QFile>
#include <QDir>
#include <QEvent>
#include <QKeyEvent>
#include <QKeySequence>
#include <QInputMethodEvent>
#include <QSize>
#include <QWindow>
#include "unistd.h"
#include "libmythbase/compat.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythdb.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/mythevent.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythmedia.h"
#include "libmythbase/mythmiscutil.h"
#include "myththemebase.h"
#include "mythudplistener.h"
#include "mythrender_base.h"
#include "mythuistatetracker.h"
#include "mythuiactions.h"
#include "mythrect.h"
#include "mythdisplay.h"
#include "mythscreentype.h"
#include "mythpainter.h"
#include "mythpainterwindow.h"
#include "mythgesture.h"
#include "mythuihelper.h"
#include "mythdialogbox.h"
#include "mythscreensaver.h"
#include "devices/mythinputdevicehandler.h"
Include dependency graph for mythmainwindow.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("MythMainWindow: ")
 

Functions

MythMainWindowGetMythMainWindow (void)
 
bool HasMythMainWindow (void)
 
void DestroyMythMainWindow (void)
 
MythPainterGetMythPainter (void)
 
MythNotificationCenterGetNotificationCenter (void)
 

Variables

static constexpr std::chrono::milliseconds GESTURE_TIMEOUT { 1s }
 
static constexpr std::chrono::minutes STANDBY_TIMEOUT { 90min }
 
static constexpr std::chrono::milliseconds LONGPRESS_INTERVAL { 1s }
 
static MythMainWindows_mainWin = nullptr
 
static QMutex s_mainLock
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythMainWindow: ")

Definition at line 68 of file mythmainwindow.cpp.

Function Documentation

◆ GetMythMainWindow()

MythMainWindow* GetMythMainWindow ( void  )

Definition at line 104 of file mythmainwindow.cpp.

Referenced by MythThemedMenu::aboutScreen(), MythScreenType::aboutToHide(), MythScreenType::aboutToShow(), TV::AcquireRelease(), MythControls::ActionButtonPressed(), SmartPlaylistEditor::addCriteria(), AppearanceSettings::AppearanceSettings(), AppearanceSettings::applyChange(), MythBurn::changeProfile(), MythControls::ChangeView(), GuideGrid::ChannelGroupMenu(), ChannelEditor::channelIconImport(), CardInput::channelScanner(), MythThemedMenu::checkPinCode(), CustomEdit::checkSyntax(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), GameHandler::clearAllGameData(), GUIStartup::Close(), MythControls::Close(), GuideGrid::Close(), StandardSettingDialog::Close(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), ExitPrompter::Confirm(), GalleryThumbView::Copy(), ImportMusicDialog::copyFile(), MythFlashPlayer::Create(), MythUIVirtualKeyboard::Create(), CardInput::CreateNewInputGroup(), PlayGroupEditor::CreateNewPlayBackGroup(), GameHandler::CreateProgress(), ChannelEditor::customEvent(), StreamView::customEvent(), ThemeChooser::customEvent(), ProgFinder::customEvent(), MusicCommon::customEvent(), MythControls::customEvent(), ProgramRecPriority::customEvent(), PlaylistEditorView::customEvent(), SmartPlaylistEditor::customEvent(), MythWebView::customEvent(), PlaybackBox::customEvent(), MusicPlayer::customEvent(), ChannelEditor::del(), ZMEvents::deleteAll(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), MythDisplayDRM::DirectRenderingAvailable(), MythMainWindow::DisableScreensaver(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), EditAlbumartDialog::doCopyImageToTag(), StatusBox::doDisplayStatus(), MythWebView::doDownloadRequested(), ScreenWizard::doExit(), VideoDialog::DoItemDetailShow(), ScreenSetup::doListSelect(), ScreenSetup::doLocationDialog(), ScreenWizard::doMenu(), NetBase::DoPlayVideo(), StatusBox::doRenderStatus(), VideoScanner::doScan(), GameScanner::doScan(), LocationDialog::doSearch(), ExitPrompter::DoStandby(), VisualBase::drawWarning(), ChannelEditor::edit(), ProgramRecPriority::edit(), MythUITextEditSetting::edit(), MythUIFileBrowserSetting::edit(), MythUIComboBoxSetting::edit(), MythUISpinBoxSetting::edit(), PowerSearchPopup::editClicked(), SmartPlaylistEditor::editCriteria(), ScheduleCommon::EditCustom(), CriteriaRowEditor::editDate(), MythBurn::editDetails(), LyricsView::editLyrics(), EditMetadataDialog::EditMetadataDialog(), ScheduleCommon::EditRecording(), ScheduleCommon::EditScheduled(), StreamView::editStream(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), GuideGrid::EmbedTVWindow(), MythContextPrivate::EndTempWindow(), ExitPrompterPrivate::ExitPrompterPrivate(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), GameCallback(), GameUI::GameUI(), GeneralSetupWizard::GeneralSetupWizard(), TvPlayWindow::gestureEvent(), MythUILocation::GetCurrentLocation(), ZMClient::getEventFrame(), ThumbFinder::getFrameImage(), MythUIStateTracker::GetFreshState(), HostRefreshRateComboBoxSetting::GetRefreshRates(), MythFEXML::GetScreenShot(), gotoMainMenu(), MythControls::GrabKey(), MythMainWindow::GrabWindow(), SchemaUpgradeWizard::GuiPrompt(), GuiVidModeResolution(), MythThemedMenu::handleAction(), MythBurn::handleAddFile(), ExportNative::handleAddRecording(), MythBurn::handleAddRecording(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ExitPrompter::HandleExit(), SelectDestination::handleFind(), handleGalleryMedia(), MythCECAdapter::HandleKeyPress(), handleMedia(), DVDThemeSelector::handleNextPage(), SelectDestination::handleNextPage(), handleSIGUSR1(), handleSIGUSR2(), GuideGrid::HideTVWindow(), IdleScreen::IdleScreen(), ImportIconsWizard::ImportIconsWizard(), RecordingSelector::Init(), MythContextPrivate::Init(), MythUIWebBrowser::Init(), MythVideoProfile::InitStatics(), MythScreenType::inputMethodEvent(), internal_play_media(), MythUIWebBrowser::IsOnTopScreen(), MythMainWindow::IsScreensaverAsleep(), MythMainWindow::IsTopScreenInitialized(), GameUI::itemClicked(), MythFlashPlayer::keyPressEvent(), ChannelEditor::keyPressEvent(), ZMMiniPlayer::keyPressEvent(), MiniPlayer::keyPressEvent(), StorageGroupEditor::keyPressEvent(), MythUIButtonTree::keyPressEvent(), VisualizerView::keyPressEvent(), DiseqcConfigBase::keyPressEvent(), LyricsView::keyPressEvent(), MythNewsConfig::keyPressEvent(), CustomEdit::keyPressEvent(), ProgDetails::keyPressEvent(), SearchView::keyPressEvent(), StreamView::keyPressEvent(), MythUICheckBox::keyPressEvent(), MythBrowser::keyPressEvent(), WelcomeDialog::keyPressEvent(), BookmarkEditor::keyPressEvent(), Weather::keyPressEvent(), ChannelRecPriority::keyPressEvent(), NetSearch::keyPressEvent(), ScreenWizard::keyPressEvent(), MythNews::keyPressEvent(), NetEditorBase::keyPressEvent(), MythNewsEditor::keyPressEvent(), MythUIButton::keyPressEvent(), SelectDestination::keyPressEvent(), EditMetadataCommon::keyPressEvent(), ProgFinder::keyPressEvent(), ViewScheduleDiff::keyPressEvent(), LogViewer::keyPressEvent(), MythUISpinBox::keyPressEvent(), GameUI::keyPressEvent(), GalleryThumbView::keyPressEvent(), ThemeChooser::keyPressEvent(), PrevRecordedList::keyPressEvent(), GallerySlideView::keyPressEvent(), ViewScheduled::keyPressEvent(), ZMEvents::keyPressEvent(), RecordingSelector::keyPressEvent(), ZMPlayer::keyPressEvent(), ExportNative::keyPressEvent(), MythUITextEdit::keyPressEvent(), MythUIBusyDialog::keyPressEvent(), TrackInfoPopup::keyPressEvent(), RSSEditPopup::keyPressEvent(), StatusBox::keyPressEvent(), ThumbFinder::keyPressEvent(), VideoSelector::keyPressEvent(), NetTree::keyPressEvent(), ProgLister::keyPressEvent(), FileSelector::keyPressEvent(), TransportSetting::keyPressEvent(), MythUIVirtualKeyboard::keyPressEvent(), VideoDialog::keyPressEvent(), MythScreenType::keyPressEvent(), MusicCommon::keyPressEvent(), StorageGroupDirSetting::keyPressEvent(), ZMConsole::keyPressEvent(), MythBurn::keyPressEvent(), MythUIProgressDialog::keyPressEvent(), ZMLivePlayer::keyPressEvent(), EditLyricsDialog::keyPressEvent(), ImportMusicDialog::keyPressEvent(), BookmarkManager::keyPressEvent(), ProgramRecPriority::keyPressEvent(), ScreenSetup::keyPressEvent(), PlaylistEditorView::keyPressEvent(), MythThemedMenu::keyPressEvent(), SmartPlaylistEditor::keyPressEvent(), ImportNative::keyPressEvent(), RSSEditor::keyPressEvent(), MythWebView::keyPressEvent(), Ripper::keyPressEvent(), GuideGrid::keyPressEvent(), PlaybackBox::keyPressEvent(), MythUIWebBrowser::keyPressEvent(), EditAlbumartDialog::keyPressEvent(), ScheduleEditor::keyPressEvent(), MythNotificationScreen::keyPressEvent(), ImportCoverArtDialog::keyPressEvent(), MythUIButtonList::keyPressEvent(), MythMusicVolumeDialog::keyPressEvent(), PlaybackProfileItemConfig::keyPressEvent(), SmartPLResultViewer::keyPressEvent(), RipStatus::keyPressEvent(), MythDialogBox::keyPressEvent(), TrackInfoDialog::keyPressEvent(), SchedEditChild::keyPressEvent(), MythConfirmationDialog::keyPressEvent(), SearchButtonListDialog::keyPressEvent(), StandardSettingDialog::keyPressEvent(), ItemDetailPopup::keyPressEvent(), ImageLoader::LoadImage(), MusicData::loadMusic(), ImportMusicDialog::locationPressed(), main(), ScheduleCommon::MakeOverride(), MediaMonitor::mediaStatusChanged(), ChannelEditor::menu(), TransportListEditor::Menu(), GallerySlideView::MenuMain(), MetadataOptions::MetadataOptions(), ChannelScannerGUI::MonitorProgress(), GalleryThumbView::Move(), MusicCallback(), MythBrowser::MythBrowser(), MythFlashPlayer::MythFlashPlayer(), mythplugin_config(), mythplugin_run(), MythScreenType::MythScreenType(), MythVideoDRM::MythVideoDRM(), NCPrivate::NCPrivate(), NetEditorBase::NetEditorBase(), EditMetadataDialog::NewCategoryPopup(), PlaybackSettings::NewPlaybackProfileSlot(), GamePlayersList::NewPlayerDialog(), ProgramRecPriority::newTemplate(), MusicPlayer::nextAuto(), ArchiveFileSelector::nextPressed(), MythPoint::NormPoint(), MythRect::NormRect(), MythUIType::NormX(), MythUIType::NormY(), FileAssocDialog::OnNewExtensionPressed(), MythWebView::openBusyPopup(), MythScreenType::OpenBusyPopup(), SmartPlaylistEditor::orderByClicked(), MythUIText::ParseElement(), MythUIGuideGrid::ParseElement(), MythScreenType::ParseElement(), XMLParseBase::parseSize(), MythThemedMenu::parseThemeButton(), MusicPlayer::pause(), MythAirplayServer::PausePlayback(), VideoPlayerCommand::Play(), MusicPlayer::play(), VideoPlayHandleMedia::Play(), PlaybackBox::PlaybackBox(), playDisc(), ZMEvents::playPressed(), Frontend::PlayRecording(), MythFrontendService::PlayRecording(), MythNews::playVideo(), Frontend::PlayVideo(), MythFrontendService::PlayVideo(), GallerySlideView::PlayVideo(), VideoSetupWizard::playVideoTest(), MythScreenStack::PopScreen(), MythNotificationScreenStack::PopScreen(), AudioTest::prepareTest(), MythUDPListener::Process(), GameHandler::processGames(), NetworkControl::processJump(), NetworkControl::processKey(), NetworkControl::processMessage(), NetworkControl::processPlay(), NetworkControl::processTheme(), MythBDBuffer::ProgressUpdate(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythContextPrivate::PromptForDatabaseParams(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), SchemaUpgradeWizard::PromptForUpgrade(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), NCPrivate::Queue(), MythUIStateType::RecalculateArea(), MythUIType::RecalculateArea(), RecMetadataEdit::RecMetadataEdit(), ManualSchedule::recordClicked(), CustomEdit::recordClicked(), PhrasePopup::recordClicked(), PowerSearchPopup::recordClicked(), REG_JUMP(), REG_JUMPEX(), REG_JUMPLOC(), REG_KEY(), REG_MEDIAPLAYER(), ReloadJumpPoints(), ReloadKeys(), MusicData::reloadMusic(), reloadTheme(), ProgramRecPriority::remove(), MythFontProperties::Rescale(), FontMap::Rescale(), resetAllKeys(), MythMainWindow::ResetScreensaver(), resetTheme(), MythControls::ResolveConflict(), ChannelEditor::restoreData(), MythMainWindow::RestoreScreensaver(), MythUIComboBoxSetting::resultEdit(), MonitorThread::run(), NetBase::RunCmdWithoutScreensaver(), XMLTV_generic_config::RunConfig(), runCreateArchive(), runCreateDVD(), RunGallery(), RunGames(), runHomepage(), runImportVideo(), runMenu(), RunMenu(), RunNetTree(), RunNetVision(), RunNews(), PlaybackBox::RunPlaybackBox(), RunProgramFinder(), GuideGrid::RunProgramGuide(), runRipCD(), NetTree::RunRSSEditor(), ScheduleEditor::RunScheduleEditor(), NetSearch::RunSearchEditor(), runTestDVD(), NetTree::RunTreeEditor(), RunVideoScreen(), ViewScheduled::RunViewScheduled(), RunWeather(), runZMConsole(), runZMEventView(), runZMLiveView(), runZMMiniPlayer(), ThemeChooser::saveAndReload(), NetworkControl::saveScreenshot(), ChannelEditor::scan(), AlbumArtImages::scanForImages(), EditMetadataDialog::searchAlbum(), Ripper::searchAlbum(), EditMetadataDialog::searchArtist(), Ripper::searchArtist(), EditStreamMetadata::searchClicked(), EditMetadataDialog::searchCompilationArtist(), EditMetadataCommon::searchForAlbumImages(), EditMetadataDialog::searchForArtistImages(), EditMetadataDialog::searchForGenreImages(), EditMetadataDialog::searchGenre(), Ripper::searchGenre(), GameUI::searchStart(), VideoDialog::searchStart(), MythAirplayServer::SeekPosition(), MediaMonitor::selectDrivePopup(), RSSEditPopup::SelectImagePopup(), Frontend::SendAction(), Frontend::SendKey(), MythFrontendService::SendKey(), Frontend::SendMessage(), MythFrontendService::SendMessage(), MythUIWebBrowser::SetActive(), MythUIButtonList::SetButtonArea(), setDebugShowBorders(), setDebugShowNames(), MythFontProperties::SetPixelSize(), MythUIType::SetPosition(), PlaybackBox::setRecGroup(), SetupMenuCallback(), Weather::setupPage(), Weather::SetupScreens(), ShowBusyPopup(), SmartPlaylistEditor::showCategoryMenu(), ScheduleCommon::ShowChannelSearch(), ProgLister::ShowChooseViewMenu(), GallerySettings::ShowConfirmDialog(), Ripper::ShowConflictMenu(), SmartPlaylistEditor::showCriteriaMenu(), StorageGroupEditor::ShowDeleteDialog(), StorageGroupDirSetting::ShowDeleteDialog(), PlaybackProfileItemConfig::ShowDeleteDialog(), ProgLister::ShowDeleteRuleMenu(), ScheduleCommon::ShowDetails(), MythWebView::showDownloadMenu(), MythNews::ShowEditDialog(), BookmarkManager::ShowEditDialog(), ImportMusicDialog::showEditMetadataDialog(), Ripper::showEditMetadataDialog(), MythUISpinBox::ShowEntryDialog(), MusicCommon::showExitMenu(), MythNews::ShowFeedManager(), StorageGroupEditor::ShowFileBrowser(), ScheduleEditor::ShowFilters(), MythContextPrivate::ShowGuiStartup(), VideoDialog::ShowHomepage(), ImportMusicDialog::showImportCoverArtDialog(), GameUI::showInfo(), PrevRecordedList::ShowItemMenu(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), showLogViewer(), ChannelImporter::ShowManualChannelPopup(), VisualizerView::ShowMenu(), LyricsView::ShowMenu(), SearchView::ShowMenu(), StreamView::ShowMenu(), WelcomeDialog::ShowMenu(), ViewScheduled::ShowMenu(), MythNews::ShowMenu(), PrevRecordedList::ShowMenu(), ChannelRecPriority::ShowMenu(), LogViewer::ShowMenu(), RecordingSelector::ShowMenu(), ThumbFinder::ShowMenu(), ExportNative::ShowMenu(), GameUI::ShowMenu(), VideoSelector::ShowMenu(), ProgFinder::ShowMenu(), ZMEvents::ShowMenu(), MusicCommon::ShowMenu(), ZMLivePlayer::ShowMenu(), MythThemedMenu::ShowMenu(), MythBurn::ShowMenu(), PlaylistEditorView::ShowMenu(), ProgLister::ShowMenu(), ImportMusicDialog::ShowMenu(), EditMetadataDialog::showMenu(), ProgramRecPriority::showMenu(), Ripper::ShowMenu(), MythControls::ShowMenu(), EditAlbumartDialog::showMenu(), ScheduleEditor::showMenu(), GuideGrid::ShowMenu(), StandardSettingDialog::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), ZMClient::showMiniPlayer(), MusicPlayer::showMiniPlayer(), StorageGroupListEditor::ShowNewGroupDialog(), ChannelGroupsSetting::ShowNewGroupDialog(), RecordingProfileEditor::ShowNewProfileDialog(), ShowOkPopup(), ProgLister::ShowOldRecordedMenu(), PlaybackSettingsDialog::ShowPlaybackProfileMenu(), MusicCommon::showPlaylistOptionsMenu(), ThemeChooser::showPopupMenu(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleCommon::ShowPrevious(), GuideGrid::ShowRecordingMenu(), ChannelImporter::ShowResolveChannelPopup(), SmartPlaylistEditor::showResultsClicked(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), ScheduleEditor::ShowSchedOpt(), MythUIButtonList::ShowSearchDialog(), WelcomeDialog::ShowSettings(), GalleryThumbView::ShowSettings(), ProgramRecPriority::showSortMenu(), ViewScheduleDiff::showStatus(), showStatus(), ScheduleEditor::ShowStoreOpt(), ScheduleEditor::showTemplateMenu(), MusicCommon::showTrackInfo(), SmartPLResultViewer::showTrackInfo(), VisualizerView::showTrackInfoPopup(), EditAlbumartDialog::showTypeMenu(), ScreenSetup::showUnitsPopup(), ScheduleCommon::ShowUpcoming(), ScheduleEditor::showUpcomingByRule(), ScheduleCommon::ShowUpcomingScheduled(), MusicCommon::showVolume(), showWarningDialog(), NetBase::ShowWebVideo(), MythBrowser::slotAddBookmark(), BookmarkManager::slotBookmarkClicked(), BookmarkManager::slotDeleteCurrent(), BookmarkManager::slotDeleteMarked(), RSSEditor::SlotDeleteSite(), RSSEditor::SlotEditSite(), MythBrowser::slotEnterURL(), BookmarkEditor::slotFindCategory(), RSSEditor::SlotNewSite(), GeneralSetupWizard::slotNext(), AudioSetupWizard::slotNext(), BookmarkManager::slotSettings(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotView(), MythNews::slotViewArticle(), standbyScreen(), BurnMenu::start(), startAppearWiz(), startChannelRecPriorities(), EditAlbumartDialog::startCopyImageToTag(), startCustomEdit(), startCustomPriority(), startDatabaseTree(), SmartPlaylistEditor::startDeleteCategory(), startImport(), startKeysSetup(), startManaged(), startManageRecordingRules(), startManualSchedule(), MythAirplayServer::StartPlayback(), startPlayback(), startPlaybackWithGroup(), startPrevious(), startPreviousOld(), StartPrompterPrivate::StartPrompterPrivate(), Ripper::startRipper(), startRipper(), ImportMusicDialog::startScan(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), GalleryThumbView::StartSlideshow(), startStreamPlayback(), TV::StartTV(), StatusBox::StatusBox(), MusicPlayer::stop(), MythAirplayServer::StopPlayback(), CustomEdit::storeClicked(), NetBase::StreamWebVideo(), VideoDialog::SwitchLayout(), EditMetadataDialog::switchToAlbumArt(), EditAlbumartDialog::switchToMetadata(), MusicCommon::switchView(), NetTree::SwitchView(), VideoPerformanceTest::Test(), CustomEdit::testClicked(), CustomPriority::testSchedule(), ChannelEditor::transportEditor(), TVMenuCallback(), TVVidModeResolution(), MythAirplayServer::UnpausePlayback(), NCPrivate::UnRegister(), ChannelRecPriority::upcoming(), MythBurn::updateArchiveList(), Player::updateFrame(), MythDialogBox::updateMenu(), ThumbFinder::updatePositionBar(), CriteriaRowEditor::valueButtonClicked(), VideoSetupWizard::VideoSetupWizard(), VideoVisualGoom::VideoVisualGoom(), WeatherCallback(), ZMLivePlayer::ZMLivePlayer(), ExitPrompter::~ExitPrompter(), IdleScreen::~IdleScreen(), MythBrowser::~MythBrowser(), MythFlashPlayer::~MythFlashPlayer(), Weather::~Weather(), and ZMLivePlayer::~ZMLivePlayer().

◆ HasMythMainWindow()

bool HasMythMainWindow ( void  )

◆ DestroyMythMainWindow()

void DestroyMythMainWindow ( void  )

Definition at line 114 of file mythmainwindow.cpp.

Referenced by cleanup(), and main().

◆ GetMythPainter()

MythPainter* GetMythPainter ( void  )

◆ GetNotificationCenter()

MythNotificationCenter* GetNotificationCenter ( void  )

Variable Documentation

◆ GESTURE_TIMEOUT

constexpr std::chrono::milliseconds GESTURE_TIMEOUT { 1s }
staticconstexpr

Definition at line 64 of file mythmainwindow.cpp.

Referenced by MythMainWindow::eventFilter().

◆ STANDBY_TIMEOUT

constexpr std::chrono::minutes STANDBY_TIMEOUT { 90min }
staticconstexpr

◆ LONGPRESS_INTERVAL

constexpr std::chrono::milliseconds LONGPRESS_INTERVAL { 1s }
staticconstexpr

Definition at line 66 of file mythmainwindow.cpp.

Referenced by MythMainWindow::KeyLongPressFilter().

◆ s_mainWin

MythMainWindow* s_mainWin = nullptr
static

◆ s_mainLock

QMutex s_mainLock
static

Definition at line 71 of file mythmainwindow.cpp.

Referenced by MythMainWindow::getMainWindow().