stringquery.h 687 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef STRINGQUERY_H
  15. #define STRINGQUERY_H
  16. #include <QDialog>
  17. #include <QLineEdit>
  18. #include <QGridLayout>
  19. class StringQuery : public QDialog
  20. {
  21. Q_OBJECT
  22. public:
  23. StringQuery(QString label);
  24. QString get_string();
  25. private:
  26. QLineEdit *edit;
  27. };
  28. #endif /* STRINGQUERY_H */