ES
apps/winzik / forms / LyricsSearchForm.form.yaml · commit 6576d6f
# The search of lyrics on the Internet (LRCLIB, the marketplace, the old site of 2001, Claude Code on a computer that has# it): artist + title, the candidates as they come (synchronised or not), the first lines of the one chosen, Importer# (the song's lyrics) or, opened from the lyrics editor, Mettre dans l'éditeur.form:  title: 'Chercher les paroles'  dialog: true  width: 640  theme: dark  accent: '#ff2020'  gap: 8  children:    - type: row      gap: 8      children:        - {type: label, id: heading, text: 'CHERCHER LES PAROLES SUR INTERNET', bold: true, color: '#ff2020', wrap: false}        - {type: label, id: song, text: '', style: muted, grow: 1, wrap: false}    - type: grid      gap: 8      children:        - type: row          gap: 8          items: center          span: {xs: 12, sm: 5}          children:            - {type: label, text: 'Artiste :', wrap: false, width: 56}            - {type: textbox, id: artist, grow: 1, placeholder: 'artiste', events: {submit: onSearchSubmit}}        - type: row          gap: 8          items: center          span: {xs: 12, sm: 5}          children:            - {type: label, text: 'Titre :', wrap: false, width: 56}            - {type: textbox, id: title, grow: 1, placeholder: 'titre', events: {submit: onSearchSubmit}}        - {type: button, id: find, text: Chercher, span: {xs: 12, sm: 2}, events: {click: onFindClick}}    - {type: progressbar, id: busy, value: 0, max: 100, height: 6, visible: false}    - {type: label, id: sources, text: '', style: small}    - {type: listbox, id: items, height: 170, events: {change: onItemsChange, activate: onItemsActivate}}    - {type: label, id: info, text: '', style: muted}    - {type: textbox, id: preview, multiline: true, rows: 6, readonly: true, placeholder: 'Les premières lignes des paroles choisies'}    - type: row      gap: 8      wrap: true      children:        - {type: button, id: import, text: Importer, style: primary, default: true, tooltip: 'Les paroles de ce morceau (les temps gardés quand elles sont synchronisées)', events: {click: onImportClick}}        - {type: button, id: editor, text: "Ouvrir dans l'éditeur", visible: false, events: {click: onEditorClick}}        - {type: spacer}        - {type: button, id: quit, text: Fermer, cancel: true, events: {click: onQuitClick}}    - {type: label, id: status, text: '', style: small}