mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 15:46:08 +00:00
Add CustomPaintWidget and super-super hacky initial 'rendering' test
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef CUSTOMPAINTWIDGET_H
|
||||
#define CUSTOMPAINTWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class CustomPaintWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CustomPaintWidget(QWidget *parent = 0);
|
||||
~CustomPaintWidget();
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *e);
|
||||
QPaintEngine *paintEngine() const { return NULL; }
|
||||
};
|
||||
|
||||
#endif // CUSTOMPAINTWIDGET_H
|
||||
Reference in New Issue
Block a user