List of all members | Public Types | Properties | Public Attributes | Public Member Functions | Public Slots | Signals | Protected Member Functions | Protected Slots | Friends
GUIClient Class Reference

#include <guiclient.h>

Public Types

enum  WindowSystem {
  Unknown, X11, WIN, MAC,
  QWS, WINCE, S60
}
 

Properties

QString key
 

Public Attributes

QMap< const QObject *, int > _customCommands
 
QString _key
 
ReportHandler * _reportHandler
 
QString _singleWindow
 
TimeoutHandler_timeoutHandler
 

Public Member Functions

 GUIClient (const QString &, const QString &)
 
virtual ~GUIClient ()
 
Q_INVOKABLE void addDockWidget (Qt::DockWidgetArea area, QDockWidget *dockwidget)
 
Q_INVOKABLE void addToolBar (QToolBar *toolbar)
 
Q_INVOKABLE void addToolBar (Qt::ToolBarArea area, QToolBar *toolbar)
 
Q_INVOKABLE void addToolBarBreak (Qt::ToolBarArea area=Qt::TopToolBarArea)
 
Q_INVOKABLE QDoubleValidator * costVal ()
 
Q_INVOKABLE QString databaseURL ()
 
Q_INVOKABLE QIntValidator * dayVal ()
 
Q_INVOKABLE const QDate dbDate ()
 
Q_INVOKABLE const QDate endOfTime ()
 
Q_INVOKABLE QFont fixedFont ()
 
Q_INVOKABLE GUIClient::WindowSystem getWindowSystem ()
 
Q_INVOKABLE void handleNewWindow (QWidget *, Qt::WindowModality=Qt::NonModal, bool forceFloat=false)
 
Q_INVOKABLE int hunspell_add (const QString word)
 
Q_INVOKABLE int hunspell_check (const QString word)
 
Q_INVOKABLE int hunspell_ignore (const QString word)
 
Q_INVOKABLE bool hunspell_ready ()
 
Q_INVOKABLE const QStringList hunspell_suggest (const QString word)
 
Q_INVOKABLE InputManagerinputManager ()
 
Q_INVOKABLE QString key ()
 
Q_INVOKABLE void launchBrowser (QWidget *, const QString &)
 
void loadScriptGlobals (QScriptEngine *engine)
 
Q_INVOKABLE QMenuBar * menuBar ()
 
Q_INVOKABLE QDoubleValidator * moneyVal ()
 
Q_INVOKABLE QWidgetmyActiveWindow ()
 
Q_INVOKABLE QDoubleValidator * negMoneyVal ()
 
Q_INVOKABLE QDoubleValidator * negPercentVal ()
 
Q_INVOKABLE QIntValidator * orderVal ()
 
Q_INVOKABLE QDoubleValidator * percentVal ()
 
Q_INVOKABLE void populateCustomMenu (QMenu *, const QString &)
 
Q_INVOKABLE QDoubleValidator * priceVal ()
 
Q_INVOKABLE QDoubleValidator * qtyPerVal ()
 
Q_INVOKABLE QDoubleValidator * qtyVal ()
 
Q_INVOKABLE QDoubleValidator * ratioVal ()
 
Q_INVOKABLE QDoubleValidator * runTimeVal ()
 
Q_INVOKABLE void saveToolbarPositions ()
 
Q_INVOKABLE QDoubleValidator * scrapVal ()
 
Q_INVOKABLE void setCaption ()
 
Q_INVOKABLE void setCentralWidget (QWidget *widget)
 
Q_INVOKABLE void setUpListener (const QString &)
 
Q_INVOKABLE bool showTopLevel () const
 
Q_INVOKABLE bool shuttingDown ()
 
Q_INVOKABLE bool singleCurrency ()
 
Q_INVOKABLE const QDate startOfTime ()
 
Q_INVOKABLE QFont systemFont ()
 
Q_INVOKABLE void tabifyDockWidget (QDockWidget *first, QDockWidget *second)
 
Q_INVOKABLE QDoubleValidator * transQtyVal ()
 
Q_INVOKABLE QString username ()
 
Q_INVOKABLE QDoubleValidator * weightVal ()
 
Q_INVOKABLE QWidgetList windowList ()
 
Q_INVOKABLE QMdiArea * workspace ()
 

Public Slots

void initMenuBar ()
 
void sAssortmentsUpdated (int, bool)
 
void sBankAccountsUpdated ()
 
void sBankAdjustmentsUpdated (int, bool)
 
void sBBOMsUpdated (int, bool)
 
void sBillingSelectionUpdated (int, int)
 
