Skip to content

Commit

Permalink
widget: add pattern(tracker) view
Browse files Browse the repository at this point in the history
  • Loading branch information
BLumia committed Sep 8, 2024
1 parent 848b101 commit 1a8f335
Show file tree
Hide file tree
Showing 13 changed files with 202 additions and 36 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[Bb]uild/
.vscode/
*.user
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.8)

project(pineapple-tracker-player VERSION 0.2 LANGUAGES CXX)
project(pineapple-tracker-player VERSION 0.3.0 LANGUAGES CXX)

# https://forum.qt.io/topic/155823/cmake-does-not-work-with-qt-6-7-0
# https://bugreports.qt.io/browse/QTBUG-126167
Expand Down
21 changes: 14 additions & 7 deletions quick/translations/pineapple-tracker-player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</message>
<message>
<location line="+16"/>
<location filename="../../widget/mainwindow.cpp" line="+60"/>
<location filename="../../widget/mainwindow.cpp" line="+61"/>
<source>Play</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -52,6 +52,11 @@
</message>
<message>
<location line="+19"/>
<source>Pattern</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Instruments</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -61,7 +66,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+43"/>
<location line="+50"/>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -77,12 +82,12 @@
</message>
<message>
<location line="+11"/>
<location filename="../../widget/mainwindow.cpp" line="+101"/>
<location filename="../../widget/mainwindow.cpp" line="+114"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../widget/mainwindow.cpp" line="-144"/>
<location filename="../../widget/mainwindow.cpp" line="-157"/>
<source>Pause</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -99,7 +104,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+102"/>
<location line="+115"/>
<source>Based on the following free software libraries:</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -146,13 +151,13 @@
<location line="+3"/>
<location line="+239"/>
<location filename="../../build/quick/player/main.qml" line="+3"/>
<location line="+232"/>
<location line="+239"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-213"/>
<location filename="../../build/quick/player/main.qml" line="-206"/>
<location filename="../../build/quick/player/main.qml" line="-213"/>
<source>Song Title (Drop file to load/play)</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -176,11 +181,13 @@
</message>
<message>
<location line="+7"/>
<location filename="../../build/quick/player/main.qml" line="+7"/>
<source>Replay</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+0"/>
<location filename="../../build/quick/player/main.qml" line="+0"/>
<source>Repeat</source>
<translation type="unfinished"></translation>
</message>
Expand Down
21 changes: 14 additions & 7 deletions quick/translations/pineapple-tracker-player_nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</message>
<message>
<location line="+16"/>
<location filename="../../widget/mainwindow.cpp" line="+60"/>
<location filename="../../widget/mainwindow.cpp" line="+61"/>
<source>Play</source>
<translation>Afspelen</translation>
</message>
Expand Down Expand Up @@ -52,6 +52,11 @@
</message>
<message>
<location line="+19"/>
<source>Pattern</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Instruments</source>
<translation>Instrumenten</translation>
</message>
Expand All @@ -61,7 +66,7 @@
<translation>Typ om te filteren op trefwoord</translation>
</message>
<message>
<location line="+43"/>
<location line="+50"/>
<source>&amp;File</source>
<translation>&amp;Bestand</translation>
</message>
Expand All @@ -77,12 +82,12 @@
</message>
<message>
<location line="+11"/>
<location filename="../../widget/mainwindow.cpp" line="+101"/>
<location filename="../../widget/mainwindow.cpp" line="+114"/>
<source>About</source>
<translation>Over</translation>
</message>
<message>
<location filename="../../widget/mainwindow.cpp" line="-144"/>
<location filename="../../widget/mainwindow.cpp" line="-157"/>
<source>Pause</source>
<translation>Pauzeren</translation>
</message>
Expand All @@ -99,7 +104,7 @@
<translation>Vanaf begin</translation>
</message>
<message>
<location line="+102"/>
<location line="+115"/>
<source>Based on the following free software libraries:</source>
<translation>Gebaseerd op de volgende vrijesoftwarebibliotheken:</translation>
</message>
Expand Down Expand Up @@ -146,13 +151,13 @@
<location line="+3"/>
<location line="+239"/>
<location filename="../../build/quick/player/main.qml" line="+3"/>
<location line="+232"/>
<location line="+239"/>
<source>About</source>
<translation>Over</translation>
</message>
<message>
<location line="-213"/>
<location filename="../../build/quick/player/main.qml" line="-206"/>
<location filename="../../build/quick/player/main.qml" line="-213"/>
<source>Song Title (Drop file to load/play)</source>
<translation>Titel (sleep een bestand hierheen om af te spelen)</translation>
</message>
Expand All @@ -176,11 +181,13 @@
</message>
<message>
<location line="+7"/>
<location filename="../../build/quick/player/main.qml" line="+7"/>
<source>Replay</source>
<translation>Vanaf begin</translation>
</message>
<message>
<location line="+0"/>
<location filename="../../build/quick/player/main.qml" line="+0"/>
<source>Repeat</source>
<translation>Herhalen</translation>
</message>
Expand Down
21 changes: 14 additions & 7 deletions quick/translations/pineapple-tracker-player_pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</message>
<message>
<location line="+16"/>
<location filename="../../widget/mainwindow.cpp" line="+60"/>
<location filename="../../widget/mainwindow.cpp" line="+61"/>
<source>Play</source>
<translation type="unfinished">Odtwarzaj</translation>
</message>
Expand Down Expand Up @@ -52,6 +52,11 @@
</message>
<message>
<location line="+19"/>
<source>Pattern</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Instruments</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -61,7 +66,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+43"/>
<location line="+50"/>
<source>&amp;File</source>
<translation type="unfinished">&amp;Plik</translation>
</message>
Expand All @@ -77,12 +82,12 @@
</message>
<message>
<location line="+11"/>
<location filename="../../widget/mainwindow.cpp" line="+101"/>
<location filename="../../widget/mainwindow.cpp" line="+114"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../widget/mainwindow.cpp" line="-144"/>
<location filename="../../widget/mainwindow.cpp" line="-157"/>
<source>Pause</source>
<translation type="unfinished">Zatrzymaj</translation>
</message>
Expand All @@ -99,7 +104,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+102"/>
<location line="+115"/>
<source>Based on the following free software libraries:</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -146,13 +151,13 @@
<location line="+3"/>
<location line="+239"/>
<location filename="../../build/quick/player/main.qml" line="+3"/>
<location line="+232"/>
<location line="+239"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-213"/>
<location filename="../../build/quick/player/main.qml" line="-206"/>
<location filename="../../build/quick/player/main.qml" line="-213"/>
<source>Song Title (Drop file to load/play)</source>
<translation>Tytuł piosenki (Upuść plik aby załadować/odtworzyć)</translation>
</message>
Expand All @@ -176,11 +181,13 @@
</message>
<message>
<location line="+7"/>
<location filename="../../build/quick/player/main.qml" line="+7"/>
<source>Replay</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+0"/>
<location filename="../../build/quick/player/main.qml" line="+0"/>
<source>Repeat</source>
<translation type="unfinished"></translation>
</message>
Expand Down
21 changes: 14 additions & 7 deletions quick/translations/pineapple-tracker-player_tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</message>
<message>
<location line="+16"/>
<location filename="../../widget/mainwindow.cpp" line="+60"/>
<location filename="../../widget/mainwindow.cpp" line="+61"/>
<source>Play</source>
<translation type="unfinished">Oynat</translation>
</message>
Expand Down Expand Up @@ -52,6 +52,11 @@
</message>
<message>
<location line="+19"/>
<source>Pattern</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Instruments</source>
<translation type="unfinished"></translation>
</message>
Expand All @@ -61,7 +66,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+43"/>
<location line="+50"/>
<source>&amp;File</source>
<translation type="unfinished">&amp;Dosya</translation>
</message>
Expand All @@ -77,12 +82,12 @@
</message>
<message>
<location line="+11"/>
<location filename="../../widget/mainwindow.cpp" line="+101"/>
<location filename="../../widget/mainwindow.cpp" line="+114"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../widget/mainwindow.cpp" line="-144"/>
<location filename="../../widget/mainwindow.cpp" line="-157"/>
<source>Pause</source>
<translation type="unfinished">Duraklat</translation>
</message>
Expand All @@ -99,7 +104,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+102"/>
<location line="+115"/>
<source>Based on the following free software libraries:</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -146,13 +151,13 @@
<location line="+3"/>
<location line="+239"/>
<location filename="../../build/quick/player/main.qml" line="+3"/>
<location line="+232"/>
<location line="+239"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-213"/>
<location filename="../../build/quick/player/main.qml" line="-206"/>
<location filename="../../build/quick/player/main.qml" line="-213"/>
<source>Song Title (Drop file to load/play)</source>
<translation>Şarkı Başlığı (Yüklemek/oynatmak için dosyayı bırakın)</translation>
</message>
Expand All @@ -176,11 +181,13 @@
</message>
<message>
<location line="+7"/>
<location filename="../../build/quick/player/main.qml" line="+7"/>
<source>Replay</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+0"/>
<location filename="../../build/quick/player/main.qml" line="+0"/>
<source>Repeat</source>
<translation type="unfinished"></translation>
</message>
Expand Down
Loading

0 comments on commit 1a8f335

Please sign in to comment.