Subversion Repositories seema-scanner

Rev

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

Rev 123 Rev 128
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", "GrayCodeHorzVert");
42
    ui->algorithmComboBox->addItem("Gray Coding Horizontal+Vertical", "GrayCodeHorzVert");
43
    ui->algorithmComboBox->addItem("Phase Shifting", "PhaseShift");
43
    ui->algorithmComboBox->addItem("Phase Shifting with 2 frequencies", "PhaseShiftTwoFreq");
-
 
44
    ui->algorithmComboBox->addItem("Phase Shifting with 3 frequencies", "PhaseShiftThreeFreq");
44
    ui->algorithmComboBox->addItem("Line Shift", "LineShift");
45
    ui->algorithmComboBox->addItem("Line Shift", "LineShift");
45
 
46
 
46
    // Set all elements to current application settings
47
    // Set all elements to current application settings
47
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
48
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
48
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
49
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);