Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9.0
-
None
-
-
63a5487c4 (master), 3fbdb3142 (dev)
Description
class TestProxyModel : public QIdentityProxyModel { public: QVariant data(const QModelIndex &index, int role) const override { if (role==Qt::FontRole) { QFont font; font.setItalic(true); font.setStrikeOut(true); return font; } return QIdentityProxyModel::data(index, role); } }; QComboBox::setModel(new TestProxyModel());
When trying to set "StrikeOut = true", the item is not painted with a strike through line.
Is missing https://developer.apple.com/documentation/uikit/nsstrikethroughstyleattributename
Attachments
Issue Links
- mentioned in
-
Page Loading...
Gerrit Reviews
For Gerrit Dashboard: QTBUG-136215 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
641570,5 | Core: Fix drawing strikeout text in ComboBox | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
641594,3 | macOS: respect strikeout attribute in menu item fonts | dev | qt/qtbase | Status: MERGED | +2 | 0 |