QMessageBoxmessageBox{QMessageBox::Critical,tr("LaTeX header could not be loaded"),tr("The LaTeX header at '%1/%2_header.tex' could not be loaded. Receipts printing will not work.")
constQString*constanonymousReceiptsPlaceholder;//! Placeholder which shall be inserted for participant names if anonymous printing is desired (QString != "")
constQVector<QString*>*constsettingsItems;//! A QVector storing all needed command paths
QString*dateString=nullptr;
QPlainTextEdit*constdebugMessagesTextEdit=nullptr;//! A pointer to the programs debug_messages_text_edit to be able to emit debugging messages
QStringexpectedPaymentFileName;//! The name of the expected payment file
QMessageBoxmessage_box{QMessageBox::Warning,"dvi creation failed","The creation of the receipts dvi timed out after 30 seconds. Automatic receipts creation will not work.",QMessageBox::Ok};
message_box.exec();
@ -63,7 +63,7 @@ class ReceiptsPrinter : public QThread {
emitErrorOccurred(newQString{"The conversion of the receipts dvi to postscript timed out after 30 seconds. Automatic receipts creation will not work."},newQString{"dvi to postscript conversion failed"});
deleteprocess;
@ -74,14 +74,14 @@ class ReceiptsPrinter : public QThread {
emitErrorOccurred(newQString("The cleanup of the temporary files for receipts creation timed out. Some spare files may be left in your zTree working directory."),newQString("Cleanup failed"));
}
@ -142,7 +142,6 @@ class ReceiptsPrinter : public QThread {