13 #ifndef MAGICSMOKE_EVENTSUMMARY_H
14 #define MAGICSMOKE_EVENTSUMMARY_H
24 class QStandardItemModel;
47 void getVariable(QString,QVariant&);
48 void getLoopIterations(QString,
int&);
49 void getLoopVariable(QString,
int,QString,QVariant&);
50 void setLoopIteration(QString,
int);
55 int nreserved,ncancelled,ntotaltickets,ntotalmoney;
58 Tickets(
int p,QString c=QString()):price(p),category(c){}
59 int price=0,bought=0,used=0,unused=0;
62 QList<Tickets>tickets;
65 QString custname,comment;
67 QList<Comment>comments;
69 QMap<int,MOOrder>orders;
70 QMap<int,MOCustomerInfo>customers;
71 QMap<QString,int>loopiter;
75 void getSummaryData();
encapsulation of an event, this class wraps the auto-generated event class to provide some convenienc...
Definition: event.h:25
void setTestTemplateFile(const QString &)
set a test template
Definition: eventsummary.cpp:114
shows a summary for the event
Definition: eventsummary.h:28
MEventSummary(QWidget *parent, qint64 eventid)
creates a new summary dialog, requests data from server
Definition: eventsummary.cpp:32
~MEventSummary()
deletes MEventSummary
Definition: eventsummary.cpp:112