MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / sizeHint

Method sizeHint

src/plugins/codeeditor/codelens/codelensdelegate.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45QSize CodeLensDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
46{
47 QSize size = QItemDelegate::sizeHint(option, index);
48 size.setHeight(24);
49 return size;
50}
51
52void CodeLensDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
53 const QModelIndex &index) const

Callers 2

setViewItemMethod · 0.45
showContextMenuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected