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