#ifndef PERMISSONDIALOG_H
|
#define PERMISSONDIALOG_H
|
|
#include <QDialog>
|
#include "PmsClientSocket.h"
|
#include <qradiobutton.h>
|
#include <vector>
|
#include <map>
|
#include <QDebug>
|
using namespace std;
|
|
namespace Ui {
|
class PermissonDialog;
|
}
|
|
class PermissonDialog : public QDialog
|
{
|
Q_OBJECT
|
public:
|
explicit PermissonDialog(QWidget *parent,PmsClientSocket * client);
|
~PermissonDialog();
|
private:
|
Ui::PermissonDialog *ui;
|
|
PmsClientSocket * client;
|
|
vector<map<int,QRadioButton *>> btnList;
|
|
int findBoxCheck(map<int,QRadioButton *> map);
|
|
PmsQueryResult curRes;
|
|
private slots:
|
void recvUserNo(PmsQueryResult pms);
|
void on_buttonBox_accepted();
|
};
|
|
#endif // PERMISSONDIALOG_H
|