Home | History | Annotate | Download | only in wpa_gui-qt4
      1 /*
      2  * wpa_gui - StringQuery class
      3  * Copyright (c) 2009, Atheros Communications
      4  *
      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.
      8  *
      9  * Alternatively, this software may be distributed under the terms of BSD
     10  * license.
     11  *
     12  * See README and COPYING for more details.
     13  */
     14 
     15 #ifndef STRINGQUERY_H
     16 #define STRINGQUERY_H
     17 
     18 #include <QDialog>
     19 #include <QLineEdit>
     20 #include <QGridLayout>
     21 
     22 class StringQuery : public QDialog
     23 {
     24 	Q_OBJECT
     25 
     26 public:
     27 	StringQuery(QString label);
     28 	QString get_string();
     29 
     30 private:
     31 	QLineEdit *edit;
     32 };
     33 
     34 #endif /* STRINGQUERY_H */
     35