12 2021 档案

摘要://使用QLocale加载多语言 localeCombo = new QComboBox; int curLocaleIndex = -1; int index = 0; for (int _lang = QLocale::C; _lang <= QLocale::LastLanguage; ++_ 阅读全文
posted @ 2021-12-21 21:29 osbreak 阅读(142) 评论(0) 推荐(0)
摘要:QtConcurrent 是命名空间 (namespace),它提供了高层次的函数接口 (APIs),使所写程序,可根据计算机的 CPU 核数,自动调整运行的线程数目。 使用 QtConcurrent 模块,需要在 .pro 中添加: QT += concurrent #include "qtcon 阅读全文
posted @ 2021-12-02 16:59 osbreak 阅读(206) 评论(0) 推荐(0)