-
Notifications
You must be signed in to change notification settings - Fork 493
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
Fixes and enhs for the visual dicom browser #1201
Conversation
STYLE: Add splitter in the visual DICOM browser between patient tab navigation widget and Advanced group box STYLE: Add retrieve string to protocol and proxy column names in the ctkDICOMServerNodeWidget2 BUG: Preserve row selection after clicking Apply changes in the ctkDICOMServerNodeWidget2 ENH: Make server settings human readeable in the qt settings file for the ctkDICOMServerNodeWidget2 ENH: Highlight in dark yellow the modified fields in the ctkDICOMServerNodeWidget2 ENH: Improve verify server. Added job and worker classes for running it in background. Added verification status column in the ctkDICOMServerNodeWidget2 BUG: Fix selection color when items are modified in the table in the ctkDICOMServerNodeWidget2 ENH: Call onShowPatients for ctkDICOMVisualBrowserWidget in the visual DICOM browser application BUG: Fix jobs cleaning in the ctkJobScheduler destructor ENH: Verify server, in the ctkDICOMServerNodeWidget2, should verify the current modified server settings BUG: Verification column in the ctkDICOMServerNodeWidget2 should be updated only from jobs which started after clicking the verify button.
fc0b1fb
to
4f1fe7e
Compare
4f1fe7e
to
8e8928d
Compare
8e8928d
to
b7fd66a
Compare
ENH: Use menu button to disbale query/retrieve for search
b7fd66a
to
e4093e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor stylistic changes. Have not tested yet.
thanks Jc for the review. I have replied at the comments. I will apply them on Monday. If you will have the chance to test any further feedback will be very welcome 😃 Also guys @jcfr @lassoan @pieper please note that commits c8ac922 introduce a new table in the database, so I have updated the database schema version. and this commit cdda814 fix an issue that I found in the dicomDatabse, where patient metadata were inserted either with empty patientName or patientID. This created a lot of performances issues because in many methods is not actually allowed having either one of them empty (e.g. compositeID, etc....). Essentially in those cases the cache lists were broken. The commit ensure that |
Adding a new table just for storing multiple connection names for a patient is not worth it. It means extra complication when creating or deleting a patient (you need to create/remove extra records in another table) and even with this extra table, it is very limited and rigid what we can store. Instead, we could add a single new column in the patient table to store the list of allowed and denied servers (need to store the list of denied servers, too, so that we don't need to keep bugging the user asking about a server that the user previously already told not to use for that patient). Query/retrieve (and DICOM in general) is object-oriented anyway (e.g., you need to query each patient from the server), so it is very natural to use this kind of object-oriented interface, and this connections configuration data is small, therefore the performance should be as good (or even better) than with a relational database approach that uses a separate table. The format of the field could be json, as we already use it (for specifying display column format). The new column name could be |
I agree, I had the issue of the security warning been raised too many times. I will apply your proposed design next week. |
STYLE: Fix indentation for visual dicom browser classes STYLE: Fix doxygen for visual dicom browser classes Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]> Co-authored-by: Andras Lasso <[email protected]>
b30f9ad
to
dca47c9
Compare
dca47c9
to
0c990d9
Compare
done! |
Co-authored-by: Andras Lasso <[email protected]>
51648d6
to
fb987c2
Compare
Let us know when this is ready for review. |
Ok, I'm planning to do a last round of manual testing tomorrow, in addition to the automated tests. I'll ping you when I have finished. |
04491eb
to
3f7de49
Compare
130e0e0
to
95c3c65
Compare
95c3c65
to
9f725e2
Compare
@lassoan tested with Slicer/Slicer#7676. This PR should be ready, please let me know if you have any other feedback. |
It would be nice to fix these before merging:
|
Done! Tomorrow I will do another set of manual tests. I will let you know when I have finished. |
fd00c93
to
2af4e0f
Compare
I still have to review all CTK classes that uses the palette approach, but ideally the solution should:
This is going to be addressed in another PR, since this PR is already too big. @sjh26, @lassoan @jcfr @pieper please let me know if you have any feedback/advice on this before I start any implementation. If necessary we can also do a videocall to discuss it. |
BUG: Fix colors for the settings in dark mode
2af4e0f
to
0955cca
Compare
@lassoan I have done. For me it is good to go, please let me know if you have any further feedback. |
Provided a barebones example in Punzo#4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I've tested on Windows and everything worked nicely.
Thanks for testing and merging! |
I have adressed all items from:
Settings : #1162 (comment)
Patient Selection: #1162 (comment)
and:
last of Logic: #1162 (comment)
second of Filtering: #1162 (comment)
See also Slicer/Slicer#7676