Applications/DTIAtlasFiberAnalyzer/DTIAtlasFiberAnalyzerguiwindow.cxx
/*********************************************************************************
* Open a dialog to search the name of the vector's path and write it in the GUI
* Widget
********************************************************************************/
Open a dialog to search the name of the vector's path and write it in the GUI
Widget
Open a dialog to search the name of the vector ' s path and write it in the GUI Widget
void DTIAtlasFiberAnalyzerguiwindow::BrowseSoft(int soft)  
{
    QString SoftBrowse = QFileDialog::getOpenFileName(this, "Open Software", QString(), "Executable Files (*)");
    if(!SoftBrowse.isEmpty())
    {
        switch (soft)
        {
        case 1:
            FiberProcessLine->setText( SoftBrowse ) ;
            break;
        case 2:
            FiberPostProcessLine->setText( SoftBrowse ) ;
            break;
        case 3:
            DTITractStatLine->setText( SoftBrowse ) ;
            break;
        case 4:
            MergeStatWithFiberLine->setText( SoftBrowse ) ;
            break;
        }
    }
}
void DTIAtlasFiberAnalyzerguiwindow :: BrowseSoft ( int soft ) { QString SoftBrowse = QFileDialog :: getOpenFileName ( this , " " , QString ( ) , " " ) ; if ( ! SoftBrowse . isEmpty ( ) ) { switch ( soft ) { case 1 : FiberProcessLine -> setText ( SoftBrowse ) ; break ; case 2 : FiberPostProcessLine -> setText ( SoftBrowse ) ; break ; case 3 : DTITractStatLine -> setText ( SoftBrowse ) ; break ; case 4 : MergeStatWithFiberLine -> setText ( SoftBrowse ) ; break ; } } }
Open a dialog to search the name of the vector's path and write it in the GUI
Widget
Open a dialog to search the name of the vector ' s path and write it in the GUI Widget
/*SLOT*/ //softwares: 1=FiberProcess, 2=FiberPostProcess, 3=DTITractStat, 4=MergeStatWithFiber