viewer: fix mouse and compositing issues from using windows
This commit is contained in:
@@ -38,14 +38,11 @@ public:
|
||||
ManagedDisplayWidgetOpenGL() = default;
|
||||
|
||||
signals:
|
||||
// Render signals
|
||||
void OnInit();
|
||||
|
||||
void OnPaint();
|
||||
|
||||
void OnDestroy();
|
||||
|
||||
void OnMouseMove(QMouseEvent* e);
|
||||
|
||||
protected:
|
||||
virtual void initializeGL() override
|
||||
{
|
||||
@@ -60,13 +57,6 @@ protected:
|
||||
emit OnPaint();
|
||||
}
|
||||
|
||||
virtual void mouseMoveEvent(QMouseEvent* e) override
|
||||
{
|
||||
emit OnMouseMove(e);
|
||||
|
||||
QOpenGLWindow::mouseMoveEvent(e);
|
||||
}
|
||||
|
||||
private slots:
|
||||
void DestroyListener()
|
||||
{
|
||||
@@ -132,6 +122,8 @@ public:
|
||||
*/
|
||||
void update();
|
||||
|
||||
virtual bool eventFilter(QObject *o, QEvent *e) override;
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief Replaces the color transform with a new one
|
||||
@@ -156,8 +148,6 @@ signals:
|
||||
|
||||
void frameSwapped();
|
||||
|
||||
void InnerWidgetMouseMove(QMouseEvent* event);
|
||||
|
||||
protected:
|
||||
/**
|
||||
* @brief Provides access to the color processor (nullptr if none is set)
|
||||
|
||||
Reference in New Issue
Block a user