-
Notifications
You must be signed in to change notification settings - Fork 4
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
[FEATURE] copy HC to clipboard #106
Comments
Making the head circulumference text selectable might be an easy half-way measure |
Some way to tackle this by:
For testing, different OS has different clipboard system, I am not sure if Qt has unify this. We also need to define:
Extend from this, potentially we can add a UI for history measurement result and recall image when double click on it. |
Probably have a button or something. I'm sure that there's a Python library out there to multiplex clipboard systems, even if Qt does not. I'm guessing without units? I assume the results are put into a spreadsheet or CSV or something for further processing. |
I think Qt has functionality for cross-platform clipboard access (https://doc.qt.io/qt-6/qclipboard.html). The simplest way would be to support without units, and a single measurement at a time. Double clicking & pressing the short cut for copy (ctl-C, Apple-C etc) on the text in the window should do the trick (currently not possible). Correct, re use: results are inserted into spreadsheet |
Just wondering the actual workflow, do you also need the filename in the copy? Or how do you distinguish them in your spreadsheet, is it just a single column and row index, or two column with filename and measurement result? |
We probably want to keep the potential workflow as open as possible. So, the user can select and copy any text and we should make sure that text is available. Thus, changing the text above the image, e.g. have just the name of the file (without extension) + the head circumference + unit: myimage: 122.34 mm. Then a user can select either the whole line (triple click), or just the number (double click) |
It would be great to have a button/option to copy the computed head circumference to the clipboard, so that one can paste it to a spreadsheet easily (and reduce potential typing/copying errors)
The text was updated successfully, but these errors were encountered: