void WiimotePipeServerWrapper::stopLogging() { m_WiimoteLoggingOn = false; sendDataPacket(NULL,NULL,NULL,NULL,true); closeLoggingFile(); }
void ffmpegOutput::on_PB_close_clicked() { // if close, sure for stop any process emit PB_stop_ffmpeg_clicked(); // now we cand close setStopButtonDisabled(true); closeLoggingFile(); ui->PTE_ffmpeg_command->setPlainText(""); ui->PTE_standard_output->setPlainText(""); ui->PTE_ffmpeg_error->setPlainText(""); ui->PTE_ffmpeg_error->hide(); this->hide(); }