Exemplo n.º 1
0
Arquivo: widgets.go Projeto: xland/qt
func accessChanged(accessLineEdit *widgets.QLineEdit, index int) {
	switch index {
	case 0:
		accessLineEdit.SetReadOnly(false)
	case 1:
		accessLineEdit.SetReadOnly(true)
	}
}