MCPcopy Create free account
hub / github.com/NetHack/NetHack / paintCell

Method paintCell

win/Qt/qt_plsel.cpp:108–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107#if 0 //RLC
108 void paintCell( QPainter *p, const QColorGroup &cg,
109 int column, int width, int alignment )
110 {
111 if ( isSelectable() ) {
112 QTableWidgetItem::paintCell( p, cg, column, width, alignment );
113 } else {
114 QColorGroup disabled(
115 cg.foreground().light(),
116 cg.button().light(),
117 cg.light(), cg.dark(), cg.mid(),
118 Qt::gray, cg.base() );
119 QTableWidgetItem::paintCell( p, disabled, column, width, alignment );
120 }
121 }
122#endif
123};
124

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected