13 #ifndef MAGICSMOKE_EVENTSTAB_H
14 #define MAGICSMOKE_EVENTSTAB_H
18 #include <QItemDelegate>
19 #include <QMainWindow>
29 class QStandardItemModel;
95 QTableView*eventtable;
96 QStandardItemModel*eventmodel;
99 QAction*showoldevents;
103 enum ExtraTableRoles{
QString currentEventTitle() const
returns the currently selected event title
Definition: eventstab.cpp:272
void selectEventIds(QList< int > &eids, bool multi=true) const
shows an event selection dialog and returns the selected event
Definition: eventstab.cpp:299
QList< QMenu * > menu()
create menu for this tab
Definition: eventstab.cpp:90
void updateDetails()
update details view when selection changes
Definition: eventstab.cpp:183
void updateEvents()
update list of events
Definition: eventstab.cpp:123
MEventsTab(QString)
construct the tab with QSettings-key for current profile
Definition: eventstab.cpp:60
~MEventsTab()
destruct events list tab
Definition: eventstab.cpp:179
Event Viewer.
Definition: eventview.h:26
void selectEventId(int &eid, bool &ok) const
shows an event selection dialog and returns the selected event
Definition: eventstab.cpp:291
Main Overview Window: Event List Tab.
Definition: eventstab.h:37
the MagicSmoke specific interface class - enhances the basic interface by some functionality needed i...
Definition: msinterface.h:29
QString currentEventStart() const
returns the currently selected event start time as string
Definition: eventstab.cpp:279
void eventOrderTicket()
order ticket from event tab
int currentEventId() const
returns the currently selected event (as ID) or -1 if none is selected
Definition: eventstab.cpp:264