TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
Public Slots | Public Member Functions | Public Attributes | Protected Member Functions
Tinkercell::CodeEditor Class Reference

#include <CodeEditor.h>

Inheritance diagram for Tinkercell::CodeEditor:
Inheritance graph
[legend]

List of all members.

Public Slots

void setText (const QString &)
void showFindReplaceDialog ()
bool find (const QString &)
bool replace (const QString &, const QString &)

Public Member Functions

 CodeEditor (QWidget *parent=0)
void lineNumberAreaPaintEvent (QPaintEvent *event)
int lineNumberAreaWidth ()
void setCompleter (QCompleter *c)
QCompleter * completer () const
void zoomIn (int r=1)
void zoomOut (int r=1)
QString text () const

Public Attributes

QWidget * lineNumberArea
QColor lineHighlightColor
QColor lineNumberBackground
QColor lineNumberText

Protected Member Functions

void resizeEvent (QResizeEvent *event)
virtual void wheelEvent (QWheelEvent *wheelEvent)
void keyPressEvent (QKeyEvent *e)
void focusInEvent (QFocusEvent *e)

Detailed Description

Definition at line 38 of file CodeEditor.h.


Constructor & Destructor Documentation

Tinkercell::CodeEditor::CodeEditor ( QWidget *  parent = 0)

Definition at line 141 of file CodeEditor.cpp.

Here is the call graph for this function:


Member Function Documentation

QCompleter * Tinkercell::CodeEditor::completer ( ) const

Definition at line 34 of file CodeEditor.cpp.

Here is the caller graph for this function:

bool Tinkercell::CodeEditor::find ( const QString &  s) [slot]

Definition at line 346 of file CodeEditor.cpp.

Here is the caller graph for this function:

void Tinkercell::CodeEditor::focusInEvent ( QFocusEvent *  e) [protected]

Definition at line 58 of file CodeEditor.cpp.

void Tinkercell::CodeEditor::keyPressEvent ( QKeyEvent *  e) [protected]

Reimplemented in Tinkercell::TextEditor.

Definition at line 65 of file CodeEditor.cpp.

Here is the call graph for this function:

void Tinkercell::CodeEditor::lineNumberAreaPaintEvent ( QPaintEvent *  event)

Definition at line 257 of file CodeEditor.cpp.

int Tinkercell::CodeEditor::lineNumberAreaWidth ( )

Definition at line 192 of file CodeEditor.cpp.

Here is the caller graph for this function:

bool Tinkercell::CodeEditor::replace ( const QString &  old_string,
const QString &  new_string 
) [slot]

Definition at line 351 of file CodeEditor.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Tinkercell::CodeEditor::resizeEvent ( QResizeEvent *  event) [protected]

Definition at line 228 of file CodeEditor.cpp.

Here is the call graph for this function:

void Tinkercell::CodeEditor::setCompleter ( QCompleter *  c)

Definition at line 17 of file CodeEditor.cpp.

Here is the call graph for this function:

void Tinkercell::CodeEditor::setText ( const QString &  s) [slot]

Definition at line 341 of file CodeEditor.cpp.

Here is the caller graph for this function:

void Tinkercell::CodeEditor::showFindReplaceDialog ( ) [slot]

Definition at line 373 of file CodeEditor.cpp.

QString Tinkercell::CodeEditor::text ( ) const

Definition at line 336 of file CodeEditor.cpp.

Here is the caller graph for this function:

void Tinkercell::CodeEditor::wheelEvent ( QWheelEvent *  wheelEvent) [protected, virtual]

Definition at line 319 of file CodeEditor.cpp.

Here is the call graph for this function:

void Tinkercell::CodeEditor::zoomIn ( int  r = 1)

Definition at line 293 of file CodeEditor.cpp.

Here is the caller graph for this function:

void Tinkercell::CodeEditor::zoomOut ( int  r = 1)

Definition at line 314 of file CodeEditor.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 57 of file CodeEditor.h.

Definition at line 55 of file CodeEditor.h.

Definition at line 58 of file CodeEditor.h.

Definition at line 59 of file CodeEditor.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines