Public include file for BPS CORE library macros.
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
Virtual class for MDE applications.
Definition: bpsmdeapplication.h:21
A helper class derived from QString to conveniently read HTML files, replace translatable texts and r...
Definition: bpsmdehtml.h:19
static QString toHtml(const QString &aText)
Convert a normal text to HTML.
BpsMdeHtml(const QByteArray &aFile)
Construct by reading the HTML template from a file.
static QString prevNextTags(BpsMdeSession *aSession)
Return the browser specific header tags for a dialog page with previous/next buttons.
static QString fromHtml(const QString &aText)
Convert a HTML to normal text.
BpsMdeHtml set(const QString &aTag, const QString &aValue)
Replace parameter tags marked in the HTML with {{aTag}} by another value.
static void menuPage(BpsMdeRequest *aRequest, BpsMdeSession *aSession, const QString &aTitle, const QList< BpsMdeApplication * > &aApplications)
Shows a standard menu page of the MDE server.
BpsMdeHtml set(const QString &aTag, qulonglong aValue)
Replace parameter tags marked in the HTML with {{aTag}} by another value.
BpsMdeHtml set(const QString &aTag, qlonglong aValue)
Replace parameter tags marked in the HTML with {{aTag}} by another value.
static QString escapeHtml(const QString &aText)
Escapes special chars by their html entity: less than, greater than, ampersand.
static QString quitTags(BpsMdeSession *aSession)
Return the browser specific header tags for the quit page.
BpsMdeHtml set(const QString &aTag, int aValue)
Replace parameter tags marked in the HTML with {{aTag}} by another value.
static QString menuTags(BpsMdeSession *aSession)
Return the browser specific header tags for a menu page.
static void errorPage(BpsMdeRequest *aRequest, BpsMdeSession *aSession, const QString &aTitle, const QString &aMessage, const QString &aUrl=QString())
Shows the standard error page of the MDE server.
BpsMdeHtml setInputTypes(BpsMdeSession *aSession)
Replace input type tags by the approptiate HTML input type:
BpsMdeHtml trn(const QString &aText, const QString &aTranslated)
Replace translation texts marked in the HTML with [[aText]] by a translated text.
BpsMdeHtml(const QString &aString)
Construct a HTML object from a QString.
BpsMdeHtml set(const QString &aTag, bool aValue)
Replace parameter tags marked in the HTML with {{aTag}} by another value.
static QString dialogTags(BpsMdeSession *aSession)
Return the browser specific header tags for a regular dialog page.
BpsMdeHtml(const char *aFile)
Construct by reading the HTML template from a file.
BPS MDE request.
Definition: bpsmderequest.h:21
BPS MDE session object.
Definition: bpsmdesession.h:24