Applications/DTIAtlasFiberAnalyzer/DTIAtlasFiberAnalyzerguiwindow.cxx
/*********************************************************************************
 * ClearDataInformation: Clear all informations concerning data.
 *********************************************************************************/
Clear all informations concerning data.
Clear all informations concerning data .
void DTIAtlasFiberAnalyzerguiwindow::ClearDataInformation()
{
    if(m_CSV!=NULL)
    {
        clearCSV();
        m_CSV=NULL;
    }
    m_CSVcreated = false;
    csvfilename->clear();
    addCRframe->setEnabled (false);
    saveframe->setEnabled (false);
    ColumnFrame->setEnabled (false);
    m_nextStep = false;
    nextstep->setEnabled (true);
    previousstep->setEnabled (false);
    m_currentRow = -1;
    m_currentColumn = -1;
    m_numberstep = 0;
    for(int i=1; i<3; i++)
    {
        PrincipalWidget->setTabEnabled (m_numberstep + i,true);
    }
    m_DataCol = -1;
    m_DeformationCol = -1;
    m_NameCol = -1;
    m_OutputFolder.clear();
    ColumnData->clear();
    ColumnDeformation->clear();
    ColumnNameCases->clear();
    outputfolder->clear();
    CheckNextStep();
}
void DTIAtlasFiberAnalyzerguiwindow :: ClearDataInformation ( ) { if ( m_CSV != NULL ) { clearCSV ( ) ; m_CSV = NULL ; } m_CSVcreated = false ; csvfilename -> clear ( ) ; addCRframe -> setEnabled ( false ) ; saveframe -> setEnabled ( false ) ; ColumnFrame -> setEnabled ( false ) ; m_nextStep = false ; nextstep -> setEnabled ( true ) ; previousstep -> setEnabled ( false ) ; m_currentRow = -1 ; m_currentColumn = -1 ; m_numberstep = 0 ; for ( int i = 1 ; i < 3 ; i ++ ) { PrincipalWidget -> setTabEnabled ( m_numberstep + i , true ) ; } m_DataCol = -1 ; m_DeformationCol = -1 ; m_NameCol = -1 ; m_OutputFolder . clear ( ) ; ColumnData -> clear ( ) ; ColumnDeformation -> clear ( ) ; ColumnNameCases -> clear ( ) ; outputfolder -> clear ( ) ; CheckNextStep ( ) ; }
ClearDataInformation: Clear all informations concerning data.
ClearDataInformation : Clear all informations concerning data .
/* Disable the frame to add column and row */ //Unable next step //Reinitialize the current cell to nothing //Disable every tab except the first one //PrincipalWidget->setTabEnabled (m_numberstep + i,false);