Note Class Reference

Notes window class. More...

#include <Note.h>

Inheritance diagram for Note:
MdiSubWindow

List of all members.

Public Slots

bool autoexec () const
ScriptEditeditor ()
void evaluate ()
void execute ()
void executeAll ()
QString exportASCII (const QString &file=QString::null)
void exportPDF (const QString &fileName)
bool hasLineNumbers ()
QString importASCII (const QString &file=QString::null)
void modifiedNote ()
void print ()
void restore (const QStringList &)
 Not implemented yet.
void save (const QString &fn, const QString &info, bool=false)
void setAutoexec (bool)
void setDirPath (const QString &path)
void setText (const QString &s)
void showLineNumbers (bool show=true)
 Enables/Disables the line number display.
QString text ()

Signals

void dirPathChanged (const QString &path)

Public Member Functions

void init (ScriptingEnv *env)
 Note (ScriptingEnv *env, const QString &label, ApplicationWindow *parent, const QString &name=QString(), Qt::WFlags f=0)
void setName (const QString &name)
 Set the window name.
 ~Note ()

Private Attributes

bool autoExec
QWidget * d_frame
LineNumberDisplayd_line_number
ScriptEditte

Detailed Description

Notes window class.

Future Plans


Constructor & Destructor Documentation

Note::Note ( ScriptingEnv env,
const QString &  label,
ApplicationWindow parent,
const QString &  name = QString(),
Qt::WFlags  f = 0 
)

References init().

Note::~Note (  )  [inline]

Member Function Documentation

bool Note::autoexec (  )  const [inline, slot]

References autoExec.

Referenced by ScriptEdit::contextMenuEvent().

void Note::dirPathChanged ( const QString &  path  )  [signal]

Referenced by init().

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

References te.

Referenced by ApplicationWindow::newNote().

void Note::evaluate (  )  [inline, slot]

References ScriptEdit::evaluate(), and te.

void Note::execute (  )  [inline, slot]

References ScriptEdit::execute(), and te.

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

References ScriptEdit::executeAll(), and te.

QString Note::exportASCII ( const QString &  file = QString::null  )  [inline, slot]
void Note::exportPDF ( const QString &  fileName  )  [inline, virtual, slot]

Reimplemented from MdiSubWindow.

References ScriptEdit::exportPDF(), and te.

bool Note::hasLineNumbers (  )  [inline, slot]

References d_line_number.

QString Note::importASCII ( const QString &  file = QString::null  )  [inline, slot]

References ScriptEdit::importASCII(), and te.

void Note::init ( ScriptingEnv env  ) 
void Note::modifiedNote (  )  [slot]

References MdiSubWindow::modifiedWindow().

Referenced by init().

void Note::print (  )  [inline, virtual, slot]

Reimplemented from MdiSubWindow.

References ScriptEdit::print(), and te.

void Note::restore ( const QStringList &   )  [virtual, slot]

Not implemented yet.

Reimplemented from MdiSubWindow.

References d_line_number, setAutoexec(), and te.

Referenced by ApplicationWindow::appendProject(), and ApplicationWindow::openProject().

void Note::save ( const QString &  fn,
const QString &  info,
bool  = false 
) [virtual, slot]
void Note::setAutoexec ( bool  exec  )  [slot]

References autoExec, and te.

Referenced by restore().

void Note::setDirPath ( const QString &  path  )  [inline, slot]

References ScriptEdit::setDirPath(), and te.

Referenced by ApplicationWindow::newNote().

void Note::setName ( const QString &  s  ) 

Set the window name.

Reimplemented from MdiSubWindow.

References te.

Referenced by ApplicationWindow::newNote().

void Note::setText ( const QString &  s  )  [inline, slot]

References te.

Referenced by ImportOPJ::importNotes().

void Note::showLineNumbers ( bool  show = true  )  [inline, slot]

Enables/Disables the line number display.

References d_line_number.

Referenced by ApplicationWindow::newNote(), and ApplicationWindow::showNoteLineNumbers().

QString Note::text (  )  [inline, slot]

References te.


Member Data Documentation

bool Note::autoExec [private]

Referenced by autoexec(), init(), save(), and setAutoexec().

QWidget* Note::d_frame [private]

Referenced by init().

ScriptEdit* Note::te [private]

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

Generated on Tue Nov 3 10:48:56 2009 for QtiPlot by  doxygen 1.6.1