Logo Search packages:      
Sourcecode: ktikz version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | Private Slots | Private Member Functions | Private Attributes

TikzEditor Class Reference

List of all members.

Public Slots

void showCursorPosition ()


void cursorPositionChanged (int row, int col)
void focusIn ()
void focusOut ()
void showStatusMessage (const QString &message, int timeout=3000)

Public Member Functions

void goToLine (int line)
int numOfLines () const
void setCompleter (QCompleter *completer)
void setMatchingColor (const QColor &color)
void setShowMatchingBrackets (bool show)
void setShowTabulators (bool show)
void setShowWhiteSpaces (bool show)
void setTabulatorsColor (const QColor &color)
void setWhiteSpacesColor (const QColor &color)
 TikzEditor (QWidget *parent=0)

Protected Member Functions

void focusInEvent (QFocusEvent *event)
void focusOutEvent (QFocusEvent *event)
void keyPressEvent (QKeyEvent *event)
void paintEvent (QPaintEvent *event)


int numOfLines

Private Slots

void highlightCurrentLine ()
void insertCompletion (const QString &completion)
void matchBrackets ()

Private Member Functions

int getCursorPosition (int row, int col) const
void paintSpace (QPainter &painter, qreal x, qreal y)
void paintTabstop (QPainter &painter, qreal x, qreal y)
void printWhiteSpaces (QPainter &painter)
void setCursorPosition (int row, int col)
void showMatchingBrackets ()
uint spaceWidth () const
QString textUnderCursor () const

Private Attributes

QCompleter * m_completer
QColor m_highlightCurrentLineColor
long m_matchingBegin
QColor m_matchingColor
long m_matchingEnd
int m_oldVerticalScrollBarValue
QString m_plainText
QRect m_previousHighlightedLine
bool m_showMatchingBrackets
bool m_showTabulators
bool m_showWhiteSpaces
QColor m_tabulatorsColor
QColor m_whiteSpacesColor

Detailed Description

Definition at line 28 of file tikzeditor.h.

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

Generated by  Doxygen 1.6.0   Back to index