2 * wpa_gui - StringQuery class
3 * Copyright (c) 2009, Atheros Communications
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
18 #include "stringquery.h"
21 StringQuery::StringQuery(QString label
)
25 QGridLayout
*layout
= new QGridLayout
;
26 layout
->addWidget(new QLabel(label
), 0, 0);
27 layout
->addWidget(edit
, 0, 1);
30 connect(edit
, SIGNAL(returnPressed()), this, SLOT(accept()));
34 QString
StringQuery::get_string()