stringquery.h 468 B

12345678910111213141516171819202122232425262728
  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. #ifndef STRINGQUERY_H
  9. #define STRINGQUERY_H
  10. #include <QDialog>
  11. #include <QLineEdit>
  12. #include <QGridLayout>
  13. class StringQuery : public QDialog
  14. {
  15. Q_OBJECT
  16. public:
  17. StringQuery(QString label);
  18. QString get_string();
  19. private:
  20. QLineEdit *edit;
  21. };
  22. #endif /* STRINGQUERY_H */