Defines an Input dialog.
More...
#include <InputDialog.hpp>
|
virtual bool | isA (const std::string &type) const override |
|
FWGUIQT_API | InputDialog (::fwGui::GuiBaseObject::Key key) |
|
virtual FWGUIQT_API void | setTitle (const std::string &title) override |
| Set the title of the message box.
|
|
virtual FWGUIQT_API void | setMessage (const std::string &msg) override |
| Set the message.
|
|
virtual FWGUIQT_API void | setInput (const std::string &text) override |
| Set the input text in the input field.
|
|
virtual FWGUIQT_API std::string | getInput () override |
| Get the input text in the input field.
|
|
FWGUI_API | IInputDialog () |
| Constructor. Do nothing.
|
|
virtual FWGUI_API | ~IInputDialog () |
| Destructor. Do nothing.
|
|
|
static bool | isTypeOf (const std::string &type) |
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | classname () |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | classname () |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
template<class , class , class > |
class | ::fwTools::ClassFactory |
|
class | ::fwTools::Factory |
|
|
virtual const std::string & | getLeafClassname () const override |
| return object's classname without its namespace, i.e. BaseObject
|
|
virtual const std::string & | getClassname () const override |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
typedef std::string | FactoryRegistryKeyType |
|
typedef ::fwGui::factory::Key | Key |
|
static FWGUI_API const FactoryRegistryKeyType | REGISTRY_KEY = "::fwGui::dialog::InputDialog" |
|
| GuiBaseObject () |
|
virtual | ~GuiBaseObject () |
|
Defines an Input dialog.
Example of use:
inputDlg.
setTitle(
"Identification dialog");
inputDlg.
setInput (
"<Enter your code here>");
std::string inputText = inputDlg.
getInput();
Definition at line 34 of file t/include/fwGuiQt/dialog/InputDialog.hpp.
The documentation for this class was generated from the following files: