Newer
Older
SurgeTankControl / overviewform.h
[wangxitong] on 27 Jan 2022 564 bytes first commit
#ifndef OVERVIEWFORM_H
#define OVERVIEWFORM_H

#include <QWidget>
#include<QMouseEvent>
#include <QAxObject>

namespace Ui {
class OverViewForm;
}

class OverViewForm : public QWidget
{
    Q_OBJECT

public:
    explicit OverViewForm(QString username="",QWidget *parent = nullptr);
    ~OverViewForm();
    QString username;
    void paintEvent(QPaintEvent *event );
    void setPixmap(const QPixmap pixmap);
    void setSelectMode(const int &modle);
    void mousePressEvent(QMouseEvent *event);
private:
    Ui::OverViewForm *ui;
};

#endif // OVERVIEWFORM_H