void sBOMsUpdated (int, bool)
 
void sBOOsUpdated (int, bool)
 
void sBudgetsUpdated (int, bool)
 
void sCashReceiptsUpdated (int, bool)
 
void sChecksUpdated (int, int, bool)
 
void sClearErrorMessages ()
 
void sConfigureGLUpdated ()
 
void sCreditMemosUpdated ()
 
void sCrmAccountsUpdated (int)
 
void sCustomCommand ()
 
void sCustomersUpdated (int, bool)
 
void sEmitNotifyHeard (const QString &note)
 
void sEmployeeUpdated (int)
 
void setWindowTitle ()
 
void sFocusChanged (QWidget *old, QWidget *now)
 
void sGlSeriesUpdated ()
 
void sIdleTimeout ()
 
void sInvoicesUpdated (int, bool)
 
void sItemGroupsUpdated (int, bool)
 
void sItemsitesUpdated ()
 
void sItemsUpdated (int, bool)
 
void sNewErrorMessage ()
 
void sPaymentsUpdated (int, int, bool)
 
void sProjectsUpdated (int)
 
void sProspectsUpdated ()
 
void sPurchaseOrderReceiptsUpdated ()
 
void sPurchaseOrdersUpdated (int, bool)
 
void sPurchaseRequestsUpdated ()
 
void sQOHChanged (int, bool)
 
void sQuotesUpdated (int)
 
void sReportError (const QString &)
 
void sReportsChanged (int, bool)
 
void sReturnAuthorizationsUpdated ()
 
void sSalesOrdersUpdated (int)
 
void sSalesRepUpdated (int)
 
void sStandardPeriodsUpdated ()
 
void sSystemMessageAdded ()
 
void sTaxAuthsUpdated (int)
 
void sTick ()
 
void sTransferOrdersUpdated (int)
 
void sUserUpdated (QString)
 
void sVendorsUpdated ()
 
void sVouchersUpdated ()
 
void sWarehousesUpdated ()
 
void sWorkCentersUpdated ()
 
void sWorkOrderMaterialsUpdated (int, int, bool)
 
void sWorkOrderOperationsUpdated (int, int, bool)
 
void sWorkOrdersUpdated (int, bool)
 

Signals

void assortmentsUpdated (int, bool)
 
void bankAccountsUpdated ()
 
void bankAdjustmentsUpdated (int, bool)
 
void bbomsUpdated (int, bool)
 
void billingSelectionUpdated (int, int)
 
void bomsUpdated (int, bool)
 
void boosUpdated (int, bool)
 
void budgetsUpdated (int, bool)
 
void cashReceiptsUpdated (int, bool)
 
void checksUpdated (int, int, bool)
 
void configureGLUpdated ()
 
void creditMemosUpdated ()
 
void crmAccountsUpdated (int)
 
void customersUpdated (int, bool)
 
void employeeUpdated (int)
 
void glSeriesUpdated ()
 
void invoicesUpdated (int, bool)
 
void itemGroupsUpdated (int, bool)
 
void itemsitesUpdated ()
 
void itemsUpdated (int, bool)
 
void messageNotify ()
 
void paymentsUpdated (int, int, bool)
 
void projectsUpdated (int)
 
void prospectsUpdated ()
 
void purchaseOrderReceiptsUpdated ()
 
void purchaseOrdersUpdated (int, bool)
 
void purchaseRequestsUpdated ()
 
void qohChanged (int, bool)
 
void quotesUpdated (int, bool)
 
void reportsChanged (int, bool)
 
void returnAuthorizationsUpdated ()
 
void salesOrdersUpdated (int, bool)
 
void salesRepUpdated (int)
 
void standardPeriodsUpdated ()
 
void systemMessageAdded ()
 
void taxAuthsUpdated (int)
 
void tick ()
 
void transferOrdersUpdated (int)
 
void userUpdated (QString)
 
void vendorsUpdated ()
 
void vouchersUpdated ()
 
void warehousesUpdated ()
 
void workCentersUpdated ()
 
void workOrderMaterialsUpdated (int, int, bool)
 
void workOrderOperationsUpdated (int, int, bool)
 
void workOrdersUpdated (int, bool)
 

Protected Member Functions

void addDocumentWatch (QString path, int id)
 
void closeEvent (QCloseEvent *)
 
bool removeDocumentWatch (QString path)
 
void showEvent (QShowEvent *)
 

Protected Slots

void windowDestroyed (QObject *)
 

Friends

class XDialog
 
class XMainWindow
 
class xTupleGuiClientInterface
 
class XWidget
 

