1 /* 2 * wpa_gui - StringQuery class 3 * Copyright (c) 2009, Atheros Communications 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef STRINGQUERY_H 10 #define STRINGQUERY_H 11 12 #include <QDialog> 13 #include <QLineEdit> 14 #include <QGridLayout> 15 16 class StringQuery : public QDialog 17 { 18 Q_OBJECT 19 20 public: 21 StringQuery(QString label); 22 QString get_string(); 23 24 private: 25 QLineEdit *edit; 26 }; 27 28 #endif /* STRINGQUERY_H */ 29