umbrello/umbrello
codeeditor.h
Go to the documentation of this file.
70 explicit CodeEditor(const QString & text, CodeViewerDialog * parent = 0, CodeDocument * doc = 0);
84 void appendText(CodeComment * comment, TextBlock * parent, UMLObject * umlObj = 0, const QString & compName = "");
Definition: codeeditor.h:35
void changeHighlighting(int signal)
Colorizes/uncolorizes type for ALL paragraphs.
Definition: codeeditor.cpp:1346
Definition: codeeditor.h:49
CodeEditor(const QString &text, CodeViewerDialog *parent=0, CodeDocument *doc=0)
Constructor.
Definition: codeeditor.cpp:60
void keyPressEvent(QKeyEvent *e)
Implemented so we may capture certain key presses, namely backspace and 'return' events.
Definition: codeeditor.cpp:227
void slotChangeSelectedBlockCommentView()
Change the status of the comment writeOutText value to opposite of current value. ...
Definition: codeeditor.cpp:705
void removeParagraph(int para)
Remove a paragraph from a given position.
Definition: codeeditor.cpp:663
void loadFromDocument()
(Re) Load the parent code document into the editor.
Definition: codeeditor.cpp:244
Used to declare classifier fields (e.g.
Definition: codeclassfielddeclarationblock.h:29
void slotChangeSelectedBlockView()
Slot to change the view of the selected block.
Definition: codeeditor.cpp:692
class CodeBlockWithComments A very common type of text block in any type of code. ...
Definition: codeblockwithcomments.h:24
void slotInsertCodeBlockAfterSelected()
Slot to insert a code block after the selection.
Definition: codeeditor.cpp:741
void insertParagraph(const QString &text, int para)
Insert a paragraph at a given position.
Definition: codeeditor.cpp:653
void slotInsertCodeBlockBeforeSelected()
Slot to insert a code block before the selection.
Definition: codeeditor.cpp:721
class CodeMethodBlock A common type of "code block" that occurs in OO code.
Definition: codemethodblock.h:28
Definition: codeeditor.h:66
This class is sooo ugly I don't know where to begin.
Definition: codeviewerdialog.h:27
void rebuildView(int startCursorPos)
Rebuild our view of the document.
Definition: codeeditor.cpp:1505
void contextMenuEvent(QContextMenuEvent *event)
Shows the context menu.
Definition: codeeditor.cpp:765
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
Definition: hierarchicalcodeblock.h:22
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
void mouseDoubleClickEvent(QMouseEvent *e)
Override the QT event so we can do appropriate things.
Definition: codeeditor.cpp:1436
void contentsMouseMoveEvent(QMouseEvent *e)
Override the QT event so we can do appropriate things.
Definition: codeeditor.cpp:1460
void slotCursorPositionChanged()
Slot for cursor position changed signal.
Definition: codeeditor.cpp:1047
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.