#ifndef SELECTUSERDIALOG_H
#define SELECTUSERDIALOG_H

#include <QDialog>
#include "dbforrmate.h"
namespace Ui {
class SelectUserDialog;
}

class SelectUserDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SelectUserDialog(QWidget *parent = nullptr);
    ~SelectUserDialog();

    void setUserMsg(const ST_PatientMsg&);

    bool isSelectUser();
protected:
    void paintEvent(QPaintEvent *event);

    virtual void changeEvent(QEvent* event);
private slots:
    void on_cancel_Btn_clicked();

    void on_confirm_Btn_clicked();

private:
    Ui::SelectUserDialog *ui;
    bool isSelectedUser;

};

#endif // SELECTUSERDIALOG_H