View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001921 | Slicer4 | Core: GUI | public | 2012-04-19 08:44 | 2012-08-21 09:46 |
Reporter | pinter | Assigned To | finetjul | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.1.0 | ||||
Target Version | Slicer 4.1.1 | Fixed in Version | Slicer 4.1.1 | ||
Summary | 0001921: Attribute list in MRML Node Inspector in Data module | ||||
Description | I extended the Data module with a table widget that displays the attributes of the selected MRML node, and allows adding, editing and removing attributes. I forked the Slicer trunk just now, you can find it here: Please review the code and merge it if you find it worthy. | ||||
Tags | No tags attached. | ||||
Julien - could you have a look at this code? It's from the Slicer RT project, but could be useful for many applications. Screenshot of the interface: Commit diff: https://github.com/cpinter/Slicer/commit/9edb32c18ac9a71462a8ac745bd92a575b5ab689 |
|
Looks very nice ! 2 important points summarized here: 1) a) A lot of logic is added to the Data module. My preference (not 100% mandatory): 2) I would make the use of QTimer optional. |
|
I made the changes you suggested in these commits: It seems to work fine, although I don't really like the automatic column resize setting of the table. It resizes itself to the actually visible content, and when I scroll to a view that contains longer attribute values, it remains small. Maybe we can come up with something else. Please take a look at the code and let me know if anything needs to be changed. |
|
Looks good (haven't compiled nor run it though). Please see my few comments. |
|
I made the changes you requested, thanks for reviewing the code! I added the tests for the widgets: I'm going on holiday tomorrow, so I might react slowly. |
|
Writting unit test is a good technique to ensure your API is good and usable. |
|
I finished the tests (https://github.com/cpinter/Slicer/commit/b52c52a21c6b274b10eb174c937f12612d2d9b1b). |
|
I wrote some minor comments.
|
|
I addressed most of what you wrote: |
|
Sounds good. |
|
I commited my changes in the SVN repo as revision 20089. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-04-19 08:44 | pinter | New Issue | |
2012-04-19 10:11 | pieper | Note Added: 0004046 | |
2012-04-19 10:11 | pieper | Assigned To | => finetjul |
2012-04-19 10:11 | pieper | Status | new => assigned |
2012-04-19 10:11 | pieper | Category | MRML => GUI |
2012-04-19 11:10 | finetjul | Note Added: 0004047 | |
2012-04-19 11:11 | finetjul | Note Edited: 0004047 | |
2012-04-20 15:35 | pinter | Note Added: 0004054 | |
2012-04-23 05:05 | finetjul | Note Added: 0004056 | |
2012-04-23 13:28 | pinter | Note Added: 0004064 | |
2012-04-23 14:08 | finetjul | Note Added: 0004065 | |
2012-05-04 01:57 | pinter | Note Added: 0004157 | |
2012-05-04 04:49 | finetjul | Note Added: 0004158 | |
2012-05-15 15:02 | pinter | Note Added: 0004420 | |
2012-05-15 15:17 | finetjul | Note Added: 0004423 | |
2012-05-16 09:27 | pinter | Note Added: 0004434 | |
2012-05-17 19:55 | finetjul | Status | assigned => resolved |
2012-05-17 19:55 | finetjul | Fixed in Version | => Slicer 4.2.0 AHM Summer 2012 |
2012-05-17 19:55 | finetjul | Resolution | open => fixed |
2012-05-17 20:33 | pinter | Status | resolved => closed |
2012-05-17 20:33 | pinter | Fixed in Version | Slicer 4.2.0 AHM Summer 2012 => Slicer 4.1.1 |
2012-06-26 08:04 | pinter | Relationship added | related to 0002258 |
2012-08-21 09:46 | jcfr | Target Version | => Slicer 4.1.1 |