16,173
社区成员
发帖
与我相关
我的任务
分享
#include<QApplication>
#include<Qlabel>
#include<QFontDialog>
int main(int argc,char *argv[])
{
QApplication app(argc,argv);
QFontDialog fd;
QFont f;
bool ok;
f=fd.getFont(&ok,QFont("Times",12));
return app.exec();
}