Part of a larger restructure, added MusicPlayer which is the main controller and a structure for the song queue
This commit is contained in:
21
src/View/Layouts/QOverlayout.h
Executable file
21
src/View/Layouts/QOverlayout.h
Executable 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;
|
||||
};
|
||||
Reference in New Issue
Block a user