48 : QDesignerTaskMenu(label, parent),
50 m_editRichTextAction(
new QAction(tr(
"Change rich text..."),
this)),
51 m_editPlainTextAction(
new QAction(tr(
"Change plain text..."),
this))
54 connect(m_editPlainTextAction, &QAction::triggered, editor, &LabelTaskMenuInlineEditor::editText);
55 m_taskActions.append(m_editPlainTextAction);
57 connect(m_editRichTextAction, &QAction::triggered,
this, &LabelTaskMenu::editRichText);
58 m_taskActions.append(m_editRichTextAction);
60 QAction *sep =
new QAction(
this);
61 sep->setSeparator(
true);
62 m_taskActions.append(sep);
78 changeTextProperty(textPropertyC, QString(), MultiSelectionMode, m_label->textFormat());