A Utility class to show an input dialog with a long description underneath the line edit. More...
#include <CustomInputDialog.h>
Inheritance diagram for CustomInputDialog:
Collaboration diagram for CustomInputDialog:Public Member Functions | |
| CustomInputDialog (const QString &title, const QString &topMessage, const QString &bottomMessage, const QString &defaultValue, QWidget *parent=nullptr) | |
| Constructor. | |
| QString | getInput () const |
| get the line edit value, once the dialog is closed | |
A Utility class to show an input dialog with a long description underneath the line edit.
Usage
| CustomInputDialog::CustomInputDialog | ( | const QString & | title, |
| const QString & | topMessage, | ||
| const QString & | bottomMessage, | ||
| const QString & | defaultValue, | ||
| QWidget * | parent = nullptr |
||
| ) |
Constructor.
| title | dialog titel |
| topMessage | is displayed on top the line edit |
| bottomMessage | is displayed under the line edit |
| defaultValue | is the default value of the line edit |
| parent | (optional) |
| QString CustomInputDialog::getInput | ( | ) | const |
get the line edit value, once the dialog is closed
Referenced by CamiTKExtensionModelPresenter::plusButtonClicked().
Here is the caller graph for this function: