Classes | Defines | Enumerations | Functions | Variables
guiclient.h File Reference
#include <QDate>
#include <QDateTime>
#include <QMainWindow>
#include <QTimer>
#include <QAction>
#include <QCloseEvent>
#include <QFileSystemWatcher>
#include <QList>
#include <QPixmap>
#include <QMenu>
#include <QMenuBar>
#include <xsqlquery.h>
#include "../common/format.h"
#include "../hunspell/hunspell.hxx"
#include "../common/metrics.h"
#include "../common/metricsenc.h"

Classes

class  Action
class  GUIClient

Defines

#define cAllCounts   0x04
#define cCopy   4
#define cEdit   2
#define cItemloc   0x02
#define cLocation   0x01
#define cNew   1
#define cNoReportDefinition   -2
#define cPost   6
#define cPostedCounts   0x01
#define cRelease   5
#define cReplace   7
#define cTransAdjCounts   0x08
#define cTransAll   0xFF
#define cTransIssues   0x02
#define cTransReceipts   0x01
#define cTransScraps   0x20
#define cTransShipments   0x04
#define cTransTransfers   0x10
#define cUnpostedCounts   0x02
#define cView   3
#define q   omfgThis->_q

Enumerations

enum  SetResponse {
  NoError, NoError_Cancel, NoError_Run, NoError_Print,
  NoError_Submit, Error_NoSetup, UndefinedError
}

Functions

void audioAccept ()
void audioReject ()
void message (const QString &, int=0)
void resetMessage ()
int systemError (QWidget *, const QString &)
int systemError (QWidget *, const QString &, const QString &, const int)
QString translationFile (const QString localestr, const QString component)
 Find the translation file for a given locale.
QString translationFile (const QString localestr, const QString component, QString &version)
 Find the translation file for a given locale.

Variables

bool _evaluation
Metrics_metrics
Metricsenc_metricsenc
Preferences_preferences
Privileges_privileges
QSplashScreen_splash
GUIClientomfgThis

Define Documentation

#define cAllCounts   0x04
#define cCopy   4
#define cEdit   2
#define cItemloc   0x02
#define cLocation   0x01
#define cNew   1
#define cNoReportDefinition   -2
#define cPost   6
#define cPostedCounts   0x01
#define cRelease   5
#define cReplace   7
#define cTransAdjCounts   0x08
#define cTransAll   0xFF
#define cTransIssues   0x02
#define cTransReceipts   0x01
#define cTransScraps   0x20
#define cTransShipments   0x04
#define cTransTransfers   0x10
#define cUnpostedCounts   0x02
#define cView   3
#define q   omfgThis->_q

Enumeration Type Documentation

Enumerator:
NoError 
NoError_Cancel 
NoError_Run 
NoError_Print 
NoError_Submit 
Error_NoSetup 
UndefinedError 

Function Documentation

void audioAccept ( )
void audioReject ( )
void message ( const QString ,
int  = 0 
)
void resetMessage ( )
int systemError ( QWidget ,
const QString  
)
int systemError ( QWidget ,
const QString ,
const QString ,
const int   
)
QString translationFile ( QString  localestr,
const QString  component 
)

Find the translation file for a given locale.

Looks for the translation file for a particular locale in all of the standard places xTuple ERP knows to look. The first file found is returned even if it isn't the most complete, specific, or up-to-date.

Parameters:
localestrThe locale to look for, in standard format.
componentThe application component for which to find a translation file (empty string means core)
Returns:
The path to the translation file (may be relative or absolute)
QString translationFile ( QString  localestr,
const QString  component,
QString version 
)

Find the translation file for a given locale.

This overload should be used primarily by the Update Manager.

Looks for the translation file for a particular locale in all of the standard places xTuple ERP knows to look. The first file found is returned even if it isn't the most complete, specific, or up-to-date. If translation file is found for the locale, this overload of translationFile(QString) tries to extract a version number from the translation file and pass it back to the caller.

The base translation file is expected to have a Version string in the component context. Translations from that base translation file are expected to translate the Version string to something meaningful that can be put in the compatibility matrix. One suggestion is major.minor.percent-complete , where major and minor are component release numbers and percent-complete indicates how much of the base translation file has been completed.

Parameters:
[in]localestrThe locale to look for, in standard format.
[in]componentThe application component for which to find a translation file (empty string means core)
[out]versionThe version string found in the translation file or an empty string if none was found.
Returns:
The path to the translation file (may be relative or absolute)

Variable Documentation


Generated on Mon Jan 23 2012 12:22:29 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1