all time-based panels are now derived from a common base class
Cuts down on a lot of duplicate code between TimelineWidget/ViewerWidget/CurveWidget/NodeParamView and TimelinePanel/ViewerPanel/CurvePanel/ParamPanel since they all use similar time functions.
This commit is contained in:
@@ -26,9 +26,9 @@ IntegerSlider::IntegerSlider(QWidget* parent) :
|
||||
connect(this, SIGNAL(ValueChanged(QVariant)), this, SLOT(ConvertValue(QVariant)));
|
||||
}
|
||||
|
||||
int IntegerSlider::GetValue()
|
||||
int64_t IntegerSlider::GetValue()
|
||||
{
|
||||
return Value().toInt();
|
||||
return Value().toLongLong();
|
||||
}
|
||||
|
||||
void IntegerSlider::SetValue(const int64_t &v)
|
||||
|
||||
Reference in New Issue
Block a user