Open 3D Engine AzQtComponents API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzQtComponents::InputDialog Class Reference

An improved QInputDialog which allows a validator to be placed on the TextEdit line. More...

#include <InputDialog.h>

Inherits QInputDialog.

Public Member Functions

 InputDialog (QWidget *parent=nullptr)
 
void SetValidator (QValidator *validator)
 Sets a validator on the LineEdit.
 
void SetRegularExpressionValidator (const QString &pattern)
 Helper for setting a regular expression validator with a specified pattern.
 
void SetMaxLength (int length)
 Sets a maximum character input length on the LineEdit.
 
void show ()
 
int exec ()
 

Static Public Member Functions

static QString getText (QWidget *parent, const QString &title, const QString &label, QLineEdit::EchoMode echo=QLineEdit::Normal, const QString &text=QString(), const QString &validationRegExp=QString())
 

Detailed Description

An improved QInputDialog which allows a validator to be placed on the TextEdit line.


The documentation for this class was generated from the following file: