|
BibleTime
|
The BtMessageInputDialog class provides a editable field for user input. Optionally it displays a larger message. More...
#include <btmessageinputdialog.h>
Public Types | |
| enum | InputType { Normal , Password } |
Public Member Functions | |
| BtMessageInputDialog (QString const &title, QString const &inputLabel, InputType inputType, QString const &inputText, QString const &infoMessage=QString(), QWidget *parent=nullptr, Qt::WindowFlags f=Qt::Dialog) | |
| The BtMessageInputDialog class provides a editable field for user input. Optionally it displays a larger message. | |
| QString | getUserInput () const |
| getUserInput | |
Private Attributes | |
| QLineEdit * | m_inputTextEdit |
The BtMessageInputDialog class provides a editable field for user input. Optionally it displays a larger message.
Definition at line 31 of file btmessageinputdialog.h.
| Enumerator | |
|---|---|
| Normal | |
| Password | |
Definition at line 37 of file btmessageinputdialog.h.
| BtMessageInputDialog::BtMessageInputDialog | ( | QString const & | title, |
| QString const & | inputLabel, | ||
| InputType | inputType, | ||
| QString const & | inputText, | ||
| QString const & | infoMessage = QString(), |
||
| QWidget * | parent = nullptr, |
||
| Qt::WindowFlags | f = Qt::Dialog |
||
| ) |
The BtMessageInputDialog class provides a editable field for user input. Optionally it displays a larger message.
| title | dialog title |
| inputLabel | short text displayed above input field |
| inputType | The type of user input field to display |
| inputText | user input field which may be preloaded with text |
| infoMessage | optional larger message displayed above the inputLabel |
| parent | parent window for dialog |
| f | optional window flags |
Definition at line 28 of file btmessageinputdialog.cpp.
References BT_CONNECT, m_inputTextEdit, Password, and message::prepareDialogBox().
| QString BtMessageInputDialog::getUserInput | ( | ) | const |
getUserInput
Definition at line 93 of file btmessageinputdialog.cpp.
References m_inputTextEdit.
|
private |
Definition at line 67 of file btmessageinputdialog.h.
Referenced by BtMessageInputDialog(), and getUserInput().