MythTV  master
Classes | Functions
mythdialogbox.h File Reference
#include <functional>
#include <utility>
#include <QDir>
#include <QEvent>
#include <QString>
#include <QStringList>
#include "libmythbase/mythlogging.h"
#include "libmythui/mythmainwindow.h"
#include "libmythui/mythscreentype.h"
#include "libmythui/mythuitextedit.h"
Include dependency graph for mythdialogbox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DialogCompletionEvent
 Event dispatched from MythUI modal dialogs to a listening class containing a result of some form. More...
 
class  MythMenuItem
 
class  MythMenu
 
class  MythDialogBox
 Basic menu dialog, message and a list of options. More...
 
class  MythConfirmationDialog
 Dialog asking for user confirmation. Ok and optional Cancel button. More...
 
class  MythTextInputDialog
 Dialog prompting the user to enter a text string. More...
 
class  MythSpinBoxDialog
 Dialog prompting the user to enter a number using a spin box. More...
 
class  MythUISearchDialog
 Provide a dialog to quickly find an entry in a list. More...
 
class  MythTimeInputDialog
 

Functions

MUI_PUBLIC MythConfirmationDialogShowOkPopup (const QString &message, bool showCancel=false)
 Non-blocking version of MythPopupBox::showOkPopup() More...
 
template<class OBJ , typename FUNC >
MythConfirmationDialogShowOkPopup (const QString &message, const OBJ *parent, FUNC slot, bool showCancel=false)
 
bool MUI_PUBLIC WaitFor (MythConfirmationDialog *dialog)
 Blocks until confirmation dialog exits. More...
 

Function Documentation

◆ ShowOkPopup() [1/2]

MUI_PUBLIC MythConfirmationDialog* ShowOkPopup ( const QString &  message,
bool  showCancel = false 
)

Non-blocking version of MythPopupBox::showOkPopup()

Definition at line 562 of file mythdialogbox.cpp.

Referenced by ImportMusicDialog::addAllNewPressed(), ImportMusicDialog::addPressed(), LogViewer::cancelClicked(), EditLyricsDialog::cancelPressed(), MetadataOptions::CanSetArtwork(), ChannelEditor::channelIconImport(), check_cardsource(), AudioConfigSettings::CheckConfiguration(), ThemeUpdateChecker::checkForUpdate(), checkMusicAvailable(), ZMClient::checkProtoVersion(), checkStorageGroup(), CustomPriority::checkSyntax(), MythContextPrivate::ChooseBackend(), BackendSelection::ConnectBackend(), GalleryThumbView::Copy(), ImportCoverArtDialog::copyPressed(), CardInput::CreateNewInputGroupSlot(), PlayGroupEditor::CreateNewPlayBackGroupSlot(), PlaybackSettings::CreateNewPlaybackProfileSlot(), VideoSetupWizard::customEvent(), GalleryThumbView::customEvent(), ThemeChooser::customEvent(), NetBase::customEvent(), PlaylistEditorView::customEvent(), MythWebView::customEvent(), MythMainWindow::customEvent(), RipStatus::customEvent(), TransportListEditor::Delete(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), SmartPlaylistEditor::deleteCriteria(), StandardSettingDialog::deleteEntry(), PlaybackBox::deleteSelected(), GalleryThumbView::DoHideItem(), GalleryThumbView::DoHideMarked(), GalleryThumbView::DoScanAction(), GalleryThumbView::DoSetCover(), ScheduleCommon::EditScheduled(), exec_program_tv_cb(), ImportNative::finishedPressed(), VideoScanner::finishedScan(), PlaybackProfileItemConfig::framerateChanged(), get_cardtype(), getTempDirectory(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ExportNative::handleNextPage(), MythBurn::handleNextPage(), PlaybackProfileItemConfig::heightChanged(), GalleryThumbView::Import(), ChannelScannerGUI::InformUser(), ThemeChooser::Init(), MythContext::Init(), RecordingSelector::Init(), ZMLivePlayer::initMonitorLayout(), internal_play_media(), isLiveTVAvailable(), ImportMusicDialog::keyPressEvent(), PlaylistEditorView::keyPressEvent(), RipStatus::keyPressEvent(), ThemeChooser::LoadVersion(), GalleryThumbView::Move(), ArchiveFileSelector::nextPressed(), FileSelector::OKPressed(), GeneralSetupWizard::OnDeletePromptReturn(), GeneralSetupWizard::OnSubmitPromptReturn(), VideoSelector::parentalLevelChanged(), MythThemedMenu::parseMenu(), MusicPlayer::play(), ChannelImporter::Process(), MythContextPrivate::PromptForDatabaseParams(), SchemaUpgradeWizard::PromptForUpgrade(), EditAlbumartDialog::removeSelectedImageFromTag(), StreamView::removeStream(), ThemeChooser::removeTheme(), RestoreData::Restore(), Ripper::RipComplete(), GuideGrid::RunProgramGuide(), ExportNative::runScript(), MythBurn::runScript(), XMLTV_generic_config::Save(), ThemeChooser::saveAndReload(), ScanWizard::Scan(), VideoDialog::scanFinished(), CaptureCardEditor::ShowDeleteAllCaptureCardsDialog(), CaptureCardEditor::ShowDeleteAllCaptureCardsDialogOnHost(), VideoSourceEditor::ShowDeleteAllSourcesDialog(), PrevRecordedList::ShowDeleteOldEpisodeMenu(), ProgLister::ShowDeleteOldEpisodeMenu(), PrevRecordedList::ShowDeleteOldSeriesMenu(), ProgLister::ShowDeleteOldSeriesMenu(), VideoDialog::ShowHomepage(), ScheduleEditor::showTemplateMenu(), MythContextPrivate::ShowVersionMismatchPopup(), NetBase::ShowWebVideo(), WelcomeDialog::shutdownNow(), GeneralSetupWizard::slotDelete(), GeneralSettings::slotDoResetDB(), GeneralSettings::slotResetDB(), GeneralSetupWizard::slotView(), MythNews::slotViewArticle(), startAppearWiz(), Ripper::startRipper(), startRipper(), VideoDialog::SwitchLayout(), AudioSetupWizard::toggleSpeakers(), GallerySlideView::Transform(), GalleryThumbView::TransformItem(), GalleryThumbView::TransformMarked(), BackendSelection::TryDBfromURL(), and PlaybackProfileItemConfig::widthChanged().

◆ ShowOkPopup() [2/2]

template<class OBJ , typename FUNC >
MythConfirmationDialog* ShowOkPopup ( const QString &  message,
const OBJ *  parent,
FUNC  slot,
bool  showCancel = false 
)

Definition at line 513 of file mythdialogbox.h.

◆ WaitFor()

bool MUI_PUBLIC WaitFor ( MythConfirmationDialog dialog)

Blocks until confirmation dialog exits.

Definition at line 599 of file mythdialogbox.cpp.

Referenced by check_cardsource(), MythContext::Init(), SchemaUpgradeWizard::PromptForUpgrade(), and RestoreData::Restore().