Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F550
reEnableSeriesReading.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
ivo
Jun 19 2010, 7:24 PM
2010-06-19 19:24:14 (UTC+2)
Size
1 KB
Referenced Files
None
Subscribers
None
reEnableSeriesReading.patch
View Options
Index: Core/Code/Algorithms/mitkDataNodeFactory.cpp
===================================================================
--- Core/Code/Algorithms/mitkDataNodeFactory.cpp (revision 23410)
+++ Core/Code/Algorithms/mitkDataNodeFactory.cpp (working copy)
@@ -173,7 +173,7 @@
this->SetOutput(i, node);
}
}
- if(!usedNewDTNF && !( m_FileName != "" ) && !(m_Serie == false))
+ if(!usedNewDTNF && ( m_FileName != "" ) && !(m_Serie == false))
ReadFileSeriesTypeITKImageSeriesReader();
}
}
Index: CoreUI/Bundles/org.mitk.gui.qt.common/src/QmitkDnDFrameWidget.cpp
===================================================================
--- CoreUI/Bundles/org.mitk.gui.qt.common/src/QmitkDnDFrameWidget.cpp (revision 23410)
+++ CoreUI/Bundles/org.mitk.gui.qt.common/src/QmitkDnDFrameWidget.cpp (working copy)
@@ -67,6 +67,8 @@
try
{
nodeReader->SetFileName(fileName->toLocalFile().toLatin1().data());
+ if(event->dropAction()==Qt::LinkAction)
+ nodeReader->SetImageSerie(true);
nodeReader->Update();
for ( unsigned int i = 0 ; i < nodeReader->GetNumberOfOutputs( ); ++i )
{
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
528
Default Alt Text
reEnableSeriesReading.patch (1 KB)
Attached To
Mode
T4357: Reading a series of image files does not work with QT4 app
Attached
Detach File
Event Timeline
ivo
added a comment.
Jun 19 2010, 7:24 PM
2010-06-19 19:24:14 (UTC+2)
Comment Actions
patch to enable series reading by drag&drop
Log In to Comment