Commit Graph

312 Commits (43719bc81a3c91ca90fbfe0fccdfd2ae554749c0)

Author SHA1 Message Date
ArgonarioD 43719bc81a Merge branch 'main' into dev-LayerStyle 2023-03-20 16:16:31 +08:00
karlis 8a34f57251 实现显示/隐藏图层功能 | #16 2023-03-20 15:52:27 +08:00
karlis f06fbbaef6 FIX: 暂时修复修改图层属性导致的crash 2023-03-20 14:44:36 +08:00
ArgonarioD 855dd2e075 [editor] 修复了一些会导致warning的问题 | #15
* 添加了ColorHelper
 * LayerStyleDialog重复setLayer导致的warning
 * QColorDialog::getColor时由于Qt的bug未正确设置大小导致的warning
2023-03-20 02:48:52 +08:00
ArgonarioD e7825a0665 merge 2023-03-20 02:45:22 +08:00
ArgonarioD 93db81503a 解决了一些GUI的warning
LayerStyleDialog重复setLayer导致的warning
QColorDialog::getColor时由于Qt的bug未正确设置大小导致的warning
2023-03-20 02:42:03 +08:00
ArgonarioD 412e2eec5e 添加了ColorHelper 2023-03-20 02:41:58 +08:00
wuyize b6e79ee6de 实现通过json文件构造Painting 2023-03-20 00:26:50 +08:00
karlis b3bbf6c1be 重写刷新信号及逻辑 2023-03-19 16:07:35 +08:00
karlis 8bf6835c23 添加LayerWrapper接口 2023-03-19 15:48:42 +08:00
karlis 3904ff0b61 添加删除逻辑检测 | #9 2023-03-19 15:40:50 +08:00
ArgonarioD 587c09115a [editor/style] 初始化区分封闭与非封闭图元 | #12
* LayerStyleContainer的构造函数添加了isClosedElement参数
2023-03-19 14:43:25 +08:00
ArgonarioD 64c4646783 [style] 区分封闭与不封闭图元分别做初始化 2023-03-19 14:41:24 +08:00
ArgonarioD 64e1c4a4e9 merge 2023-03-19 14:15:41 +08:00
ArgonarioD 66cde802ec 为GraphicElement添加了isClosed接口 | #11 2023-03-19 14:12:44 +08:00
ArgonarioD 4c95d6e362 微调了筛选器 2023-03-19 13:29:52 +08:00
wuyize 12b62bf039 Fix: element.comp填充样式渲染错误 |#13 2023-03-19 12:19:10 +08:00
ArgonarioD 0e62672b58 [editor/style] 实现了FillElementLayerStyle | #2 2023-03-19 01:27:42 +08:00
ArgonarioD adb28a67e8 将一些可以改成引用传参的地方改成了引用 2023-03-19 01:25:31 +08:00
ArgonarioD 47ada04c3a 优化了bad smells
LayerStyleContainer::boundingBoxAffectedValue()
2023-03-19 01:20:32 +08:00
ArgonarioD 1378997f64 merge 2023-03-19 01:13:02 +08:00
ArgonarioD 1650404bb9 [fill] 实现FillElementLayerStyle 2023-03-19 01:06:51 +08:00
karlis 69422ba96a Merge branch 'main' of http://101.34.228.45:3000/BigC/ArchitectureColoredPainting 2023-03-18 23:10:34 +08:00
karlis 3d8420f617 优化图层列表显示效果 | #7 2023-03-18 23:10:16 +08:00
yang.yongquan e48954175d Merge branch 'main' of http://101.34.228.45:3000/BigC/ArchitectureColoredPainting 2023-03-18 20:30:31 +08:00
yang.yongquan 3c2eada43f 添加了获得线宽的函数 2023-03-18 20:26:07 +08:00
karlis 6494c2b9af Merge branch 'main' of http://101.34.228.45:3000/BigC/ArchitectureColoredPainting 2023-03-18 20:20:25 +08:00
wuyize fd1baf42f6 Renderer图元变换改用矩阵 2023-03-18 20:17:12 +08:00
karlis aeead9d22e 添加创建时递归约束 2023-03-18 20:12:43 +08:00
ArgonarioD f42868cf3f merge 2023-03-18 18:19:27 +08:00
ArgonarioD d40796abb0 为LayerStyleContainer添加了文档注释 2023-03-18 18:16:11 +08:00
karlis 84bddf4447 Merge branch 'main' of http://101.34.228.45:3000/BigC/ArchitectureColoredPainting 2023-03-18 16:26:51 +08:00
wuyize 31f2c1be8f 打开模型时卸载现有模型 2023-03-18 12:18:38 +08:00
ArgonarioD c15e8c3a5b [style] 重新设计了LayerStyle在Layer中的存储形式
新增了LayerStyleContainer类,修改了相关代码
修改了部分bad smells
2023-03-18 03:51:47 +08:00
ArgonarioD 73719905db 优化了一些bad smells 2023-03-18 03:49:15 +08:00
ArgonarioD 789d282393 [editor] 添加了LayerStyleContainer,重构了部分代码 2023-03-18 03:46:49 +08:00
ArgonarioD fb7caf407c [stroke] 对GUI做出了一些改善 2023-03-17 20:55:41 +08:00
karlis 24f8daf1fd 菜单优化 2023-03-17 17:14:09 +08:00
ArgonarioD 096c3ac848 merge 2023-03-17 16:20:34 +08:00
karlis 9e4cdb3a63 添加项目名称和背景颜色字段 2023-03-17 14:14:07 +08:00
wuyize 6a09bdd32c FIX: GraphicElement中pixelRatio计算错误 2023-03-17 12:29:31 +08:00
wuyize 2569b07233 Renderer部分Painting支持设置背景颜色 2023-03-17 11:54:43 +08:00
ArgonarioD 81bb1b4b86 [editor/style] 完成StrokeStyle的序列化和反序列化
[stroke] 取消创建StrokeStyle时的初值
2023-03-16 20:22:03 +08:00
ArgonarioD 7da01fbe92 [editor] 验证material组件bug已修复 2023-03-16 20:18:41 +08:00
ArgonarioD 9984dd23f8 Merge branch 'main' into dev-LayerStyle 2023-03-16 20:17:12 +08:00
ArgonarioD 200dccff46 [stroke] 完成序列化和反序列化 2023-03-16 20:16:03 +08:00
ArgonarioD fef34280c6 [editor/util] fix: toBase64 size设置有误导致编码错误 2023-03-16 20:15:13 +08:00
wuyize 4ff5406acc FIX: qt-material-widgets资源未加载 2023-03-16 19:29:38 +08:00
ArgonarioD 50a1bdaff4 merge 2023-03-16 15:47:59 +08:00
ArgonarioD ce7f2ae8fa 同上 2023-03-16 15:34:21 +08:00