Member Enumeration Documentation

Enumerator
Unknown 
X11 
WIN 
MAC 
QWS 
WINCE 
S60 

Constructor & Destructor Documentation

GUIClient::GUIClient ( const QString &  pDatabaseURL,
const QString &  pUsername 
)
GUIClient::~GUIClient ( )
virtual

Member Function Documentation

void GUIClient::addDockWidget ( Qt::DockWidgetArea  area,
QDockWidget dockwidget 
)

Adds the given dockwidget to the specified area.

void GUIClient::addDocumentWatch ( QString  path,
int  id 
)
protected
void GUIClient::addToolBar ( QToolBar *  toolbar)

This is an overloaded function.

Equivalent of calling addToolBar(Qt::TopToolBarArea, toolbar)

void GUIClient::addToolBar ( Qt::ToolBarArea  area,
QToolBar *  toolbar 
)

Adds the toolbar into the specified area in this main window. The toolbar is placed at the end of the current tool bar block (i.e. line). If the main window already manages toolbar then it will only move the toolbar to area.

See also

See also
addToolBarBreak().
void GUIClient::addToolBarBreak ( Qt::ToolBarArea  area = Qt::TopToolBarArea)

Adds a toolbar break to the given area after all the other objects that are present.

void GUIClient::assortmentsUpdated ( int  ,
bool   
)
signal
void GUIClient::bankAccountsUpdated ( )
signal
void GUIClient::bankAdjustmentsUpdated ( int  ,
bool   
)
signal
void GUIClient::bbomsUpdated ( int  ,
bool   
)
signal
void GUIClient::billingSelectionUpdated ( int  ,
int   
)
signal
void GUIClient::bomsUpdated ( int  ,
bool   
)
signal
void GUIClient::boosUpdated ( int  ,
bool   
)
signal
void GUIClient::budgetsUpdated ( int  ,
bool   
)
signal
void GUIClient::cashReceiptsUpdated ( int  ,
bool   
)
signal
void GUIClient::checksUpdated ( int  ,
int  ,
bool   
)
signal
void GUIClient::closeEvent ( QCloseEvent *  event)
protected
void GUIClient::configureGLUpdated ( )
signal
Q_INVOKABLE QDoubleValidator* GUIClient::costVal ( )
inline
void GUIClient::creditMemosUpdated ( )
signal
void GUIClient::crmAccountsUpdated ( int  )
signal
void GUIClient::customersUpdated ( int  ,
bool   
)
signal
Q_INVOKABLE QString GUIClient::databaseURL ( )
inline
Q_INVOKABLE QIntValidator* GUIClient::dayVal ( )
inline
Q_INVOKABLE const QDate GUIClient::dbDate ( )
inline
void GUIClient::employeeUpdated ( int  )
signal
Q_INVOKABLE const QDate GUIClient::endOfTime ( )
inline
Q_INVOKABLE QFont GUIClient::fixedFont ( )
inline
GUIClient::WindowSystem GUIClient::getWindowSystem ( )
void GUIClient::glSeriesUpdated ( )
signal
void GUIClient::handleNewWindow ( QWidget w,
Qt::WindowModality  m = Qt::NonModal,
bool  forceFloat = false 
)
int GUIClient::hunspell_add ( const QString  word)
int GUIClient::hunspell_check ( const QString  word)
int GUIClient::hunspell_ignore ( const QString  word)
bool GUIClient::hunspell_ready ( )
const QStringList GUIClient::hunspell_suggest ( const QString  word)
void GUIClient::initMenuBar ( )
slot
Q_INVOKABLE InputManager* GUIClient::inputManager ( )
inline
void GUIClient::invoicesUpdated ( int  ,
bool   
)
signal
void GUIClient::itemGroupsUpdated ( int  ,
bool   
)
signal
void GUIClient::itemsitesUpdated ( )
signal
void GUIClient::itemsUpdated ( int  ,
bool   
)
signal
Q_INVOKABLE QString GUIClient::key ( )
inline
void GUIClient::launchBrowser ( QWidget w,
const QString &  url 
)
void GUIClient::loadScriptGlobals ( QScriptEngine *  engine)
QMenuBar * GUIClient::menuBar ( )
void GUIClient::messageNotify ( )
signal
Q_INVOKABLE QDoubleValidator* GUIClient::moneyVal ( )
inline
QWidget * GUIClient::myActiveWindow ( )
Q_INVOKABLE QDoubleValidator* GUIClient::negMoneyVal ( )
inline
Q_INVOKABLE QDoubleValidator* GUIClient::negPercentVal ( )
inline
Q_INVOKABLE QIntValidator* GUIClient::orderVal ( )
inline
void GUIClient::paymentsUpdated ( int  ,
int  ,
bool   
)
signal
Q_INVOKABLE QDoubleValidator* GUIClient::percentVal ( )
inline
void GUIClient::populateCustomMenu ( QMenu *  menu,
const QString &  module 
)
Q_INVOKABLE QDoubleValidator* GUIClient::priceVal ( )
inline
void GUIClient::projectsUpdated ( int  )
signal
void GUIClient::prospectsUpdated ( )
signal
void GUIClient::purchaseOrderReceiptsUpdated ( )
signal
void GUIClient::purchaseOrdersUpdated ( int  ,
bool   
)
signal
void GUIClient::purchaseRequestsUpdated ( )
signal
void GUIClient::qohChanged ( int  ,
bool   
)
signal
Q_INVOKABLE QDoubleValidator* GUIClient::qtyPerVal ( )
inline
Q_INVOKABLE QDoubleValidator* GUIClient::qtyVal ( )
inline
void GUIClient::quotesUpdated ( int  ,
bool   
)
signal
Q_INVOKABLE QDoubleValidator* GUIClient::ratioVal ( )
inline
bool GUIClient::removeDocumentWatch ( QString  path)
protected
void GUIClient::reportsChanged ( int  ,
bool   
)
signal
void GUIClient::returnAuthorizationsUpdated ( )
signal
Q_INVOKABLE QDoubleValidator* GUIClient::runTimeVal ( )
inline
void GUIClient::salesOrdersUpdated ( int  ,
bool   
)
signal
void GUIClient::salesRepUpdated ( int  )
signal
void GUIClient::sAssortmentsUpdated ( int  pItemid,
bool  pLocalUpdate 
)
slot
void GUIClient::saveToolbarPositions ( )
void GUIClient::sBankAccountsUpdated ( )
slot
void GUIClient::sBankAdjustmentsUpdated ( int  pBankadjid,
bool  pLocal 
)
slot
void GUIClient::sBBOMsUpdated ( int  intPItemid,
bool  boolPLocalUpdate 
)
slot
void GUIClient::sBillingSelectionUpdated ( int  pCoheadid,
int  pCoitemid 
)
slot
void GUIClient::sBOMsUpdated ( int  intPItemid,
bool  boolPLocalUpdate 
)
slot
void GUIClient::sBOOsUpdated ( int  intPItemid,
bool  boolPLocalUpdate 
)
slot
void GUIClient::sBudgetsUpdated ( int  intPItemid,
bool  boolPLocalUpdate 
)
slot
void GUIClient::sCashReceiptsUpdated ( int  pCashrcptid,
bool  pLocal 
)
slot
void GUIClient::sChecksUpdated ( int  pBankaccntid,
int  pCheckid,
bool  pLocal 
)
slot
void GUIClient::sClearErrorMessages ( )
slot
void GUIClient::sConfigureGLUpdated ( )
slot
Q_INVOKABLE QDoubleValidator* GUIClient::scrapVal ( )
inline
void GUIClient::sCreditMemosUpdated ( )
slot
void GUIClient::sCrmAccountsUpdated ( int  crmacctid)
slot
void GUIClient::sCustomCommand ( )
slot
void GUIClient::sCustomersUpdated ( int  pCustid,
bool  pLocal 
)
slot
void GUIClient::sEmitNotifyHeard ( const QString &  note)
slot
void GUIClient::sEmployeeUpdated ( int  id)
slot
void GUIClient::setCaption ( )
void GUIClient::setCentralWidget ( QWidget widget)

