#include "cars.h" #include Cars::Cars(QWidget *parent) : QWidget(parent) { m_color = rand() % 3; }