List of all members | Properties | Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
XMainWindow Class Reference

#include <xmainwindow.h>

Inheritance diagram for XMainWindow:
QMainWindow ScriptablePrivate ScriptableWidget xTupleDesigner

Properties

ParameterList params
 

Public Slots

virtual enum SetResponse set (const ParameterList &)
 

Public Member Functions

 XMainWindow (QWidget *parent, const char *name, Qt::WindowFlags flags=0)
 
 XMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0)
 
virtual ~XMainWindow ()
 
Q_INVOKABLE QActionaction () const
 
Q_INVOKABLE bool forceFloat ()
 
virtual Q_INVOKABLE ParameterList get () const
 
Q_INVOKABLE void setForceFloat (bool forceFloat)
 

Protected Slots

virtual enum SetResponse postSet ()
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual void changeEvent (QEvent *)
 
virtual void closeEvent (QCloseEvent *)
 
virtual QScriptEngine * engine ()
 
virtual void hideEvent (QHideEvent *)
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
virtual void showEvent (QShowEvent *)
 

Protected Attributes

QScriptEngineDebugger * _debugger
 
QScriptEngine * _engine
 
ParameterList _lastSetParams
 
QAction_rememberPos
 
QAction_rememberSize
 
bool _scriptLoaded
 
QWidget_self
 
QAction_showMe
 
bool _shown
 

Static Protected Attributes

static ScriptCache_cache
 
static GuiClientInterface_guiClientInterface
 

Friends

QScriptEngine * engine (XMainWindow *)
 
class ScriptToolbox
 
class XMainWindowPrivate
 

Property Documentation

◆ params

ParameterList XMainWindow::params
readwrite

Constructor & Destructor Documentation

◆ XMainWindow() [1/2]

XMainWindow::XMainWindow ( QWidget parent = 0,
Qt::WindowFlags  flags = 0 
)

◆ XMainWindow() [2/2]

XMainWindow::XMainWindow ( QWidget parent,
const char *  name,
Qt::WindowFlags  flags = 0 
)

◆ ~XMainWindow()

XMainWindow::~XMainWindow ( )
virtual

Member Function Documentation

◆ action()

QAction * XMainWindow::action ( ) const

◆ callCloseEvent()

void ScriptablePrivate::callCloseEvent ( QEvent *  event)
virtualinherited

◆ callSet()

enum SetResponse ScriptablePrivate::callSet ( const ParameterList &  params)
virtualinherited

◆ callShowEvent()

void ScriptablePrivate::callShowEvent ( QEvent *  event)
virtualinherited

◆ changeEvent()

void XMainWindow::changeEvent ( QEvent *  e)
protectedvirtual

◆ closeEvent()

void XMainWindow::closeEvent ( QCloseEvent *  event)
protectedvirtual

Reimplemented in xTupleDesigner.

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ forceFloat()

Q_INVOKABLE bool XMainWindow::forceFloat ( )
inline

◆ get()

ParameterList XMainWindow::get ( ) const
virtual

Implements ScriptablePrivate.

◆ hideEvent()

void XMainWindow::hideEvent ( QHideEvent *  event)
protectedvirtual

◆ loadScript() [1/2]

void ScriptableWidget::loadScript ( const QString &  oName)
virtualinherited

◆ loadScript() [2/2]

void ScriptableWidget::loadScript ( const QStringList &  list)
virtualinherited

◆ loadScriptEngine()

void ScriptableWidget::loadScriptEngine ( )
virtualinherited

◆ postSet

enum SetResponse XMainWindow::postSet ( )
protectedvirtualslot

◆ set

enum SetResponse XMainWindow::set ( const ParameterList &  pParams)
virtualslot

◆ setForceFloat()

Q_INVOKABLE void XMainWindow::setForceFloat ( bool  forceFloat)
inline

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ showEvent()

void XMainWindow::showEvent ( QShowEvent *  event)
protectedvirtual

Friends And Related Function Documentation

◆ engine

QScriptEngine* engine ( XMainWindow win)
friend

◆ ScriptToolbox

friend class ScriptToolbox
friend

◆ XMainWindowPrivate

friend class XMainWindowPrivate
friend

Member Data Documentation

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 5.1.0 doxygen 1.8.17