#include <Note.h>

Public Slots | |
| bool | autoexec () const |
| ScriptEdit * | editor () |
| 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. | |
| QString | saveToString (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 |
| LineNumberDisplay * | d_line_number |
| ScriptEdit * | te |
| Note::Note | ( | ScriptingEnv * | env, | |
| const QString & | label, | |||
| ApplicationWindow * | parent, | |||
| const QString & | name = QString(), |
|||
| Qt::WFlags | f = 0 | |||
| ) |
References init().
| Note::~Note | ( | ) | [inline] |
| bool Note::autoexec | ( | ) | const [inline, slot] |
| void Note::dirPathChanged | ( | const QString & | path | ) | [signal] |
Referenced by init().
| ScriptEdit* Note::editor | ( | ) | [inline, slot] |
| 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] |
| 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 | ) |
References autoExec, d_frame, d_line_number, dirPathChanged(), modifiedNote(), MdiSubWindow::name(), ScriptEdit::setContext(), and te.
Referenced by Note().
| void Note::modifiedNote | ( | ) | [slot] |
| void Note::print | ( | ) | [inline, virtual, slot] |
| 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().
| QString Note::saveToString | ( | const QString & | info, | |
| bool | = false | |||
| ) | [virtual, slot] |
Reimplemented from MdiSubWindow.
References autoExec, MdiSubWindow::birthDate(), MdiSubWindow::captionPolicy(), d_line_number, MdiSubWindow::name(), te, and MdiSubWindow::windowLabel().
| void Note::setDirPath | ( | const QString & | path | ) | [inline, slot] |
| void Note::setName | ( | const QString & | s | ) |
Set the window name.
Reimplemented from MdiSubWindow.
References MdiSubWindow::setName(), and te.
Referenced by ApplicationWindow::newNote().
| void Note::setText | ( | const QString & | s | ) | [inline, slot] |
| 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.
bool Note::autoExec [private] |
Referenced by autoexec(), init(), saveToString(), and setAutoexec().
QWidget* Note::d_frame [private] |
Referenced by init().
LineNumberDisplay* Note::d_line_number [private] |
Referenced by hasLineNumbers(), init(), restore(), saveToString(), and showLineNumbers().
ScriptEdit* Note::te [private] |
Referenced by editor(), evaluate(), execute(), executeAll(), exportASCII(), exportPDF(), importASCII(), init(), print(), restore(), saveToString(), setAutoexec(), setDirPath(), setName(), setText(), and text().
1.5.6