Subversion Repositories seema-scanner

Rev

Rev 169 | Rev 192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 169 Rev 182
Line 38... Line 38...
38
    }
38
    }
39
 
39
 
40
    // List pattern modes
40
    // List pattern modes
41
    ui->algorithmComboBox->addItem("Gray Coding", "GrayCode");
41
    ui->algorithmComboBox->addItem("Gray Coding", "GrayCode");
42
    ui->algorithmComboBox->addItem("Gray Coding Horizontal+Vertical (experimental)", "GrayCodeHorzVert");
42
    ui->algorithmComboBox->addItem("Gray Coding Horizontal+Vertical (experimental)", "GrayCodeHorzVert");
43
    ui->algorithmComboBox->addItem("Gray Coding Max-intensity (experimental)", "GrayCodeMax");
-
 
44
    ui->algorithmComboBox->addItem("Phase Shifting 2 frequency heterodyne", "PhaseShiftTwoFreq");
43
    ui->algorithmComboBox->addItem("Phase Shifting 2 frequency heterodyne", "PhaseShiftTwoFreq");
45
    ui->algorithmComboBox->addItem("Phase Shifting 3 frequency (experimental)", "PhaseShiftThreeFreq");
44
    ui->algorithmComboBox->addItem("Phase Shifting 3 frequency (experimental)", "PhaseShiftThreeFreq");
46
    ui->algorithmComboBox->addItem("Line Shift", "LineShift");
45
    ui->algorithmComboBox->addItem("Line Shifting", "LineShift");
47
 
46
 
48
    // Set all elements to current application settings
47
    // Set all elements to current application settings
49
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
48
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
50
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
49
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
51
 
50