IQ Tool: QFileSystemWatcher, tolerate directory changes - #1237
Conversation
5717074 to
04782e3
Compare
|
I suggest adding a context menu to the file list to make file sorting order/property configurable by the user. |
|
Good idea. There's still a problem to deal with, which is why I made it by creation time. The tool specifically looks at the last line in the list to determine which file is being recorded. It does this because rx creates the file and the tool doesn't know the name otherwise. Since the tool looks at an "*.raw" file (we could make it more specific) it is possibly for other files to appear last in the list. It's also possibly to get a file from a computer that has a different clock setting, and has what looks like a future time. When I tested these cases, things didn't work right. |
|
Maybe we should just "do it right" and have the rx signal that it's recording/playing a certain file. Then the IQ tool doesn't need to infer the file name. |
89b7a20 to
7f230c6
Compare
f509c13 to
5454bbe
Compare
5454bbe to
6b235e7
Compare
- Use QFileSystemWatcher instead of polling - Sort by time instead of name - Rec time is not dependent on dir contents - Gray out more widgets while recording Signed-off-by: Jeff Long <willcode4@gmail.com>
6b235e7 to
6b89d37
Compare
This is similar to #1164 and part of #1171 together, with some added tolerance for files changing during recording or being named as if they were recorded in the future.