Subversion Repositories seema-scanner

Rev

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

Rev 182 Rev 192
Line 40... Line 40...
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("Phase Shifting 2 frequency heterodyne", "PhaseShiftTwoFreq");
43
    ui->algorithmComboBox->addItem("Phase Shifting 2 frequency heterodyne", "PhaseShiftTwoFreq");
44
    ui->algorithmComboBox->addItem("Phase Shifting 3 frequency (experimental)", "PhaseShiftThreeFreq");
44
    ui->algorithmComboBox->addItem("Phase Shifting 3 frequency (experimental)", "PhaseShiftThreeFreq");
-
 
45
    ui->algorithmComboBox->addItem("Embedded Phase Shifting (experimental)", "PhaseShiftEmbedded");
45
    ui->algorithmComboBox->addItem("Line Shifting", "LineShift");
46
    ui->algorithmComboBox->addItem("Line Shifting", "LineShift");
46
 
47
 
47
    // Set all elements to current application settings
48
    // Set all elements to current application settings
48
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
49
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
49
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
50
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);