#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 InputManager * | inputManager () |
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 QWidget * | myActiveWindow () |
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 () |
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 |
GUIClient::GUIClient | ( | const QString & | pDatabaseURL, |
const QString & | pUsername | ||
) |
|
virtual |
void GUIClient::addDockWidget | ( | Qt::DockWidgetArea | area, |
QDockWidget * | dockwidget | ||
) |
Adds the given dockwidget to the specified area.
|
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
void GUIClient::addToolBarBreak | ( | Qt::ToolBarArea | area = Qt::TopToolBarArea | ) |
Adds a toolbar break to the given area after all the other objects that are present.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protected |
|
signal |
|
inline |
|
signal |
|
signal |
|
signal |
|
inline |
|
inline |
|
inline |
|
signal |
|
inline |
|
inline |
GUIClient::WindowSystem GUIClient::getWindowSystem | ( | ) |
|
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 | ) |
|
slot |
|
inline |
|
signal |
|
signal |
|
signal |
|
signal |
|
inline |
void GUIClient::launchBrowser | ( | QWidget * | w, |
const QString & | url | ||
) |
void GUIClient::loadScriptGlobals | ( | QScriptEngine * | engine | ) |
QMenuBar * GUIClient::menuBar | ( | ) |
|
signal |
|
inline |
QWidget * GUIClient::myActiveWindow | ( | ) |
|
inline |
|
inline |
|
inline |
|
signal |
|
inline |
void GUIClient::populateCustomMenu | ( | QMenu * | menu, |
const QString & | module | ||
) |
|
inline |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
inline |
|
inline |
|
signal |
|
inline |
|
protected |
|
signal |
|
signal |
|
inline |
|
signal |
|
signal |
|
slot |
void GUIClient::saveToolbarPositions | ( | ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
inline |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
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 | ) |
|
slot |
|
slot |
|
protected |
|
inline |
|
inline |
|
slot |
bool GUIClient::singleCurrency | ( | ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
signal |
|
inline |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
inline |
|
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.
|
signal |
|
signal |
|
signal |
|
inline |
|
inline |
|
signal |
|
signal |
|
signal |
|
signal |
|
inline |
|
protectedslot |
QWidgetList GUIClient::windowList | ( | ) |
|
signal |
|
signal |
|
signal |
|
signal |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
QMap<const QObject*,int> GUIClient::_customCommands |
QString GUIClient::_key |
ReportHandler* GUIClient::_reportHandler |
QString GUIClient::_singleWindow |
TimeoutHandler* GUIClient::_timeoutHandler |
|
read |
Generated on Fri Oct 7 2016 14:23:30 | xTuple ERP Programmer Reference, Version 4.2.0 | 1.8.10 |