MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / HeaderInfoChanged

Method HeaderInfoChanged

lib/macro/macro-segment.cpp:454–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void MacroSegmentEdit::HeaderInfoChanged(const QString &text)
455{
456 if (Data() && Data()->GetUseCustomLabel()) {
457 _headerInfo->show();
458 _headerInfo->setText(
459 QString::fromStdString(Data()->GetCustomLabel()));
460 return;
461 }
462 _headerInfo->setVisible(!text.isEmpty());
463 _headerInfo->setText(text);
464}
465
466void MacroSegmentEdit::Collapsed(bool collapsed) const
467{

Callers 2

handleCustomLabelRenameFunction · 0.80

Calls 2

DataClass · 0.85
setTextMethod · 0.80

Tested by

no test coverage detected