void LoginDialog::paintEvent(QPaintEvent *)
{
int x0, y0, xEnd, yEnd;
QPainter painter(this);
//参数为:画刷,线宽,画笔风格,画笔端点,画笔连接风格
QPen pen(Qt::green, 5,
void LoginDialog::paintEvent(QPaintEvent *)
{
int x0, y0, xEnd, yEnd;
QPainter painter(this);
//参数为:画刷,线宽,画笔风格,画笔端点,画笔连接风格
QPen pen(Qt::green, 5,