Make the FIFO Player a separate window

This way, it can be focused with the render window behind it, instead of having the main window show up and cover the render window.  This is useful for adjusting the object range, among other things.
This commit is contained in:
Pokechu22
2021-02-16 11:24:57 -08:00
parent 05bd15a928
commit 83f7c41e31
3 changed files with 27 additions and 6 deletions

View File

@ -4,7 +4,7 @@
#pragma once
#include <QDialog>
#include <QWidget>
#include "Core/Core.h"
@ -15,7 +15,7 @@ class QPushButton;
class QSpinBox;
class FIFOAnalyzer;
class FIFOPlayerWindow : public QDialog
class FIFOPlayerWindow : public QWidget
{
Q_OBJECT
public:
@ -45,6 +45,8 @@ private:
void UpdateInfo();
void UpdateLimits();
bool eventFilter(QObject* object, QEvent* event) final override;
QLabel* m_info_label;
QPushButton* m_load;
QPushButton* m_save;