mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
6a88ae863f
Replace the clicked() event with more appropriate context menu and add a WPS PIN entry as an example command.
35 lines
687 B
C++
35 lines
687 B
C++
/*
|
|
* wpa_gui - StringQuery class
|
|
* Copyright (c) 2009, Atheros Communications
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*/
|
|
|
|
#ifndef STRINGQUERY_H
|
|
#define STRINGQUERY_H
|
|
|
|
#include <QDialog>
|
|
#include <QLineEdit>
|
|
#include <QGridLayout>
|
|
|
|
class StringQuery : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
StringQuery(QString label);
|
|
QString get_string();
|
|
|
|
private:
|
|
QLineEdit *edit;
|
|
};
|
|
|
|
#endif /* STRINGQUERY_H */
|