DE
apps/winzik / forms / TagForm.form.yaml · commit 6576d6f
# Form6 of 2001: the ID3 tag of the song playing (title, artist, album, comment, year, genre).form:  title: 'Informations du morceau'  dialog: true  width: 480  theme: dark  accent: '#ff8080'  gap: 8  children:    - {type: label, id: fileName, text: '', style: muted, wrap: false}    - {type: label, text: 'Nom de la chanson :'}    - {type: textbox, id: songTitle, maxLength: 30, placeholder: 'Information non disponible', events: {submit: onFieldSubmit}}    - {type: label, text: "Nom de l'auteur :"}    - {type: textbox, id: artist, maxLength: 30, placeholder: 'Information non disponible', events: {submit: onFieldSubmit}}    - {type: label, text: "Nom de l'album :"}    - {type: textbox, id: album, maxLength: 30, placeholder: 'Information non disponible', events: {submit: onFieldSubmit}}    - {type: label, text: 'Commentaires :'}    - {type: textbox, id: comment, maxLength: 2000, placeholder: 'Information non disponible', events: {submit: onFieldSubmit}}    - type: row      gap: 8      children:        - {type: label, text: 'Année :'}        - {type: textbox, id: year, maxLength: 4, width: 70, placeholder: 'AAAA', tooltip: 'Quatre chiffres (ex : 2001), ou vide', events: {change: onYearChange, submit: onFieldSubmit}}        - {type: label, text: 'Genre :'}        - {type: combobox, id: genre, grow: 1, rows: 10}    - {type: label, text: "Partie jouée, en secondes (vide : du début / jusqu'à la fin ; pour sauter un blanc ou une intro) :"}    - type: row      gap: 6      items: center      children:        - {type: label, text: 'Début :', wrap: false}        - {type: textbox, id: markStart, width: 80, placeholder: '0', events: {submit: onFieldSubmit}}        - {type: button, id: startHere, text: 'Ici', tooltip: 'La position de la lecture', events: {click: onStartHereClick}}        - {type: label, text: 'Fin :', wrap: false}        - {type: textbox, id: markEnd, width: 80, placeholder: 'fin', events: {submit: onFieldSubmit}}        - {type: button, id: endHere, text: 'Ici', tooltip: 'La position de la lecture', events: {click: onEndHereClick}}        - {type: spacer}        - {type: button, id: marksClear, text: 'Effacer', style: flat, events: {click: onMarksClearClick}}    - {type: label, id: info, text: '', style: muted}    - {type: label, id: error, text: '', color: '#ff8080', visible: false}    - type: row      gap: 8      children:        - {type: button, id: update, text: 'Mettre à jour', events: {click: onUpdateClick}}        - {type: spacer}        - {type: button, id: cancel, text: Annuler, style: flat, cancel: true, events: {click: onCancelClick}}        - {type: button, id: ok, text: Ok, style: primary, default: true, events: {click: onOkClick}}