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>

Inheritance diagram for ScriptWindow:

Public Slots

ScriptEditeditor ()
 
void languageChange ()
 
void newScript ()
 
void open (const QString &fn=QString())
 
void save ()
 
void saveAs ()
 
virtual void setVisible (bool visible)
 

Signals

void visibilityChanged (bool visible)
 

Public Member Functions

void executeAll ()
 
 ScriptWindow (ScriptingEnv *env, ApplicationWindow *app)
 
void showLineNumbers (bool show=true)
 Enables/Disables the line number display. More...
 
 ~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::ScriptWindow ( ScriptingEnv env,
ApplicationWindow app 
)

§ ~ScriptWindow()

ScriptWindow::~ScriptWindow ( )
inline

Member Function Documentation

§ decreaseIndent

void ScriptWindow::decreaseIndent ( )
privateslot

References te.

Referenced by executeAll(), and initActions().

§ editor

ScriptEdit* ScriptWindow::editor ( )
inlineslot

§ enableActions

void ScriptWindow::enableActions ( )
privateslot

§ executeAll()

void ScriptWindow::executeAll ( )
inline

§ find

void ScriptWindow::find ( )
privateslot

References ScriptEdit::showFindDialog(), and te.

Referenced by executeAll(), and initActions().

§ findNext

void ScriptWindow::findNext ( )
privateslot

References ScriptEdit::findNext(), and te.

Referenced by executeAll(), and initActions().

§ findPrevious

void ScriptWindow::findPrevious ( )
privateslot

References ScriptEdit::findPrevious(), and te.

Referenced by executeAll(), and initActions().

§ increaseIndent

void ScriptWindow::increaseIndent ( )
privateslot

References te.

Referenced by executeAll(), and initActions().

§ initActions()

void ScriptWindow::initActions ( )
private

§ initMenu()

void ScriptWindow::initMenu ( )
private

References edit, file, run, and windowMenu.

Referenced by executeAll(), and ScriptWindow().

§ languageChange

void ScriptWindow::languageChange ( )
slot

§ moveEvent()

void ScriptWindow::moveEvent ( QMoveEvent *  e)
private

References d_app, and ApplicationWindow::d_script_win_rect.

Referenced by executeAll().

§ newScript

void ScriptWindow::newScript ( )
slot

References fileName, and te.

Referenced by initActions(), and ~ScriptWindow().

§ open

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

§ printPreview

void ScriptWindow::printPreview ( )
privateslot

References te.

Referenced by executeAll(), and initActions().

§ redirectOutput

void ScriptWindow::redirectOutput ( bool  inside)
privateslot

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

Referenced by executeAll(), and initActions().

§ replace

void ScriptWindow::replace ( )
privateslot

References ScriptEdit::showFindDialog(), and te.

Referenced by executeAll(), and initActions().

§ resizeEvent()

void ScriptWindow::resizeEvent ( QResizeEvent *  e)
private

References d_app, and ApplicationWindow::d_script_win_rect.

Referenced by executeAll().

§ save

void ScriptWindow::save ( )
slot

References fileName, saveAs(), and te.

Referenced by initActions(), and ~ScriptWindow().

§ saveAs

void ScriptWindow::saveAs ( )
slot

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

Referenced by initActions(), save(), and ~ScriptWindow().

§ setAlwaysOnTop

void ScriptWindow::setAlwaysOnTop ( bool  on)
privateslot

§ setVisible

void ScriptWindow::setVisible ( bool  visible)
virtualslot

References visibilityChanged().

Referenced by initActions(), and ~ScriptWindow().

§ showLineNumbers()

void ScriptWindow::showLineNumbers ( bool  show = true)

Enables/Disables the line number display.

References d_line_number, and LineNumberDisplay::updateLineNumbers().

Referenced by executeAll(), and ApplicationWindow::showScriptWindow().

§ showWorkspace

void ScriptWindow::showWorkspace ( bool  on = true)
privateslot

§ visibilityChanged

void ScriptWindow::visibilityChanged ( bool  visible)
signal

Referenced by executeAll(), and setVisible().

Member Data Documentation

§ actionAlwaysOnTop

QAction* ScriptWindow::actionAlwaysOnTop
private

Referenced by initActions().

§ actionCopy

QAction * ScriptWindow::actionCopy
private

Referenced by initActions(), and languageChange().

§ actionCut

QAction * ScriptWindow::actionCut
private

Referenced by initActions(), and languageChange().

§ actionDecreaseIndent

QAction * ScriptWindow::actionDecreaseIndent
private

Referenced by initActions(), and languageChange().

§ actionEval

QAction * ScriptWindow::actionEval
private

§ actionExecute

QAction* ScriptWindow::actionExecute
private

§ actionExecuteAll

QAction * ScriptWindow::actionExecuteAll
private

§ actionFind

QAction* ScriptWindow::actionFind
private

§ actionFindNext

QAction * ScriptWindow::actionFindNext
private

§ actionFindPrev

QAction * ScriptWindow::actionFindPrev
private

§ actionHide

QAction * ScriptWindow::actionHide
private

Referenced by initActions().

§ actionIncreaseIndent

QAction* ScriptWindow::actionIncreaseIndent
private

Referenced by initActions(), and languageChange().

§ actionNew

QAction* ScriptWindow::actionNew
private

Referenced by initActions(), and languageChange().

§ actionOpen

QAction * ScriptWindow::actionOpen
private

Referenced by initActions(), and languageChange().

§ actionPaste

QAction * ScriptWindow::actionPaste
private

Referenced by initActions(), and languageChange().

§ actionPrint

QAction * ScriptWindow::actionPrint
private

Referenced by initActions(), and languageChange().

§ actionPrintPreview

QAction * ScriptWindow::actionPrintPreview
private

Referenced by initActions(), and languageChange().

§ actionRedirectOutput

QAction * ScriptWindow::actionRedirectOutput
private

Referenced by initActions(), and languageChange().

§ actionRedo

QAction * ScriptWindow::actionRedo
private

Referenced by initActions(), and languageChange().

§ actionReplace

QAction * ScriptWindow::actionReplace
private

§ actionSave

QAction* ScriptWindow::actionSave
private

Referenced by initActions(), and languageChange().

§ actionSaveAs

QAction * ScriptWindow::actionSaveAs
private

Referenced by initActions(), and languageChange().

§ actionShowConsole

QAction* ScriptWindow::actionShowConsole
private

Referenced by initActions(), and languageChange().

§ actionShowLineNumbers

QAction * ScriptWindow::actionShowLineNumbers
private

Referenced by initActions().

§ actionShowWorkspace

QAction* ScriptWindow::actionShowWorkspace
private

Referenced by initActions(), and languageChange().

§ actionUndo

QAction * ScriptWindow::actionUndo
private

Referenced by initActions(), and languageChange().

§ console

QTextEdit* ScriptWindow::console
private

Referenced by redirectOutput(), and ScriptWindow().

§ consoleWindow

QDockWidget* ScriptWindow::consoleWindow
private

§ d_app

ApplicationWindow* ScriptWindow::d_app
private

§ d_frame

QWidget* ScriptWindow::d_frame
private

Referenced by ScriptWindow().

§ d_line_number

LineNumberDisplay* ScriptWindow::d_line_number
private

§ edit

QMenu * ScriptWindow::edit
private

§ file

QMenu* ScriptWindow::file
private

§ fileName

QString ScriptWindow::fileName
private

§ run

QMenu * ScriptWindow::run
private

§ te

ScriptEdit* ScriptWindow::te
private

§ windowMenu

QMenu * ScriptWindow::windowMenu
private

Referenced by initActions(), and initMenu().


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