started timeruler object

This commit is contained in:
itsmattkc
2019-07-24 01:53:24 -07:00
parent 2e41f6d8f0
commit 501110c328
10 changed files with 186 additions and 15 deletions
+15
View File
@@ -20,9 +20,24 @@
#include "timeline.h"
#include <QVBoxLayout>
#include "widget/timeruler/timeruler.h"
TimelinePanel::TimelinePanel(QWidget *parent) :
PanelWidget(parent)
{
// FIXME: Test code
QWidget* main = new QWidget(this);
setWidget(main);
QVBoxLayout* layout = new QVBoxLayout(main);
TimeRuler* tr = new TimeRuler(true, this);
layout->addWidget(tr);
layout->addStretch();
// End test code
Retranslate();
}