#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <memory>
#include "PlayerGLWidget.h"
#include "PlayerGLWidget2.h"
#include <QTimer>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:

protected:
    void resizeEvent(QResizeEvent *event) override;
    
private:
    Ui::Widget *ui;

    PlayerGLWidget *m_playerGLWidget = nullptr;

    QTimer m_timer;

};
#endif // WIDGET_H
