摘要:
读: json: { "first": { "second": { "third1":"23423", "third2":"2323" }, "four":"234234" }, "five":"34234" } 代码: const QString Results = "first"; const 阅读全文
摘要:
当工具栏的按钮被按下,图标保持不变,需要怎么做? 下面是qss,另外需要设置按钮 checkable 为true QPushButton#btnZHGL { border-radius:10px; font-size:28px; font-family:Microsoft YaHei; font-w 阅读全文
摘要:
QImage *img = new QImage; img->load(pic); QPixmap pixmap = QPixmap::fromImage(*img); QPixmap fitpixmap = pixmap.scaled(50, 50, Qt::IgnoreAspectRatio, 阅读全文