Sets the given widget to be the main window's central widget.

Note: GUIClient takes ownership of the widget pointer and deletes it at the appropriate time.

void GUIClient::setUpListener ( const QString &  note)
void GUIClient::setWindowTitle ( )
slot
void GUIClient::sFocusChanged ( QWidget old,
QWidget now 
)
slot
void GUIClient::sGlSeriesUpdated ( )
slot
void GUIClient::showEvent ( QShowEvent *  event)
protected
Q_INVOKABLE bool GUIClient::showTopLevel ( ) const
inline
Q_INVOKABLE bool GUIClient::shuttingDown ( )
inline
void GUIClient::sIdleTimeout ( )
slot
bool GUIClient::singleCurrency ( )
void GUIClient::sInvoicesUpdated ( int  pInvcheadid,
bool  pLocal 
)
slot
void GUIClient::sItemGroupsUpdated ( int  pItemgrpid,
bool  pLocal 
)
slot
void GUIClient::sItemsitesUpdated ( )
slot
void GUIClient::sItemsUpdated ( int  intPItemid,
bool  boolPLocalUpdate 
)
slot
void GUIClient::sNewErrorMessage ( )
slot
void GUIClient::sPaymentsUpdated ( int  pBankaccntid,
int  pApselectid,
bool  pLocal 
)
slot
void GUIClient::sProjectsUpdated ( int  prjid)
slot
void GUIClient::sProspectsUpdated ( )
slot
void GUIClient::sPurchaseOrderReceiptsUpdated ( )
slot
void GUIClient::sPurchaseOrdersUpdated ( int  pPoheadid,
bool  pLocalUpdate 
)
slot
void GUIClient::sPurchaseRequestsUpdated ( )
slot
void GUIClient::sQOHChanged ( int  pItemsiteid,
bool  pLocal 
)
slot
void GUIClient::sQuotesUpdated ( int  pQuheadid)
slot
void GUIClient::sReportError ( const QString &  pError)
slot
void GUIClient::sReportsChanged ( int  pReportid,
bool  pLocal 
)
slot
void GUIClient::sReturnAuthorizationsUpdated ( )
slot
void GUIClient::sSalesOrdersUpdated ( int  pSoheadid)
slot
void GUIClient::sSalesRepUpdated ( int  id)
slot
void GUIClient::sStandardPeriodsUpdated ( )
slot
void GUIClient::sSystemMessageAdded ( )
slot
void GUIClient::standardPeriodsUpdated ( )
signal
Q_INVOKABLE const QDate GUIClient::startOfTime ( )
inline
void GUIClient::sTaxAuthsUpdated ( int  taxauthid)
slot
void GUIClient::sTick ( )
slot
void GUIClient::sTransferOrdersUpdated ( int  id)
slot
void GUIClient::sUserUpdated ( QString  username)
slot
void GUIClient::sVendorsUpdated ( )
slot
void GUIClient::sVouchersUpdated ( )
slot
void GUIClient::sWarehousesUpdated ( )
slot
void GUIClient::sWorkCentersUpdated ( )
slot
void GUIClient::sWorkOrderMaterialsUpdated ( int  pWoid,
int  pWomatlid,
bool  pLocalUpdate 
)
slot
void GUIClient::sWorkOrderOperationsUpdated ( int  pWoid,
int  pWooperid,
bool  pLocalUpdate 
)
slot
void GUIClient::sWorkOrdersUpdated ( int  pWoid,
bool  pLocalUpdate 
)
slot
Q_INVOKABLE QFont GUIClient::systemFont ( )
inline
void GUIClient::systemMessageAdded ( )
signal
void GUIClient::tabifyDockWidget ( QDockWidget first,
QDockWidget second 
)

