#include <scriptEditor.h>
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 () |
| scriptEditor::scriptEditor | ( | QWidget * | parent = 0, |
| const char * | name = 0, |
||
| Qt::WFlags | fl = 0 |
||
| ) |
| 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] |
| Generated on Mon Jan 23 2012 12:22:37 | xTuple ERP Programmer Reference, Version 3.8.0 |
1.7.6.1
|