+
+ // Set up categories
+ for (int i = 0; i < 5; ++i) {
+ marker_type->insertItem(i, i18n("Category %1", i));
+ marker_type->setItemData(i, CommentedTime::markerColor(i), Qt::DecorationRole);
+ }
+ marker_type->setCurrentIndex(t.markerType());
+
+ m_in = new TimecodeDisplay(tc, this);
+ inputLayout->addWidget(m_in);
+ m_in->setValue(t.time());
+