Closed pjrinaldi closed 1 year ago
maybe make verify dialog non-modal, and then add a progressbar and not close the dialog when kick off a verification and then update progressbar with the status as it goes
Also need to look at image creation and how it let's the user know something is happening.
Currently deciding whether i want to add the verification progress to the verify window, or maybe have a progressdialog created for each image chosen to verify.
also need to add the ability to cancel the verification to at least closing if not somewhere else such as the progress dialog.
might be able to tie the futurewatcher to the progressbar..
futurewatcher is a bust, need to come up with someone to get the verify bytes as they go and then do what i need... but maybe i don't need to do anything special except for call an emit function from imagefunctions....
switched to qlabel. need to impelement the cancel button for the verification, so i will need to add a horizontal layout to the vertical layout for each one... and link the button to call the futurewatcher->stop() or whatever it is.
making progress on verification status and a cancel button framework, but cancel cancels after the current is done running, which i forgot about and won't work for a long imaging process... so i will need to kill it another way, or i will need to create a custom threading call (not QtConcurrent) which will allow me to kill a running process... maybe qthread or there is an abort() or something.
when call cancel from qtconcurrent, i need to then have a switch with the verification while loop which will break the loop and stop the processing...
i successfully break out of the loop in testing. just need to clean it up some and update the messaging and display of the cancel button since it cancels all the initiated verifications and not just an individual one.
Need to implement some sort of activity progress fro the forensic image verificaiton.
i think the best option is maybe a label to left of the listview in the dialog and make the dialog not modal.