171
179
painter.setFont(m_text_font);
174
184
painter.setPen(Qt::black);
175
painter.drawText(2, 158, 256, 30, Qt::AlignHCenter | Qt::AlignVCenter, "Share Box");
185
painter.drawText(2, 158, 256, 30, Qt::AlignHCenter | Qt::AlignVCenter, text);
177
187
/* Draw the actual text. */
178
188
painter.setPen(m_highlight?m_text_highlight:m_text_normal);
179
painter.drawText(0, 156, 256, 30, Qt::AlignHCenter | Qt::AlignVCenter, "Share Box");
189
painter.drawText(0, 156, 256, 30, Qt::AlignHCenter | Qt::AlignVCenter, text);
181
191
/* If we have a current progress value, then draw the progress
182
192
bar - otherwise draw three circles to look nice :) */