forked from qt-creator/qt-creator
QmlDesigner: Make error message selectable
There is no immediate solution for the status bar, but texts from status bars are generally not selectable and cannot be copied. Task-number: QDS-518 Change-Id: Ide699c7ad26642ac716ab4ce7b315263d60facae Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -62,6 +62,7 @@ DocumentWarningWidget::DocumentWarningWidget(QWidget *parent)
|
|||||||
m_headerLabel->setFont(boldFont);
|
m_headerLabel->setFont(boldFont);
|
||||||
m_messageLabel->setForegroundRole(QPalette::ToolTipText);
|
m_messageLabel->setForegroundRole(QPalette::ToolTipText);
|
||||||
m_messageLabel->setWordWrap(true);
|
m_messageLabel->setWordWrap(true);
|
||||||
|
m_messageLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||||
|
|
||||||
m_ignoreWarningsCheckBox->setText(tr("Always ignore these warnings about features "
|
m_ignoreWarningsCheckBox->setText(tr("Always ignore these warnings about features "
|
||||||
"not supported by Qt Quick Designer."));
|
"not supported by Qt Quick Designer."));
|
||||||
|
Reference in New Issue
Block a user