timeline import interaction progress

This commit is contained in:
itsmattkc
2019-08-20 11:40:18 +10:00
parent 44f7c0ab40
commit c8dfd09acc
12 changed files with 270 additions and 119 deletions
+37 -1
View File
@@ -22,11 +22,47 @@
TimelineViewRect::TimelineViewRect(QGraphicsItem* parent) :
QGraphicsRectItem(parent),
scale_(1.0)
scale_(1.0),
y_(0),
height_(0)
{
}
const int &TimelineViewRect::Y()
{
return y_;
}
void TimelineViewRect::SetY(const int &y)
{
y_ = y;
UpdateRect();
}
const int &TimelineViewRect::Height()
{
return height_;
}
void TimelineViewRect::SetHeight(const int &height)
{
height_ = height;
UpdateRect();
}
const int &TimelineViewRect::Track()
{
return track_;
}
void TimelineViewRect::SetTrack(const int &track)
{
track_ = track;
}
void TimelineViewRect::SetScale(const double &scale)
{
scale_ = scale;