摘要: 1. C++ GUI Qt4编程第三章,增加工具栏、状态栏和快捷键。 2. mainwindow.h 3. mainwindow.cpp 5. main.cpp和spreadsheet.qrc不变。 阅读全文
posted @ 2017-06-29 21:34 seifguo 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1. C++ GUI Qt4编程第三章,图片使用资源机制法。 2. 步骤: 2-1. 在resource文件夹下,新建images文件,存放图片。 2-2. 新建spreadsheet.qrc文件,并在.pro文件中添加代码: RESOURCES = spreadsheet.qrc 2-3. 打开. 阅读全文
posted @ 2017-06-29 19:55 seifguo 阅读(376) 评论(0) 推荐(0) 编辑