ScriptWindow Class Reference

#include <ScriptWindow.h>

List of all members.


Detailed Description

Python script window.

Public Slots

ScriptEditeditor ()
void executeAll ()
void languageChange ()
void newScript ()
void open (const QString &fn=QString())
void save ()
void saveAs ()
virtual void setVisible (bool visible)
void showLineNumbers (bool show=true)
 Enables/Disables the line number display.

Signals

void visibilityChanged (bool visible)

Public Member Functions

 ScriptWindow (ScriptingEnv *env, ApplicationWindow *app)
 ~ScriptWindow ()

Private Slots

void setAlwaysOnTop (bool on)

Private Member Functions

void initActions ()
void initMenu ()
void moveEvent (QMoveEvent *)
void resizeEvent (QResizeEvent *)

Private Attributes

QAction * actionAlwaysOnTop
QAction * actionCopy
QAction * actionCut
QAction * actionEval
QAction * actionExecute
QAction * actionExecuteAll
QAction * actionHide
QAction * actionNew
QAction * actionOpen
QAction * actionPaste
QAction * actionPrint
QAction * actionRedo
QAction * actionSave
QAction * actionSaveAs
QAction * actionShowLineNumbers
QAction * actionUndo
ApplicationWindowd_app
QWidget * d_frame
LineNumberDisplayd_line_number
QMenu * edit
QMenu * file
QString fileName
QMenu * run
ScriptEditte
QMenu * windowMenu

Constructor & Destructor Documentation

ScriptWindow::ScriptWindow ( ScriptingEnv env,
ApplicationWindow app 
)

ScriptWindow::~ScriptWindow (  )  [inline]


Member Function Documentation

ScriptEdit* ScriptWindow::editor (  )  [inline, slot]

void ScriptWindow::executeAll (  )  [inline, slot]

void ScriptWindow::initActions (  )  [private]

void ScriptWindow::initMenu (  )  [private]

References edit, file, run, and windowMenu.

Referenced by ScriptWindow().

void ScriptWindow::languageChange (  )  [slot]

void ScriptWindow::moveEvent ( QMoveEvent *  e  )  [private]

void ScriptWindow::newScript (  )  [slot]

References fileName, and te.

Referenced by initActions().

void ScriptWindow::open ( const QString &  fn = QString()  )  [slot]

void ScriptWindow::resizeEvent ( QResizeEvent *  e  )  [private]

void ScriptWindow::save (  )  [slot]

References fileName, saveAs(), and te.

Referenced by initActions().

void ScriptWindow::saveAs (  )  [slot]

References ScriptEdit::exportASCII(), fileName, and te.

Referenced by initActions(), and save().

void ScriptWindow::setAlwaysOnTop ( bool  on  )  [private, slot]

void ScriptWindow::setVisible ( bool  visible  )  [virtual, slot]

References visibilityChanged().

Referenced by initActions().

void ScriptWindow::showLineNumbers ( bool  show = true  )  [slot]

Enables/Disables the line number display.

References d_line_number, and LineNumberDisplay::updateLineNumbers().

Referenced by ApplicationWindow::showScriptWindow().

void ScriptWindow::visibilityChanged ( bool  visible  )  [signal]

Referenced by setVisible().


Member Data Documentation

QAction* ScriptWindow::actionAlwaysOnTop [private]

Referenced by initActions().

QAction * ScriptWindow::actionCopy [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionCut [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionEval [private]

Referenced by initActions(), and languageChange().

QAction* ScriptWindow::actionExecute [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionExecuteAll [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionHide [private]

Referenced by initActions().

QAction* ScriptWindow::actionNew [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionOpen [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionPaste [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionPrint [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionRedo [private]

Referenced by initActions(), and languageChange().

QAction* ScriptWindow::actionSave [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionSaveAs [private]

Referenced by initActions(), and languageChange().

Referenced by initActions().

QAction * ScriptWindow::actionUndo [private]

Referenced by initActions(), and languageChange().

QWidget* ScriptWindow::d_frame [private]

Referenced by ScriptWindow().

QMenu * ScriptWindow::edit [private]

QMenu* ScriptWindow::file [private]

QString ScriptWindow::fileName [private]

QMenu * ScriptWindow::run [private]

QMenu * ScriptWindow::windowMenu [private]

Referenced by initActions(), and initMenu().


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

Generated on Sun Jun 15 21:32:25 2008 for QtiPlot by  doxygen 1.5.6