Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

SpectrumBrowser.qml 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // tonalisa - software to look at overtone-structures
  2. // Copyright (C) 2016 Dominik Schmidt-Philipp
  3. //
  4. // This program is free software: you can redistribute it and/or modify
  5. // it under the terms of the GNU General Public License as published by
  6. // the Free Software Foundation, either version 3 of the License, or
  7. // (at your option) any later version.
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. //
  17. import QtQuick 2.3
  18. import QtQuick.Dialogs 1.2
  19. import QtQuick.Controls 1.2
  20. Item {
  21. id:root
  22. Rectangle {
  23. id:background
  24. anchors.fill:parent
  25. color:"#333"
  26. }
  27. Column {
  28. width:160
  29. spacing:1
  30. Repeater {
  31. model: [{
  32. "name":"pythagoräisches Komma",
  33. "spectrum":[32.70319566257483,0.9,49.05479349386224,0.9,73.58219024079337,0.9,110.3732853611901,0.9,165.5599280417851,0.9,248.3398920626776,0.9,372.5098380940165,0.9,558.7647571410247,0.9,838.147135711537,0.9,1257.220703567305,0.9,1885.831055350958,0.9,2828.746583026437,0.9,4243.119874539656,0.9,4243.119874539656,0.9,2121.559937269828,0.9,1060.779968634914,0.9,530.389984317457,0.9,265.1949921587285,0.9,132.5974960793642,0.9,66.29874803968212,0.9,33.14937401984106,0.9]
  34. }]
  35. SpectrumSelect { text:modelData.name }
  36. }
  37. }
  38. }