8 #include "fwGuiQt/dialog/InputDialog.hpp" 10 #include <fwGui/registry/macros.hpp> 12 #include <boost/assign/list_of.hpp> 13 #include <QApplication> 14 #include <QInputDialog> 63 QString title = QObject::tr(m_title.c_str());
64 QString text = QObject::tr(m_message.c_str());
67 QString outputText = QInputDialog::getText(
68 qApp->activeWindow(), title, text, QLineEdit::Normal,QString::fromStdString(m_input),&IsOkClicked);
72 m_input = outputText.toStdString();
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...