constQString*constanonymousReceiptsPlaceholder;//! Placeholder which shall be inserted for participant names if anonymous printing is desired (QString != "")
QString*dateString=nullptr;
QStringexpectedPaymentFileName;//! The name of the expected payment file
QStringexpectedPaymentFilePath;//! The path of the expected payment file
constQString*constlatexHeaderName;//! The name of the chosen LaTeX header template
QFile*paymentFile=nullptr;//! A pointer to the '*.pay' file being watched for existance and starting the printing process
constbool*constprintReceiptsForLocalClients;//! Stores if receipts shall be printed for local clients
ReceiptsPrinter*receiptsPrinter=nullptr;//! Creates new thread for receipts printing
QTimer*timer=nullptr;//! Used for regular checking if the payment file was created
constQString*constzTreeDataTargetPath;//! A reference to the data target path stored in the session class instance
constQStringanonymousReceiptsPlaceholder;//!< Placeholder which shall be inserted for participant names if anonymous printing is desired (QString != "")
QStringdateString;//!< The expected date string of the payment file in form 'yyMMdd_hhmm'
QStringexpectedPaymentFileName;//!< The name of the expected payment file
QStringexpectedPaymentFilePath;//!< The path of the expected payment file
constQStringlatexHeaderName;//!< The name of the chosen LaTeX header template
QFile*paymentFile=nullptr;//!< A pointer to the '*.pay' file being watched for existance and starting the printing process
constbool*constprintReceiptsForLocalClients;//!< Stores if receipts shall be printed for local clients
ReceiptsPrinter*receiptsPrinter=nullptr;//!< Creates new thread for receipts printing
QTimer*timer=nullptr;//!< Used for regular checking if the payment file was created
constQStringzTreeDataTargetPath;//!< A reference to the data target path stored in the session class instance
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};
@ -58,11 +58,11 @@ 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"});
@ -76,11 +76,11 @@ 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"));
@ -140,8 +140,8 @@ class ReceiptsPrinter : public QThread {