Dialog prompting the user to enter a text string. More...
#include <mythdialogbox.h>
Signals | |
| void | haveResult (QString) |
Public Member Functions | |
| MythTextInputDialog (MythScreenStack *parent, const QString &message, InputFilter filter=FilterNone, bool isPassword=false, const QString &defaultValue="") | |
| bool | Create (void) |
| void | SetReturnEvent (QObject *retobject, const QString &resultid) |
Protected Slots | |
| void | sendResult () |
Protected Attributes | |
| MythUITextEdit * | m_textEdit |
| QString | m_message |
| QString | m_defaultValue |
| InputFilter | m_filter |
| bool | m_isPassword |
| QObject * | m_retObject |
| QString | m_id |
Dialog prompting the user to enter a text string.
Sends out a DialogCompletionEvent event and the haveResult() signal containing the result when the user selects the Ok button.
Definition at line 222 of file mythdialogbox.h.
| MythTextInputDialog::MythTextInputDialog | ( | MythScreenStack * | parent, | |
| const QString & | message, | |||
| InputFilter | filter = FilterNone, |
|||
| bool | isPassword = false, |
|||
| const QString & | defaultValue = "" | |||
| ) |
Definition at line 619 of file mythdialogbox.cpp.
| bool MythTextInputDialog::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Reimplemented in SearchInputDialog.
Definition at line 636 of file mythdialogbox.cpp.
Referenced by MythThemedMenu::checkPinCode(), ProgramRecPriority::customEvent(), MusicCommon::customEvent(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), MythWebView::doDownloadRequested(), EditMetadataDialog::NewCategoryPopup(), FileAssocDialog::OnNewExtensionPressed(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), PlaybackBox::setRecGroup(), and MythBrowser::slotEnterURL().
| void MythTextInputDialog::SetReturnEvent | ( | QObject * | retobject, | |
| const QString & | resultid | |||
| ) |
Definition at line 672 of file mythdialogbox.cpp.
Referenced by MythThemedMenu::checkPinCode(), ProgramRecPriority::customEvent(), ProgFinder::customEvent(), MusicCommon::customEvent(), MythWebView::doDownloadRequested(), EditMetadataDialog::NewCategoryPopup(), BackendSelection::PromptForPassword(), and StoreOptMixin::PromptForRecGroup().
| void MythTextInputDialog::haveResult | ( | QString | ) | [signal] |
Referenced by sendResult().
| void MythTextInputDialog::sendResult | ( | ) | [protected, slot] |
Definition at line 679 of file mythdialogbox.cpp.
Referenced by SearchInputDialog::Create(), and Create().
MythUITextEdit* MythTextInputDialog::m_textEdit [protected] |
Definition at line 239 of file mythdialogbox.h.
Referenced by SearchInputDialog::Create(), Create(), SearchInputDialog::editChanged(), MythTextInputDialog(), and sendResult().
QString MythTextInputDialog::m_message [protected] |
Definition at line 240 of file mythdialogbox.h.
Referenced by Create(), and MythTextInputDialog().
QString MythTextInputDialog::m_defaultValue [protected] |
Definition at line 241 of file mythdialogbox.h.
Referenced by SearchInputDialog::Create(), Create(), and MythTextInputDialog().
InputFilter MythTextInputDialog::m_filter [protected] |
Definition at line 242 of file mythdialogbox.h.
Referenced by SearchInputDialog::Create(), Create(), and MythTextInputDialog().
bool MythTextInputDialog::m_isPassword [protected] |
Definition at line 243 of file mythdialogbox.h.
Referenced by SearchInputDialog::Create(), Create(), and MythTextInputDialog().
QObject* MythTextInputDialog::m_retObject [protected] |
Definition at line 244 of file mythdialogbox.h.
Referenced by SearchInputDialog::editChanged(), MythTextInputDialog(), sendResult(), and SetReturnEvent().
QString MythTextInputDialog::m_id [protected] |
Definition at line 245 of file mythdialogbox.h.
Referenced by SearchInputDialog::editChanged(), MythTextInputDialog(), sendResult(), and SetReturnEvent().
1.6.3