Part of a larger restructure, added MusicPlayer which is the main controller and a structure for the song queue

This commit is contained in:
Crylia
2024-03-26 12:03:41 +01:00
parent a2872f6479
commit 9023766c51
67 changed files with 1218 additions and 262 deletions

21
src/View/Layouts/QOverlayout.h Executable file
View File

@@ -0,0 +1,21 @@
#pragma once
#include <QLayout>
#include <QList>
#include <QLayoutItem>
class QOverlayout : public QLayout {
private:
QList<QLayoutItem*> list;
public:
QOverlayout(QWidget* parent);
~QOverlayout( );
void addItem(QLayoutItem* item) override;
QSize sizeHint( ) const override;
QSize minimumSize( ) const override;
int count( ) const override;
QLayoutItem* itemAt(int) const override;
QLayoutItem* takeAt(int) override;
void setGeometry(const QRect& rect) override;
};