Subversion Repositories seema-scanner

Rev

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

Rev 75 Rev 107
Line 37... Line 37...
37
        }
37
        }
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("Phase Shifting", "PhaseShift");
43
    ui->algorithmComboBox->addItem("Phase Shifting", "PhaseShift");
43
 
44
 
44
    // Set all elements to current application settings
45
    // Set all elements to current application settings
45
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
46
    unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
46
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
47
    ui->algorithmComboBox->setCurrentIndex(patternModeIndex);