void QLRepair::paintEvent(QPaintEvent *event) { Q_UNUSED(event); QPainter painter(this); painter.drawRoundedRect(rect(), 20, 20); }