qt小笔记二 页面美化设置三 qt小程序
自己备忘的常见的qt小知识点一、QString类1、拼接QString s1 = “hello “;QString s2 = “world”;s1 += s2;s1.append(” farsight”);2、格式化s1.sprintf("%s %d",“哈哈”,100);s1 = QString("%1 was born in %2").arg(“小明”).arg(1900);3.数字转字符串QString s = QString().setNum(16