nodeparamview: separated the NodeParamView body into a separate widget for nesting
Will allow display of NodeInputArrays.
This commit is contained in:
@@ -321,8 +321,11 @@ void Block::Retranslate()
|
||||
{
|
||||
Node::Retranslate();
|
||||
|
||||
name_input_->set_name(tr("Name"));
|
||||
length_input_->set_name(tr("Length"));
|
||||
media_in_input_->set_name(tr("Media In"));
|
||||
enabled_input_->set_name(tr("Enabled"));
|
||||
speed_input_->set_name(tr("Speed"));
|
||||
}
|
||||
|
||||
NodeInput *Block::length_input() const
|
||||
|
||||
@@ -58,6 +58,8 @@ NodeInput *TransitionBlock::in_block_input() const
|
||||
|
||||
void TransitionBlock::Retranslate()
|
||||
{
|
||||
Block::Retranslate();
|
||||
|
||||
out_block_input_->set_name(tr("From"));
|
||||
in_block_input_->set_name(tr("To"));
|
||||
}
|
||||
|
||||
@@ -113,6 +113,8 @@ void TrackOutput::SetTrackHeight(const int &height)
|
||||
|
||||
void TrackOutput::Retranslate()
|
||||
{
|
||||
Block::Retranslate();
|
||||
|
||||
block_input_->set_name(tr("Blocks"));
|
||||
muted_input_->set_name(tr("Muted"));
|
||||
}
|
||||
|
||||
@@ -217,6 +217,12 @@ void ViewerOutput::UpdateLength(const rational &length)
|
||||
|
||||
void ViewerOutput::Retranslate()
|
||||
{
|
||||
Node::Retranslate();
|
||||
|
||||
texture_input_->set_name(tr("Texture"));
|
||||
|
||||
samples_input_->set_name(tr("Samples"));
|
||||
|
||||
for (int i=0;i<track_inputs_.size();i++) {
|
||||
QString input_name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user