22 #include "../../../backend/cswordmodulesearch.h"
23 #include "../../../backend/drivers/cswordmoduleinfo.h"
39 #define S(...) static_cast<int>(__VA_ARGS__)
40 QPoint p1(
S(rect().x()),
S(rect().y()));
41 QPoint p2(
S(rect().x() + rect().width()),
S(rect().y() + rect().height()));
46 QFont f = painter->font();
53 auto const *
const m = result.module;
64 painter->drawText(p3, m->name() );
void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override
CSwordModuleSearch::Results const *const m_results
static QColor getColor(int index)
QStringList r(content.left(bodyIndex))
const int LEGEND_INNER_BORDER