摘要: const QString Widget::number_Transfer_BigChinese(const double &Fnumber) { if(qAbs(Fnumber)<0.01) //保留2位小数时,近似看作零的情况 return "零"; //判断正负号 QString number 阅读全文
posted @ 2022-01-29 23:54 看不见的R 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 第一种 移动到 头文件 #include <QDesktopWidget> cpp QDesktopWidget *desktop = QApplication::desktop(); move((desktop->width()-this->width())/2,(desktop->height( 阅读全文
posted @ 2022-01-29 09:41 看不见的R 阅读(146) 评论(0) 推荐(0) 编辑