Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
OctaveWindow Class Reference

#include <octave_window.h>

Inheritance diagram for OctaveWindow:

Public Member Functions

 OctaveWindow (QDockWidget *)
 
 ~OctaveWindow ()
 
QSize sizeHint ()
 
bool startOctave ()
 
void runOctaveScript (const QString &)
 
void sendCommand (const QString &)
 
void adjustDirectory ()
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event)
 

Private Slots

void slotDisplayMsg ()
 
void slotDisplayErr ()
 
void slotOctaveEnded (int status)
 
void slotSendCommand ()
 

Private Attributes

QTextEdit * output
 
QProcess octProcess
 
QLineEdit * input
 
QStringList cmdHistory
 
int histPosition
 

Detailed Description

Definition at line 18 of file octave_window.h.

Constructor & Destructor Documentation

OctaveWindow::OctaveWindow ( QDockWidget *  parent_)

Definition at line 23 of file octave_window.cpp.

OctaveWindow::~OctaveWindow ( )

Definition at line 59 of file octave_window.cpp.

Member Function Documentation

void OctaveWindow::adjustDirectory ( )

Definition at line 135 of file octave_window.cpp.

bool OctaveWindow::eventFilter ( QObject *  obj,
QEvent *  event 
)
protected

Definition at line 173 of file octave_window.cpp.

void OctaveWindow::runOctaveScript ( const QString &  name)

Definition at line 154 of file octave_window.cpp.

void OctaveWindow::sendCommand ( const QString &  cmd)

Definition at line 141 of file octave_window.cpp.

QSize OctaveWindow::sizeHint ( )

Definition at line 66 of file octave_window.cpp.

void OctaveWindow::slotDisplayErr ( )
privateslot

Definition at line 212 of file octave_window.cpp.

void OctaveWindow::slotDisplayMsg ( )
privateslot

Definition at line 200 of file octave_window.cpp.

void OctaveWindow::slotOctaveEnded ( int  status)
privateslot

Definition at line 227 of file octave_window.cpp.

void OctaveWindow::slotSendCommand ( )
privateslot

Definition at line 161 of file octave_window.cpp.

bool OctaveWindow::startOctave ( )

Definition at line 78 of file octave_window.cpp.

Field Documentation

QStringList OctaveWindow::cmdHistory
private

Definition at line 43 of file octave_window.h.

int OctaveWindow::histPosition
private

Definition at line 44 of file octave_window.h.

QLineEdit* OctaveWindow::input
private

Definition at line 42 of file octave_window.h.

QProcess OctaveWindow::octProcess
private

Definition at line 41 of file octave_window.h.

QTextEdit* OctaveWindow::output
private

Definition at line 40 of file octave_window.h.


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