Moves second dock widget on top of first dock widget, creating a tabbed docked area in the main window.

void GUIClient::taxAuthsUpdated ( int  )
signal
void GUIClient::tick ( )
signal
void GUIClient::transferOrdersUpdated ( int  )
signal
Q_INVOKABLE QDoubleValidator* GUIClient::transQtyVal ( )
inline
Q_INVOKABLE QString GUIClient::username ( )
inline
void GUIClient::userUpdated ( QString  )
signal
void GUIClient::vendorsUpdated ( )
signal
void GUIClient::vouchersUpdated ( )
signal
void GUIClient::warehousesUpdated ( )
signal
Q_INVOKABLE QDoubleValidator* GUIClient::weightVal ( )
inline
void GUIClient::windowDestroyed ( QObject o)
protectedslot
QWidgetList GUIClient::windowList ( )
void GUIClient::workCentersUpdated ( )
signal
void GUIClient::workOrderMaterialsUpdated ( int  ,
int  ,
bool   
)
signal
void GUIClient::workOrderOperationsUpdated ( int  ,
int  ,
bool   
)
signal
void GUIClient::workOrdersUpdated ( int  ,
bool   
)
signal
Q_INVOKABLE QMdiArea* GUIClient::workspace ( )
inline

Friends And Related Function Documentation

friend class XDialog
friend
friend class XMainWindow
friend
friend class xTupleGuiClientInterface
friend
friend class XWidget
friend

Member Data Documentation

QMap<const QObject*,int> GUIClient::_customCommands
QString GUIClient::_key
ReportHandler* GUIClient::_reportHandler
QString GUIClient::_singleWindow
TimeoutHandler* GUIClient::_timeoutHandler

Property Documentation

QString GUIClient::key
read

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

Generated on Fri Oct 7 2016 14:23:30 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10