Base dialog for most dialogs in MythTV using the old UI. More...
#include <mythdialogs.h>
Public Slots | |
| DialogCode | exec (void) |
| virtual void | done (int) |
| virtual void | AcceptItem (int) |
| virtual void | accept () |
| virtual void | reject () |
Signals | |
| void | menuButtonPressed () |
| void | leaveModality () |
Public Member Functions | |
| MythDialog (MythMainWindow *parent, const char *name="MythDialog", bool setsize=true) | |
| DialogCode | result (void) const |
| virtual void | Show (void) |
| void | hide (void) |
| void | setNoErase (void) |
| virtual bool | onMediaEvent (MythMediaDevice *mediadevice) |
| void | setResult (DialogCode r) |
| virtual void | deleteLater (void) |
Static Public Member Functions | |
| static int | CalcItemIndex (DialogCode code) |
Static Public Attributes | |
| static const DialogCode | Rejected = kDialogCodeRejected |
| static const DialogCode | Accepted = kDialogCodeAccepted |
| static const DialogCode | ListStart = kDialogCodeListStart |
Protected Member Functions | |
| ~MythDialog () | |
| void | TeardownAll (void) |
| void | keyPressEvent (QKeyEvent *e) |
Protected Attributes | |
| float | wmult |
| float | hmult |
| int | screenwidth |
| int | screenheight |
| int | xbase |
| int | ybase |
| MythMainWindow * | m_parent |
| DialogCode | rescode |
| bool | in_loop |
| QFont | defaultBigFont |
| QFont | defaultMediumFont |
| QFont | defaultSmallFont |
Base dialog for most dialogs in MythTV using the old UI.
Definition at line 59 of file mythdialogs.h.
| MythDialog::MythDialog | ( | MythMainWindow * | parent, | |
| const char * | name = "MythDialog", |
|||
| bool | setsize = true | |||
| ) |
Definition at line 42 of file mythdialogs.cpp.
| MythDialog::~MythDialog | ( | ) | [protected] |
Definition at line 78 of file mythdialogs.cpp.
| DialogCode MythDialog::result | ( | void | ) | const [inline] |
Definition at line 72 of file mythdialogs.h.
Referenced by exec().
| void MythDialog::Show | ( | void | ) | [virtual] |
Reimplemented in MythWizard, and VirtualKeyboardQt.
Definition at line 110 of file mythdialogs.cpp.
Referenced by RecordingProfile::exec(), ProfileGroupEditor::exec(), exec(), ConfigurationDialog::exec(), and MythPopupBox::ShowPopupAtXY().
| void MythDialog::hide | ( | void | ) |
Reimplemented in VirtualKeyboardQt.
Definition at line 188 of file mythdialogs.cpp.
Referenced by MythProgressDialog::deleteLater(), deleteLater(), done(), DeviceTree::RunTypeDialog(), MythPopupBox::ShowButtonPopup(), MythPopupBox::showGetTextPopup(), ChannelImporter::ShowManualChannelPopup(), MythPopupBox::showOkPopup(), StorageGroupPopup::showPopup(), and RecordingProfilePopup::showPopup().
| void MythDialog::setNoErase | ( | void | ) |
Definition at line 99 of file mythdialogs.cpp.
Referenced by MythThemedDialog::MythThemedDialog(), and SingleView::SingleView().
| bool MythDialog::onMediaEvent | ( | MythMediaDevice * | mediadevice | ) | [virtual] |
Definition at line 103 of file mythdialogs.cpp.
| void MythDialog::setResult | ( | DialogCode | r | ) |
Definition at line 115 of file mythdialogs.cpp.
| void MythDialog::deleteLater | ( | void | ) | [virtual] |
Reimplemented in MythProgressDialog, MythThemedDialog, and VirtualKeyboardQt.
Definition at line 83 of file mythdialogs.cpp.
Referenced by RecordingProfile::exec(), ProfileGroupEditor::exec(), ConfigurationDialog::exec(), SchemaUpgradeWizard::GuiPrompt(), DeviceTree::RunTypeDialog(), MythPopupBox::ShowButtonPopup(), MythPopupBox::showGetTextPopup(), ChannelImporter::ShowManualChannelPopup(), MythPopupBox::showOkPopup(), StorageGroupPopup::showPopup(), and RecordingProfilePopup::showPopup().
| int MythDialog::CalcItemIndex | ( | DialogCode | code | ) | [static] |
Definition at line 149 of file mythdialogs.cpp.
Referenced by MediaMonitor::selectDrivePopup(), and MythPopupBox::ShowButtonPopup().
| void MythDialog::menuButtonPressed | ( | ) | [signal] |
Referenced by keyPressEvent().
| DialogCode MythDialog::exec | ( | void | ) | [slot] |
Definition at line 164 of file mythdialogs.cpp.
Referenced by RecordingProfile::exec(), ProfileGroupEditor::exec(), ConfigurationDialog::exec(), MythPopupBox::ExecPopup(), MythPopupBox::ExecPopupAtXY(), SchemaUpgradeWizard::GuiPrompt(), MythRemoteLineEdit::popupVirtualKeyboard(), MythLineEdit::popupVirtualKeyboard(), and MythComboBox::popupVirtualKeyboard().
| void MythDialog::done | ( | int | r | ) | [virtual, slot] |
Definition at line 128 of file mythdialogs.cpp.
Referenced by MythPopupBox::accept(), accept(), AcceptItem(), ProfileGroupEditor::callDelete(), UIKeyboardType::close(), MythPopupBox::defaultButtonPressedHandler(), SingleView::EffectMeltdown(), MythPopupBox::ExecPopup(), MythPopupBox::ExecPopupAtXY(), MythPopupBox::reject(), and reject().
| void MythDialog::AcceptItem | ( | int | i | ) | [virtual, slot] |
Reimplemented in MythPopupBox.
Definition at line 135 of file mythdialogs.cpp.
Referenced by DialogBox::buttonPressed().
| void MythDialog::accept | ( | void | ) | [virtual, slot] |
Reimplemented in MythPopupBox.
Definition at line 154 of file mythdialogs.cpp.
Referenced by MythProgressDialog::Close(), GLSDialog::closeEvent(), VirtualKeyboardQt::keyPressEvent(), MythWizard::keyPressEvent(), ConfigurationDialogWidget::keyPressEvent(), and MythWizard::MythWizard().
| void MythDialog::reject | ( | void | ) | [virtual, slot] |
Reimplemented in MythPopupBox.
Definition at line 159 of file mythdialogs.cpp.
Referenced by AcceptItem(), SingleView::DisplayNext(), SingleView::DisplayPrev(), MythWizard::keyPressEvent(), keyPressEvent(), ConfigurationDialogWidget::keyPressEvent(), MythThemedDialog::MythThemedDialog(), MythWizard::MythWizard(), and VirtualKeyboardQt::SwitchLayout().
| void MythDialog::TeardownAll | ( | void | ) | [protected] |
Definition at line 90 of file mythdialogs.cpp.
Referenced by deleteLater(), and ~MythDialog().
| void MythDialog::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
Reimplemented in ConfigurationDialogWidget, MythPopupBox, MythProgressDialog, MythWizard, VirtualKeyboardQt, and SingleView.
Definition at line 202 of file mythdialogs.cpp.
const DialogCode MythDialog::Rejected = kDialogCodeRejected [static] |
Definition at line 68 of file mythdialogs.h.
Referenced by ChannelScannerGUI::HandleEvent(), ChannelScannerGUI::quitScanning(), MythPopupBox::reject(), reject(), and ChannelScannerGUI::~ChannelScannerGUI().
const DialogCode MythDialog::Accepted = kDialogCodeAccepted [static] |
Definition at line 69 of file mythdialogs.h.
Referenced by MythPopupBox::accept(), accept(), DeviceTree::EditNodeDialog(), MythPopupBox::showGetTextPopup(), StorageGroupPopup::showPopup(), and RecordingProfilePopup::showPopup().
const DialogCode MythDialog::ListStart = kDialogCodeListStart [static] |
Definition at line 70 of file mythdialogs.h.
float MythDialog::wmult [protected] |
Definition at line 105 of file mythdialogs.h.
Referenced by DialogBox::DialogBox(), MythWizard::layOut(), MythThemedDialog::loadThemedWindow(), MythDialog(), MythPopupBox::MythPopupBox(), MythProgressDialog::MythProgressDialog(), SingleView::paintEvent(), MythWizard::setHelpText(), MythPopupBox::ShowPopupAtXY(), and VirtualKeyboardQt::SwitchLayout().
float MythDialog::hmult [protected] |
Definition at line 105 of file mythdialogs.h.
Referenced by MythWizard::layOut(), MythThemedDialog::loadThemedWindow(), MythDialog(), MythPopupBox::MythPopupBox(), MythProgressDialog::MythProgressDialog(), SingleView::paintEvent(), MythWizard::setHelpText(), MythPopupBox::ShowPopupAtXY(), and VirtualKeyboardQt::SwitchLayout().
int MythDialog::screenwidth [protected] |
Definition at line 106 of file mythdialogs.h.
Referenced by SingleView::CheckPosition(), SingleView::CreateEffectPixmap(), SingleView::keyPressEvent(), MythWizard::layOut(), MythDialog(), MythProgressDialog::MythProgressDialog(), SingleView::paintEvent(), MythWizard::setHelpText(), SingleView::SetZoom(), and SingleView::SingleView().
int MythDialog::screenheight [protected] |
Definition at line 106 of file mythdialogs.h.
Referenced by SingleView::CheckPosition(), SingleView::CreateEffectPixmap(), SingleView::keyPressEvent(), MythDialog(), MythProgressDialog::MythProgressDialog(), SingleView::paintEvent(), and SingleView::SetZoom().
int MythDialog::xbase [protected] |
Definition at line 107 of file mythdialogs.h.
Referenced by MythDialog(), and VirtualKeyboardQt::SwitchLayout().
int MythDialog::ybase [protected] |
Definition at line 107 of file mythdialogs.h.
Referenced by MythDialog(), and VirtualKeyboardQt::SwitchLayout().
MythMainWindow* MythDialog::m_parent [protected] |
Definition at line 109 of file mythdialogs.h.
Referenced by MythPopupBox::addButton(), MythPopupBox::addLabel(), MythDialog(), and TeardownAll().
DialogCode MythDialog::rescode [protected] |
Definition at line 111 of file mythdialogs.h.
Referenced by MythPopupBox::AcceptItem(), and setResult().
bool MythDialog::in_loop [protected] |
Definition at line 113 of file mythdialogs.h.
Referenced by exec(), hide(), and MythDialog().
QFont MythDialog::defaultBigFont [protected] |
Definition at line 115 of file mythdialogs.h.
Referenced by MythPopupBox::addLabel(), and MythDialog().
QFont MythDialog::defaultMediumFont [protected] |
Definition at line 115 of file mythdialogs.h.
Referenced by MythPopupBox::addLabel(), and MythDialog().
QFont MythDialog::defaultSmallFont [protected] |
Definition at line 115 of file mythdialogs.h.
Referenced by MythPopupBox::addLabel(), and MythDialog().
1.6.3