Macros | Variables
Global Variables and Functions

The xTuple ERP desktop client has a main single main application window, an instance of the GUIClient class. This is exposed to the rest of the application in the global omfgThis variable. There is also a handful of global variables. More...

Macros

#define FUNTRACK
 
#define SIGTRACK
 
#define TATTLE
 

Variables

bool _evaluation
 A global variable indicating whether this is an evaluation copy of the application. More...
 
QList< QString_hotkeyList
 A list of the hot keys currently mapped for use. More...
 
Metrics_metrics
 A cache of the metrics table. More...
 
Metricsenc_metricsenc
 A cache of the metricsenc table for encrypted metrics. More...
 
Preferences_preferences
 A cache of user preferences. More...
 
Privileges_privileges
 A cache of user privileges. More...
 
QSplashScreen_splash
 The splash screen shown at application startup. More...
 

Detailed Description

The xTuple ERP desktop client has a main single main application window, an instance of the GUIClient class. This is exposed to the rest of the application in the global omfgThis variable. There is also a handful of global variables.

Macro Definition Documentation

#define FUNTRACK

Add "#define FUNTRACK true" to any file that inherits guiclient.h or widgets.h to enable Function tracking by the TATTLE macro. Please note, this must be added below the include statements for guiclient.h or widgets.h , or the value will be reset to false.

#define SIGTRACK

Add "#define SIGTRACK true" to any file that inherits guiclient.h or widgets.h to enable Signature tracking by the TATTLE macro. Please note, this must be added below the include statements for guiclient.h or widgets.h , or the value will be reset to false.

#define TATTLE

Use in classes that inherit guiclient.h or widgets.h . TATTLE may be written after the opening bracket of most member functions to allow signal and function call information to be written to the output stream. If only SIGTRACK is defined true for a class, then only member functions that are called by a Qt Signal will be written to the output stream with information about the sender. If only FUNTRACK is defined true for a class, then all member functions that are called will be written to the output stream. If both SIGTRACK and FUNTRACK are defined true for a class, then all member functions that are called will be written to the output stream, but functions that are called by a Qt Signal will include additional information about the sender of the Signal.

Variable Documentation

bool _evaluation

A global variable indicating whether this is an evaluation copy of the application.

Todo:
Determine if this is still useful and possibly remove.
QList<QString> _hotkeyList

A list of the hot keys currently mapped for use.

Values beginning with C are mapped to control keys while those that start with F are function keys.

Todo:
Make this static or a private member of GUIClient?
Metrics* _metrics

A cache of the metrics table.

Metricsenc* _metricsenc

A cache of the metricsenc table for encrypted metrics.

Preferences* _preferences

A cache of user preferences.

Privileges* _privileges

A cache of user privileges.

The cache is refreshed when the user starts the application or selects "Rescan Privileges" from the System menu.

QSplashScreen* _splash

The splash screen shown at application startup.

This shows the application edition and progress as the application reads basic information from the database.

Todo:
Make this static, hence internal to guiclient.cpp ?

Generated on Wed Nov 30 2016 xTuple ERP Programmer Reference, Version 4.10.0 doxygen 1.8.7