摘要:
QGraphicsView //当前项矩阵 void transform(); //转换至视口坐标矩阵 void viewportTransform(); //根据视口坐标提取项 void itemAt(); void items(); //视口坐标 -> 场景坐标 void mapToScene( 阅读全文
摘要:
#include <Windows.h> #include <iostream> #include <osgViewer/Viewer> #include <osgDB/ReadFile> #include <osg/Texture2D> #include <osg/ShapeDrawable> # 阅读全文
摘要:
定位与布局 坐标定位 静态坐标 .static{ position: static; } 相对坐标 .relative{ position: relative; top: 10px; left: 10px; } 绝对定位 固定坐标 .fixed{ position: fixed; top: 10px 阅读全文
摘要:
QWidget拖放事件 Drag And Drop void dragEnterEvent(); void dragLeaveEvent(); void dragMoveEvent(); void mousePressEvent(); void dropEvent(); void paintEven 阅读全文
摘要:
下载数据 1.下载GDAL源文件 https://gdal.org/download.html#current-releases; 2.下载Proj库文件 C:\Users\\anaconda3\pkgs\proj-8.0.0-h1cfcee9_0 编译 修改nmake.opt文件 # PROJ s 阅读全文
摘要:
title: 自定义委托 tags: Qt 自定义委托 Graph Delegate 图形委托 void paint(); QSize sizeHint(); Editor Delegat 编辑委托 QWidget* createEditor(); void setEditorData() 阅读全文