Coordinate System The coordinate system is controlled by the QPainter class. Together with the QPaintDevice and QPaintEngine classes, QPainter form the basis of Qt's painting …
示例 chatwindows.h #ifndef CHATWINDOW_H #define CHATWINDOW_H #include <QWidget> // 前置声明,Ui::ChatWindow是通过designer自动生成的,因此需要先声明 namespace Ui { class ChatWindow; } class Cha…
// 要求的cmake最低版本 cmake_minimum_required(VERSION 3.16) // 设置项目名称、版本、即所用的开发语言 project(bookkeeper VERSION 0.1 LANGUAGES CXX) //启用自动生成组件代码 set(CMAKE_AUTOUIC ON) // 启用 自动处理 MOC 文件。 …
第一章