MCPcopy Create free account
hub / github.com/KDE/kdevelop / paint

Method paint

kdevplatform/debugger/framestack/framestackwidget.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47};
48
49void FrameStackItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option,
50 const QModelIndex& index) const
51{
52 QStyleOptionViewItem newOption(option);
53 newOption.textElideMode = index.column() == 2 ? Qt::ElideMiddle : Qt::ElideRight;
54
55 QItemDelegate::paint(painter, newOption, index);
56}
57
58FramestackWidget::FramestackWidget(IDebugController* controller, QWidget* parent)
59 : AutoOrientedSplitter(Qt::Horizontal, parent), m_session(nullptr)

Callers

nothing calls this directly

Calls 2

paintFunction · 0.85
columnMethod · 0.45

Tested by

no test coverage detected