qt/LedOK/LoUIClass/pixbmpshowdialog.h

31 lines
503 B
C
Raw Normal View History

2022-01-04 18:11:48 +08:00
#ifndef PIXBMPSHOWDIALOG_H
#define PIXBMPSHOWDIALOG_H
#include <LoQClass/loqdialog.h>
namespace Ui {
class PixbmpShowDialog;
}
class PixbmpShowDialog : public LoQDialog
{
Q_OBJECT
public:
explicit PixbmpShowDialog(QWidget *parent = nullptr);
~PixbmpShowDialog();
QPixmap m_PixMap;
void ResizeByPixmap(int w,int h);
int m_iWidth;
int m_iHeight;
public:
virtual void paintEvent(QPaintEvent *);
private:
Ui::PixbmpShowDialog *ui;
};
#endif // PIXBMPSHOWDIALOG_H