org.kde.qt
public class QTextEdit extends QScrollView
Field Summary | |
---|---|
static int | ActionBackspace |
static int | ActionDelete |
static int | ActionKill |
static int | ActionReturn |
static int | ActionWordBackspace |
static int | ActionWordDelete |
static int | AlignNormal |
static int | AlignSubScript |
static int | AlignSuperScript |
static int | Anywhere |
static int | AtWhiteSpace |
static int | AtWordBoundary |
static int | AtWordOrDocumentBoundary |
static int | AutoAll |
static int | AutoBulletList |
static int | AutoNone |
static int | CheckNewLines |
static int | FixedColumnWidth |
static int | FixedPixelWidth |
static int | MoveBackward |
static int | MoveDown |
static int | MoveEnd |
static int | MoveForward |
static int | MoveHome |
static int | MoveLineEnd |
static int | MoveLineStart |
static int | MovePgDown |
static int | MovePgUp |
static int | MoveUp |
static int | MoveWordBackward |
static int | MoveWordForward |
static int | NoWrap |
static int | RedoIndentation |
static int | RemoveSelected |
static int | WidgetWidth |
Constructor Summary | |
---|---|
protected | QTextEdit(Class dummy) |
QTextEdit(String text, String context, QWidget parent, String name) | |
QTextEdit(String text, String context, QWidget parent) | |
QTextEdit(String text, String context) | |
QTextEdit(String text) | |
QTextEdit(QWidget parent, String name) | |
QTextEdit(QWidget parent) | |
QTextEdit() |
Method Summary | |
---|---|
int | alignment() |
String | anchorAt(QPoint pos) |
String | anchorAt(QPoint pos, int a) |
void | append(String text) |
int | autoFormatting() |
boolean | bold() |
int | charAt(QPoint pos, int[] para) |
String | className() |
void | clear() |
void | clearParagraphBackground(int para) |
QColor | color() |
protected void | contentsContextMenuEvent(QContextMenuEvent e) |
protected void | contentsDragEnterEvent(QDragEnterEvent e) |
protected void | contentsDragLeaveEvent(QDragLeaveEvent e) |
protected void | contentsDragMoveEvent(QDragMoveEvent e) |
protected void | contentsDropEvent(QDropEvent e) |
protected void | contentsMouseDoubleClickEvent(QMouseEvent e) |
protected void | contentsMouseMoveEvent(QMouseEvent e) |
protected void | contentsMousePressEvent(QMouseEvent e) |
protected void | contentsMouseReleaseEvent(QMouseEvent e) |
protected void | contentsWheelEvent(QWheelEvent e) |
String | context() |
void | copy() |
protected QPopupMenu | createPopupMenu(QPoint pos) |
protected QPopupMenu | createPopupMenu() |
QFont | currentFont() |
void | cut() |
void | del() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
String | documentTitle() |
protected void | doChangeInterval() |
void | doKeyboardAction(int action) |
protected void | drawContents(QPainter p, int cx, int cy, int cw, int ch) |
protected void | drawCursor(boolean visible) |
void | ensureCursorVisible() |
boolean | event(QEvent e) |
boolean | eventFilter(QObject o, QEvent e) |
String | family() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | find(String expr, boolean cs, boolean wo, boolean forward, int[] para, int[] index) |
boolean | find(String expr, boolean cs, boolean wo, boolean forward, int[] para) |
boolean | find(String expr, boolean cs, boolean wo, boolean forward) |
boolean | find(String expr, boolean cs, boolean wo) |
protected boolean | focusNextPrevChild(boolean next) |
QFont | font() |
void | getCursorPosition(int[] parag, int[] index) |
boolean | getFormat(int para, int index, QFont font, QColor color, int verticalAlignment) |
boolean | getParagraphFormat(int para, QFont font, QColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth) |
void | getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo, int selNum) |
void | getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo) |
boolean | hasSelectedText() |
int | heightForWidth(int w) |
protected void | imComposeEvent(QIMEvent arg1) |
protected void | imEndEvent(QIMEvent arg1) |
protected void | imStartEvent(QIMEvent arg1) |
void | indent() |
void | insert(String text, int insertionFlags) |
void | insert(String text) |
void | insert(String text, boolean arg2, boolean arg3, boolean arg4) |
void | insert(String text, boolean arg2, boolean arg3) |
void | insert(String text, boolean arg2) |
void | insertAt(String text, int para, int index) |
void | insertParagraph(String text, int para) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isModified() |
boolean | isOverwriteMode() |
boolean | isReadOnly() |
boolean | isRedoAvailable() |
boolean | isUndoAvailable() |
boolean | isUndoRedoEnabled() |
boolean | italic() |
protected void | keyPressEvent(QKeyEvent e) |
int | length() |
int | lineOfChar(int para, int chr) |
int | lines() |
int | linesOfParagraph(int para) |
boolean | linkUnderline() |
QMetaObject | metaObject() |
QMimeSourceFactory | mimeSourceFactory() |
void | moveCursor(int action, boolean select) |
QBrush | paper() |
int | paragraphAt(QPoint pos) |
QColor | paragraphBackgroundColor(int para) |
int | paragraphLength(int para) |
QRect | paragraphRect(int para) |
int | paragraphs() |
void | paste() |
void | pasteSubType(String subtype) |
void | placeCursor(QPoint pos) |
int | pointSize() |
void | redo() |
void | removeParagraph(int para) |
void | removeSelectedText(int selNum) |
void | removeSelectedText() |
void | removeSelection(int selNum) |
void | removeSelection() |
protected void | repaintChanged() |
void | resetFormat() |
protected void | resizeEvent(QResizeEvent e) |
void | scrollToAnchor(String name) |
void | scrollToBottom() |
void | selectAll(boolean select) |
void | selectAll() |
String | selectedText() |
void | setAlignment(int a) |
void | setAutoFormatting(int features) |
void | setBold(boolean b) |
void | setColor(QColor c) |
void | setCurrentFont(QFont f) |
void | setCursorPosition(int parag, int index) |
void | setEnabled(boolean arg1) |
void | setFamily(String f) |
void | setFont(QFont f) |
void | setItalic(boolean b) |
void | setLinkUnderline(boolean arg1) |
void | setMimeSourceFactory(QMimeSourceFactory factory) |
void | setModified(boolean m) |
void | setOverwriteMode(boolean b) |
void | setPalette(QPalette arg1) |
void | setPaper(QBrush pap) |
void | setParagraphBackgroundColor(int para, QColor bg) |
void | setParagType(int dm, int listStyle) |
void | setPointSize(int s) |
void | setReadOnly(boolean b) |
void | setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum) |
void | setSelection(int parag_from, int index_from, int parag_to, int index_to) |
void | setSelectionAttributes(int selNum, QColor back, boolean invertText) |
void | setStyleSheet(QStyleSheet styleSheet) |
void | setTabChangesFocus(boolean b) |
void | setTabStopWidth(int ts) |
void | setText(String txt) |
void | setText(String txt, String context) |
void | setTextFormat(int f) |
void | setUnderline(boolean b) |
void | setUndoDepth(int d) |
void | setUndoRedoEnabled(boolean b) |
void | setVerticalAlignment(int a) |
void | setWordWrap(int mode) |
void | setWrapColumnOrWidth(int arg1) |
void | setWrapPolicy(int policy) |
QSize | sizeHint() |
protected void | sliderReleased() |
QStyleSheet | styleSheet() |
void | sync() |
QSyntaxHighlighter | syntaxHighlighter() |
boolean | tabChangesFocus() |
int | tabStopWidth() |
String | text() |
String | text(int para) |
int | textFormat() |
static String | tr(String arg1, String arg2) |
static String | tr(String arg1) |
boolean | underline() |
void | undo() |
int | undoDepth() |
protected void | updateStyles() |
protected void | viewportResizeEvent(QResizeEvent arg1) |
protected void | windowActivationChange(boolean arg1) |
int | wordWrap() |
int | wrapColumnOrWidth() |
int | wrapPolicy() |
void | zoomIn(int range) |
void | zoomIn() |
void | zoomOut(int range) |
void | zoomOut() |
void | zoomTo(int size) |