View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003322 | Slicer4 | Core: Base Code | public | 2013-08-26 07:41 | 2017-07-25 00:53 |
Reporter | jcfr | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | acknowledged | Resolution | open | ||
Product Version | |||||
Target Version | backlog | Fixed in Version | |||
Summary | 0003322: Re-factor qSlicerIO code | ||||
Description | 1) Naming of function in qSlicerCoreIOManager is not consistent
2) Readers and writers should be registered in the "right" order with generic being the last one. 3) Consolidate qSlicerCoreIOManager::readers with qSlicerCoreIOManagerPrivate::readers. 4) Look into passing down a "writer id" after selecting an extension within the save dialog. Doing so would avoid ambiguity. 5) Consistently used vtkMRMLDoubleArrayStorageNode::InitializeSupported(Read|Write)FileTypes for both reader and writer | ||||
Tags | No tags attached. | ||||
Related commits: |
|
2) Readers and writers should be registered in the "right" order with generic being the last one. These are now addressed by defining composite file extensions. Always the reader associated with the most specific file extension will be used to read a file. For example: |
|
Slicer: 2145-support-for-installing-extension-from-file b0302280 2013-08-26 23:29:53 Details Diff |
BUG: Consider specific file writer before generic one. Ideally the file reader/writer should be reworked to have a more consistent API. More specifically after the user select a file type in the "save dialog", the corresponding "file writer id" should be passed down the qSlicerCoreIOManager::saveScene/saveNodes methods. This would prevent confusion for the user. Indeed, if a writer fails a clear error message would be displated and the system wouldn't try an other possible writer. See issue 0003322 git-svn-id: http://svn.slicer.org/Slicer4/trunk@22337 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTCore/qSlicerCoreIOManager.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-26 07:41 | jcfr | New Issue | |
2013-08-26 07:41 | jcfr | Status | new => assigned |
2013-08-26 07:41 | jcfr | Assigned To | => jcfr |
2013-08-26 07:41 | jcfr | Target Version | => Slicer 4.4.0 |
2013-08-26 07:58 | jcfr | Description Updated | |
2013-08-26 15:18 | jcfr | Description Updated | |
2013-08-26 19:41 | jcfr | Note Added: 0009606 | |
2013-08-27 11:25 | jcfr | Relationship added | related to 0002464 |
2014-03-07 09:05 | jcfr | Status | assigned => acknowledged |
2014-03-07 09:05 | jcfr | Target Version | Slicer 4.4.0 => |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file b0302280 |
2017-07-25 00:51 | lassoan | Note Added: 0014958 | |
2017-07-25 00:53 | lassoan | Severity | major => minor |
2017-07-25 00:53 | lassoan | Target Version | => backlog |