31 lines
503 B
C
31 lines
503 B
C
|
#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
|