QtiPlot  0.9.8.2
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ScriptWindow Class Reference

Python script window. More...

#include <ScriptWindow.h>

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

References te.

Referenced by initActions().

ScriptEdit* ScriptWindow::editor ( )
inlineslot
void ScriptWindow::enableActions ( )
privateslot
void ScriptWindow::executeAll ( )
inlineslot
void ScriptWindow::find ( )
privateslot

References ScriptEdit::showFindDialog(), and te.

Referenced by initActions().

void ScriptWindow::findNext ( )
privateslot

References ScriptEdit::findNext(), and te.

Referenced by initActions().

void ScriptWindow::findPrevious ( )
privateslot

References ScriptEdit::findPrevious(), and te.

Referenced by initActions().

void ScriptWindow::increaseIndent ( )
privateslot

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

References te.

Referenced by initActions().

void ScriptWindow::redirectOutput ( bool  inside)
privateslot

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

Referenced by initActions().

void ScriptWindow::replace ( )
privateslot

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)
privateslot
void ScriptWindow::setVisible ( bool  visible)
virtualslot

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)
privateslot

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

QAction * ScriptWindow::actionDecreaseIndent
private

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

QAction* ScriptWindow::actionIncreaseIndent
private

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

QAction * ScriptWindow::actionRedirectOutput
private

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

QAction * ScriptWindow::actionShowLineNumbers
private

Referenced by initActions().

QAction* ScriptWindow::actionShowWorkspace
private

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
ApplicationWindow* ScriptWindow::d_app
private
QWidget* ScriptWindow::d_frame
private

Referenced by ScriptWindow().

LineNumberDisplay* ScriptWindow::d_line_number
private
QMenu * ScriptWindow::edit
private
QMenu* ScriptWindow::file
private
QString ScriptWindow::fileName
private
QMenu * ScriptWindow::run
private
ScriptEdit* ScriptWindow::te
private
QMenu * ScriptWindow::windowMenu
private

Referenced by initActions(), and initMenu().


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