blob: 5421bbf73d18c5eac0910674eab7a98659ecb874 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "dialogs.h"
#include <QInputDialog>
namespace Scripting {
namespace Internal {
Dialogs::Dialogs(QObject *parent) :
QObject(parent)
{
}
QString Dialogs::getText(const QString &title, const QString& label, const QString &defaultValue)
{
return QInputDialog::getText(0, title, label, QLineEdit::Normal, defaultValue);
}
} // namespace Internal
} // namespace Scripting
|