MagicSmoke  $VERSION$
MOverview Class Reference

Main Overview Window. More...

#include <overview.h>

Inheritance diagram for MOverview:
MTabWin

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
 

Detailed Description

Main Overview Window.

Constructor & Destructor Documentation

MOverview::~MOverview ( )

References req.

Member Function Documentation

void MOverview::aclWindow ( )
slot

open ACL/user admin window

References MAclWindow::showWindow().

Referenced by MOverview().

void MOverview::closeEvent ( QCloseEvent *  ce)
overrideprotected

handle closing the window: close the session too

References GEOGROUP.

void MOverview::customerMgmt ( )
slot

manage customers

Referenced by MOverview().

void MOverview::deductVoucher ( )
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().

void MOverview::doBackup ( )
slot

do a backup now

References MTBackup::getbackup(), MTabWin::profilekey, MTBackup::query(), and req.

Referenced by MOverview().

void MOverview::editOdfTemplate ( )
slot

Referenced by MOverview().

void MOverview::editPayment ( )
slot

edit payment options

Referenced by MOverview().

void MOverview::editShipping ( )
slot

edit shipping options

References MCartTab::updateShipping().

Referenced by MOverview().

void MOverview::editTemplates ( )
slot

open template editor

References MSInterface::instance().

Referenced by MOverview().

void MOverview::emptyVoucher ( )
slot

empty/invalidate voucher

References req.

Referenced by MOverview().

void MOverview::refreshData ( )
slot

refresh data that we can refresh

References MTabWin::profilekey, req, MEventsTab::updateEvents(), and MCartTab::updateShipping().

Referenced by MOverview().

void MOverview::showRestored ( )
slot

restore the window

References GEOGROUP.

Referenced by MagicSmokeMain::realmain().

void MOverview::switchToCartTab ( )
slot

switch to the cart tab

References MTabWin::setCurrentTab().

Referenced by MOverview().

void MOverview::ticketReturn ( )
slot

return a ticket or voucher

References MTReturnTicketVoucher::query().

Referenced by MOverview().

Friends And Related Function Documentation

friend class MWizard
friend

The documentation for this class was generated from the following files: