MagicSmoke
$VERSION$
|
Main Overview Window: Event List Tab. More...
#include <eventstab.h>
Public Slots | |
int | currentEventId () const |
returns the currently selected event (as ID) or -1 if none is selected More... | |
QString | currentEventStart () const |
returns the currently selected event start time as string More... | |
QString | currentEventTitle () const |
returns the currently selected event title More... | |
void | selectEventId (int &eid, bool &ok) const |
shows an event selection dialog and returns the selected event More... | |
void | selectEventIds (QList< int > &eids, bool multi=true) const |
shows an event selection dialog and returns the selected event More... | |
void | updateDetails () |
update details view when selection changes More... | |
void | updateEvents () |
update list of events More... | |
Signals | |
void | eventOrderTicket () |
order ticket from event tab More... | |
void | eventOrderTicket (qint64, qint64) |
order ticket from event tab More... | |
Public Member Functions | |
MEventsTab (QString) | |
construct the tab with QSettings-key for current profile More... | |
~MEventsTab () | |
destruct events list tab More... | |
QList< QMenu * > | menu () |
create menu for this tab More... | |
Main Overview Window: Event List Tab.
MEventsTab::MEventsTab | ( | QString | pk | ) |
construct the tab with QSettings-key for current profile
References eventOrderTicket(), req, updateDetails(), and updateEvents().
MEventsTab::~MEventsTab | ( | ) |
destruct events list tab
|
slot |
returns the currently selected event (as ID) or -1 if none is selected
|
slot |
returns the currently selected event start time as string
|
slot |
returns the currently selected event title
|
signal |
order ticket from event tab
Referenced by MEventsTab().
|
signal |
order ticket from event tab
QList< QMenu * > MEventsTab::menu | ( | ) |
create menu for this tab
References req, MInterface::RGetEventSummary, and updateEvents().
Referenced by MOverview::MOverview().
|
slot |
shows an event selection dialog and returns the selected event
eid | the ID of the selected event, if the dialog was normally closed |
ok | true if the dialog was closed normally, false if the user aborted |
References selectEventIds().
|
slot |
shows an event selection dialog and returns the selected event
eids | the list of IDs of the selected events, empty if nothing was selected or the user aborted |
multi | true if multiple IDs can be selected, false if only one can be selec ted |
Referenced by selectEventId().
|
slot |
update details view when selection changes
References MEventView::clearEvent(), and MEventView::setEvent().
Referenced by MEventsTab().
|
slot |
update list of events
References MTGetAllEvents::getevents(), and req.
Referenced by menu(), MEventsTab(), and MOverview::refreshData().