Commit 32af3736 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Created the QGraphicsWidget and QGraphicsScene for the timeline

parent 87d3dcd8
/*****************************************************************************
* TracksScene.cpp: QGraphicsScene that contains the tracks
*****************************************************************************
* Copyright (C) 2008-2009 the VLMC team
*
* Authors: Ludovic Fauvet <etix@l0cal.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "TracksScene.h"
TracksScene::TracksScene()
{
}
/*****************************************************************************
* TracksScene.h: QGraphicsScene that contains the tracks
*****************************************************************************
* Copyright (C) 2008-2009 the VLMC team
*
* Authors: Ludovic Fauvet <etix@l0cal.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef TRACKSSCENE_H
#define TRACKSSCENE_H
#include <QGraphicsScene>
class TracksScene : public QGraphicsScene
{
public:
TracksScene();
};
#endif // TRACKSSCENE_H
/*****************************************************************************
* TracksWidget.cpp: QGraphicsView that contains the TracksScene
*****************************************************************************
* Copyright (C) 2008-2009 the VLMC team
*
* Authors: Ludovic Fauvet <etix@l0cal.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include "TracksWidget.h"
TracksWidget::TracksWidget()
{
}
/*****************************************************************************
* TracksWidget.h: QGraphicsView that contains the TracksScene
*****************************************************************************
* Copyright (C) 2008-2009 the VLMC team
*
* Authors: Ludovic Fauvet <etix@l0cal.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef TRACKSWIDGET_H
#define TRACKSWIDGET_H
#include <QGraphicsWidget>
class TracksWidget : public QGraphicsWidget
{
public:
TracksWidget();
};
#endif // TRACKSWIDGET_H
......@@ -17,7 +17,9 @@ SOURCES += src/main.cpp \
src/LibVLCpp/VlmManager.cpp \
src/LibVLCpp/VLCInstance.cpp \
src/LibVLCpp/VlmMedia.cpp \
src/gui/Timeline.cpp
src/gui/Timeline.cpp \
src/gui/TracksWidget.cpp \
src/gui/TracksScene.cpp
HEADERS += src/gui/MainWindow.h \
src/gui/DockWidgetManager.h \
src/gui/LibraryWidget.h \
......@@ -26,7 +28,9 @@ HEADERS += src/gui/MainWindow.h \
src/LibVLCpp/VlmManager.h \
src/LibVLCpp/VLCInstance.h \
src/LibVLCpp/VlmMedia.h \
src/gui/Timeline.h
src/gui/Timeline.h \
src/gui/TracksWidget.h \
src/gui/TracksScene.h
FORMS += src/gui/ui/MainWindow.ui \
src/gui/ui/Timeline.ui \
src/gui/ui/LibraryWidget.ui
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment