37 : m_bookName(std::move(bookname))
38 , m_counts(numModules, 0u)
43 QFont f = painter->font();
47 auto const moduleCount =
m_counts.size();
55 std::size_t Value = 0;
58 for (index = 0;index < moduleCount; index++) {
64 while (drawn < moduleCount) {
65 for (index = 0; index < moduleCount; index++) {
67 #define S(...) static_cast<int>(__VA_ARGS__)
68 QPoint p1(
S(rect().x()) + (moduleCount - drawn - 1)*
BAR_DELTAX,
80 std::size_t newValue = 0u;
81 for (index = 0;index < moduleCount; index++)
102 auto const moduleCount =
m_counts.size();
std::unique_ptr< QPixmap > m_bufferPixmap
void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override
QVector< std::size_t > m_counts
CSearchAnalysisItem(QString bookname, int numModules)
static QColor getColor(int index)
QStringList r(content.left(bodyIndex))
const int BAR_LOWER_BORDER