https://github.com/willard-yuan/qt-learning
Notes and codes to learn Qt
https://github.com/willard-yuan/qt-learning
Last synced: about 1 month ago
JSON representation
Notes and codes to learn Qt
- Host: GitHub
- URL: https://github.com/willard-yuan/qt-learning
- Owner: willard-yuan
- Created: 2015-07-17T13:53:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-08T09:36:06.000Z (almost 10 years ago)
- Last Synced: 2025-04-07T13:11:15.609Z (2 months ago)
- Language: C++
- Size: 1.1 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Qt学习笔记与代码
阅读《Qt5 开发与实例》过程中记录Qt学习过程中一些笔记以及相应的代码
1. 计算圆面积: Dialog
**Note**: 书中P15页代码笔误:```cpp
ui->areaLabel_2->setText(tempStr.setNum(area));
```应更正为:
```cpp
ui->radiusLabel->setText(tempStr.setNum(area));
```2015年7月17日读完第一章。
2. QHash类:STL风格迭代器。
3. 控件:按钮组。`setGeometry(x, y, w, h)`,`(x, y)`表示左上顶点。
**Note**: P56页:```cpp
connect(quit, SINAL(clicked()), aApp, SLOT(quit()))
```
中`qApp`所指得槽对象是哪个?