Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打开多个窗口会使config.json内容出错(以及tab页分离支持) #114

Open
Deadline039 opened this issue Nov 18, 2023 · 6 comments

Comments

@Deadline039
Copy link

如果同时打开了两个窗口,关闭的时候程序会写乱JSON,导致下次打开的时候无法正确解析JSON,导致报错。希望能修复一下

也可以限制多开,用标签页同时监视多个串口。但有个问题,不能同时看,需要来回切,挺麻烦的。可以把标签做成像Chrome那样标签可以拖动的,拖动就可以独立出一个窗口,这样也可以同时看多个串口数据,也不需要再开一个窗口

Snipaste_2023-11-18_10-26-05

@Neutree
Copy link
Owner

Neutree commented Nov 18, 2023

两个窗口应该是保存的最后关闭的,照理说一般不会导致json错乱才对

@Neutree
Copy link
Owner

Neutree commented Nov 18, 2023

主要多开不知道咋安排加载json,如果保存多个json在启动时选择加载哪一个感觉也太麻烦了。

拖拽分离不知道qt支不支持 我看看

@Neutree
Copy link
Owner

Neutree commented Nov 18, 2023

oh 拖拽分离 好像有比较简单的实现方法

image

@Neutree Neutree changed the title 打开多个窗口会使config.json内容出错 打开多个窗口会使config.json内容出错(以及tab页分离支持) Nov 18, 2023
@Neutree
Copy link
Owner

Neutree commented Nov 18, 2023

顺便增加了连接状态展示

image

@Neutree
Copy link
Owner

Neutree commented Nov 18, 2023

分离tab标签:
image

@Neutree
Copy link
Owner

Neutree commented Nov 18, 2023

分别是提交 658cec5294d123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants