QT入門

QT += core gui widgets //引入需要用到的庫 qDebug()<<"t="<<t<<QTime::currentTime();//在控制檯輸出當前時間 label->setStyleSheet("background:red; border-radius:25px");//設置樣式表 label->setFont(QFont("宋體",20));//設置標籤的字體及大小 ct
相關文章
相關標籤/搜索