scriptEditor Class Reference

#include <scriptEditor.h>

List of all members.

Public Member Functions

 scriptEditor (QWidget *parent=0, const char *name=0, Qt::WFlags fl=0)
 ~scriptEditor ()

Public Slots

virtual void populate ()
virtual enum SetResponse set (const ParameterList &pParams)
virtual void sFind ()
virtual void sGoto ()
virtual void sImport ()
virtual bool sSave ()
virtual bool sSaveFile ()
virtual bool sSaveToDB ()

Static Public Member Functions

static bool saveFile (const QString &source, QString &filename)

Protected Member Functions

virtual void closeEvent (QCloseEvent *)

Protected Slots

virtual void languageChange ()
virtual void sBlockCountChanged (const int)
virtual void setMode (const int)
virtual void sFindDo ()
virtual void sFindSignal ()
virtual void sPositionChanged ()

Constructor & Destructor Documentation

scriptEditor::scriptEditor ( QWidget parent = 0,
const char *  name = 0,
Qt::WFlags  fl = 0 
)
scriptEditor::~scriptEditor (  ) 

Member Function Documentation

void scriptEditor::closeEvent ( QCloseEvent event  )  [protected, virtual]

Reimplemented from XWidget.

void scriptEditor::languageChange (  )  [protected, virtual, slot]

Reimplemented from QWidget.

void scriptEditor::populate (  )  [virtual, slot]
bool scriptEditor::saveFile ( const QString source,
QString filename 
) [static]
void scriptEditor::sBlockCountChanged ( const int  p  )  [protected, virtual, slot]
enum SetResponse scriptEditor::set ( const ParameterList &  pParams  )  [virtual, slot]

Reimplemented from XWidget.

void scriptEditor::setMode ( const int  pmode  )  [protected, virtual, slot]
void scriptEditor::sFind (  )  [virtual, slot]

Called by the find button and sFindDo function. It decrements a _findCnt value down to 0 so sFindDo can evaluate if it needs to call this function after an initial editingFinished signal from the _findText widget is emitted.

void scriptEditor::sFindDo (  )  [protected, virtual, slot]

Called from a timer set in sFindSignal. This function checks the _findCnt and if it's greater than 0 it will call sFind. This is done to prevent the calling of sFind twice under some circumstances.

void scriptEditor::sFindSignal (  )  [protected, virtual, slot]

Called when _findText emits editingFinished. Increments count and triggers 1ms singleshot timer to call sFindDo. This part of a solution to prevent double-finding when the user edits a text and then clicks the find button which was causing sFind to be called twice.

void scriptEditor::sGoto (  )  [virtual, slot]
void scriptEditor::sImport (  )  [virtual, slot]
void scriptEditor::sPositionChanged (  )  [protected, virtual, slot]
bool scriptEditor::sSave (  )  [virtual, slot]
bool scriptEditor::sSaveFile (  )  [virtual, slot]
bool scriptEditor::sSaveToDB (  )  [virtual, slot]

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

Generated on Tue Apr 20 12:03:25 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1