MagicSmoke
$VERSION$
|
Main Overview Window. More...
#include <overview.h>
Public Slots | |
void | aclWindow () |
open ACL/user admin window More... | |
void | customerMgmt () |
manage customers More... | |
void | deductVoucher () |
deduct some money from a voucher (to pay outside the system) More... | |
void | doBackup () |
do a backup now More... | |
void | editOdfTemplate () |
void | editPayment () |
edit payment options More... | |
void | editShipping () |
edit shipping options More... | |
void | editTemplates () |
open template editor More... | |
void | emptyVoucher () |
empty/invalidate voucher More... | |
void | refreshData () |
refresh data that we can refresh More... | |
void | showRestored () |
restore the window More... | |
void | switchToCartTab () |
switch to the cart tab More... | |
void | ticketReturn () |
return a ticket or voucher More... | |
Public Slots inherited from MTabWin | |
virtual QMenu * | addMenu (QString) |
add a menu to the left side, where it is visible for all tabs More... | |
virtual void | addTab (QWidget *tab, QString title, QList< QMenu * >menu=QList< QMenu * >()) |
add a tab More... | |
QWidget * | currentTab () const |
returns the current tab More... | |
QMenu * | helpMenu () const |
returns a pointer to the help menu More... | |
void | setCurrentTab (QWidget *) |
set the current tab More... | |
void | setTabEnabled (QWidget *, bool) |
enables/disables a tab More... | |
void | setWindowTitle (const QString &) |
overrides QWidget::setWindowTitle(const QString&) - adds basic session info More... | |
Public Member Functions | |
MOverview (QString) | |
construct the window with web-request/session handler and QSettings-key for current profile More... | |
~MOverview () | |
Public Member Functions inherited from MTabWin | |
MTabWin (QString, QWidget *parent=0) | |
construct the window with web-request/session handler and QSettings-key for current profile More... | |
~MTabWin () | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *) override |
handle closing the window: close the session too More... | |
Friends | |
class | MWizard |
Additional Inherited Members | |
Protected Slots inherited from MTabWin | |
virtual void | tabChanged (int tabid=-1) |
generic check which tab is active More... | |
Protected Attributes inherited from MTabWin | |
QString | profilekey |
Main Overview Window.
MOverview::MOverview | ( | QString | pk | ) |
construct the window with web-request/session handler and QSettings-key for current profile
References aclWindow(), MTabWin::addMenu(), MTabWin::addTab(), customerMgmt(), deductVoucher(), doBackup(), editOdfTemplate(), editPayment(), editShipping(), editTemplates(), emptyVoucher(), MEntranceTab::menu(), MEventsTab::menu(), MOrdersTab::menu(), MSessionClient_createMenuObject(), refreshData(), req, MTabWin::setCurrentTab(), MTabWin::setTabEnabled(), switchToCartTab(), and ticketReturn().
MOverview::~MOverview | ( | ) |
References req.
|
slot |
|
overrideprotected |
handle closing the window: close the session too
References GEOGROUP.
|
slot |
manage customers
Referenced by MOverview().
|
slot |
deduct some money from a voucher (to pay outside the system)
References cent2str(), MTDeductVoucher::getamount(), MTDeductVoucher::getvoucher(), req, and MCentSpinBox::value().
Referenced by MOverview().
|
slot |
do a backup now
References MTBackup::getbackup(), MTabWin::profilekey, MTBackup::query(), and req.
Referenced by MOverview().
|
slot |
Referenced by MOverview().
|
slot |
edit payment options
Referenced by MOverview().
|
slot |
|
slot |
|
slot |
|
slot |
refresh data that we can refresh
References MTabWin::profilekey, req, MEventsTab::updateEvents(), and MCartTab::updateShipping().
Referenced by MOverview().
|
slot |
|
slot |
|
slot |
|
friend |