QtiPlot 0.9.8.2
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
ScriptWindow Class Reference

Python script window. More...

#include <ScriptWindow.h>

List of all members.

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 decreaseIndent ()
void enableActions ()
void find ()
void findNext ()
void findPrevious ()
void increaseIndent ()
void printPreview ()
void redirectOutput (bool)
void replace ()
void setAlwaysOnTop (bool on)
void showWorkspace (bool on=true)

Private Member Functions

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

Private Attributes

QAction * actionAlwaysOnTop
QAction * actionCopy
QAction * actionCut
QAction * actionDecreaseIndent
QAction * actionEval
QAction * actionExecute
QAction * actionExecuteAll
QAction * actionFind
QAction * actionFindNext
QAction * actionFindPrev
QAction * actionHide
QAction * actionIncreaseIndent
QAction * actionNew
QAction * actionOpen
QAction * actionPaste
QAction * actionPrint
QAction * actionPrintPreview
QAction * actionRedirectOutput
QAction * actionRedo
QAction * actionReplace
QAction * actionSave
QAction * actionSaveAs
QAction * actionShowConsole
QAction * actionShowLineNumbers
QAction * actionShowWorkspace
QAction * actionUndo
QTextEdit * console
QDockWidget * consoleWindow
ApplicationWindowd_app
QWidget * d_frame
LineNumberDisplayd_line_number
QMenu * edit
QMenu * file
QString fileName
QMenu * run
ScriptEditte
QMenu * windowMenu

Detailed Description

Python script window.


Constructor & Destructor Documentation

ScriptWindow::ScriptWindow ( ScriptingEnv env,
ApplicationWindow app 
)
ScriptWindow::~ScriptWindow ( ) [inline]

Member Function Documentation

void ScriptWindow::decreaseIndent ( ) [private, slot]

References te.

Referenced by initActions().

ScriptEdit* ScriptWindow::editor ( ) [inline, slot]
void ScriptWindow::enableActions ( ) [private, slot]
void ScriptWindow::executeAll ( ) [inline, slot]
void ScriptWindow::find ( ) [private, slot]

References ScriptEdit::showFindDialog(), and te.

Referenced by initActions().

void ScriptWindow::findNext ( ) [private, slot]

References ScriptEdit::findNext(), and te.

Referenced by initActions().

void ScriptWindow::findPrevious ( ) [private, slot]

References ScriptEdit::findPrevious(), and te.

Referenced by initActions().

void ScriptWindow::increaseIndent ( ) [private, slot]

References te.

Referenced by initActions().

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::printPreview ( ) [private, slot]

References te.

Referenced by initActions().

void ScriptWindow::redirectOutput ( bool  inside) [private, slot]

References console, ScriptEdit::redirectOutputTo(), and te.

Referenced by initActions().

void ScriptWindow::replace ( ) [private, slot]

References ScriptEdit::showFindDialog(), and te.

Referenced by initActions().

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::showWorkspace ( bool  on = true) [private, slot]

References d_app, and ApplicationWindow::enableMdiArea().

Referenced by initActions().

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().

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionEval [private]
QAction* ScriptWindow::actionExecute [private]
QAction * ScriptWindow::actionExecuteAll [private]
QAction* ScriptWindow::actionFind [private]
QAction * ScriptWindow::actionFindNext [private]
QAction * ScriptWindow::actionFindPrev [private]
QAction * ScriptWindow::actionHide [private]

Referenced by initActions().

Referenced by initActions(), and languageChange().

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::actionPrintPreview [private]

Referenced by initActions(), and languageChange().

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionRedo [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionReplace [private]
QAction* ScriptWindow::actionSave [private]

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionSaveAs [private]

Referenced by initActions(), and languageChange().

QAction* ScriptWindow::actionShowConsole [private]

Referenced by initActions(), and languageChange().

Referenced by initActions().

Referenced by initActions(), and languageChange().

QAction * ScriptWindow::actionUndo [private]

Referenced by initActions(), and languageChange().

QTextEdit* ScriptWindow::console [private]

Referenced by redirectOutput(), and ScriptWindow().

QDockWidget* ScriptWindow::consoleWindow [private]
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: