Compare commits

...
Sign in to create a new pull request.

2 commits
0.3 ... 0.5

Author SHA1 Message Date
f0242a7ad4 0.5 2025-02-15 12:19:09 +01:00
d2b70a89d0 0.4 2025-02-15 12:18:10 +01:00
5 changed files with 45 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

View file

@ -22,3 +22,8 @@ FORMS += \
qnx: target.path = /tmp/$${TARGET}/bin qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target !isEmpty(target.path): INSTALLS += target
RESOURCES += \
BPM-Studio-Net-Client.qrc
RC_ICONS = BPM-Studio-Net-Client-32x32.ico

View file

@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/">
<file>BPM-Studio-Net-Client-16x16.ico</file>
<file>BPM-Studio-Net-Client-32x32.ico</file>
</qresource>
</RCC>

View file

@ -85,37 +85,45 @@ bool MainWindow::sende_befehl(){
} }
void MainWindow::on_pushButton_pause_clicked(){ void MainWindow::on_pushButton_pause_clicked(){
if(status_auto=="an"){
while(status_loop=="ja") while(status_loop=="ja")
ui->statusbar->showMessage("~"); ui->statusbar->showMessage("~");
if(status_player1=="play"){ if(status_player1=="play"){
befehl=befehl_pause1; befehl=befehl_pause1;
sende_befehl(); sende_befehl();
}else if(status_player2=="play"){ }else if(status_player2=="play"){
befehl=befehl_pause2; befehl=befehl_pause2;
sende_befehl(); sende_befehl();
} }
}
} }
void MainWindow::on_pushButton_play_clicked(){ void MainWindow::on_pushButton_play_clicked(){
if(status_auto=="an"){
while(status_loop=="ja") while(status_loop=="ja")
ui->statusbar->showMessage("~"); ui->statusbar->showMessage("~");
if(!(status_player1=="play") || !(status_player2=="play")){ if(!(status_player1=="play") || !(status_player2=="play")){
if(status_player1=="aus" || status_player1=="pause"){ if(status_player1=="pause"){
befehl=befehl_play1; befehl=befehl_play1;
sende_befehl(); sende_befehl();
}else if(status_player2=="aus" || status_player2=="pause"){ }else if(status_player2=="pause"){
befehl=befehl_play2; befehl=befehl_play2;
sende_befehl(); sende_befehl();
}else{
befehl=befehl_play1;
sende_befehl();
}
} }
} }
} }
void MainWindow::on_pushButton_fade_clicked(){ void MainWindow::on_pushButton_fade_clicked(){
if(status_auto=="an"){
while(status_loop=="ja") while(status_loop=="ja")
ui->statusbar->showMessage("~"); ui->statusbar->showMessage("~");
if(status_player1=="play" || status_player2=="play"){ if(status_player1=="play" || status_player2=="play"){
befehl=befehl_fade; befehl=befehl_fade;
sende_befehl(); sende_befehl();
} }
}
} }