border
| 1121 | |
| 1122 | // border |
| 1123 | void LabelWidget::borderShapeChanged(int) { |
| 1124 | const auto shape = static_cast<TextLabel::BorderShape>(ui.cbBorderShape->currentData().toInt()); |
| 1125 | bool b = (shape != TextLabel::BorderShape::NoBorder); |
| 1126 | borderLineWidget->setVisible(b); |
| 1127 | |
| 1128 | CONDITIONAL_LOCK_RETURN; |
| 1129 | |
| 1130 | for (auto* label : m_labelsList) |
| 1131 | label->setBorderShape(shape); |
| 1132 | } |
| 1133 | |
| 1134 | /*! |
| 1135 | * \brief LabelWidget::bindingChanged |
nothing calls this directly
no test coverage detected