1,各种对就是不显示,因为路径中有其它符号如\n\r什么的

 QStringList FileOpeartion::PathCombine (const QString strPath, QStringList strListTemp)
{
QStringList strReturn; foreach (const QString &str, strListTemp)
{
if (!str.isEmpty())
{
strReturn << strPath.trimmed() + str.trimmed();
}
} return strReturn;
} QPixmap FileOpeartion::GetPicture (QString strPath, int mWidth, int mHeight)
{
QPixmap pictureimg;
//"D:dataFolder/2015/03/15/AIA094/20150315_001402_1024_0094.jpg" if (pictureimg.load (strPath))
{
pictureimg = pictureimg.scaled (mWidth, mHeight, Qt::KeepAspectRatio);
} return pictureimg;
}

最新文章

  1. SQL(横表和纵表)行列转换,PIVOT与UNPIVOT的区别和使用方法举例,合并列的例子
  2. HTML5-01 简介
  3. Map循环的三种方法
  4. 解决PowerShell命令行窗口中不显示光标的问题
  5. [转]AngularJS fixed header scrollable table directive
  6. linux C之getchar()非阻塞方式
  7. 一个Chrome拓展——HttpPost
  8. Maven的安装
  9. CKeditor3.6.2 配置与精简
  10. 【leetcode】7. Reverse Integer
  11. hdu5792--World is Exploding
  12. 01-Objective-C
  13. OpenGL —— 基础笔记
  14. 自学JQuery Mobile的几个例子
  15. jsp静态化之简单介绍
  16. HBuilder CSS 自定义代码块
  17. EconomicIndoor集成测试
  18. 2018.5.17 memcached
  19. Go基础系列:惰性数值生成器
  20. EOS 帐户权限操作--你找不到的干货 (原创) 续集-EOS 3.0

热门文章

  1. 解决commBind: Cannot bind socket FD 18 to [::1]: (99) Cannot assign requested address squid
  2. Http协议基础内容
  3. 使用Storm进行词频统计
  4. Spring MVC-从零开始-view-forward、redirect
  5. Idea 配置Jrebel热部署
  6. 对vue nextTick深入理解-vue性能优化、DOM更新时机、事件循环机制
  7. 链表常见的题型(java实现)
  8. node学习笔记(二)流和缓冲区
  9. ELK系列(一):安装(elasticsearch + logstash + kibana)
  10. ng-cli新建项目