1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
/**
See {@link QTextEditSignals} for signals emitted by QTextEdit
*/
public class QTextEdit extends QScrollView {
protected QTextEdit(Class dummy){super((Class) null);}
public static final int NoWrap = 0;
public static final int WidgetWidth = 1;
public static final int FixedPixelWidth = 2;
public static final int FixedColumnWidth = 3;
public static final int AtWordBoundary = 0;
public static final int AtWhiteSpace = AtWordBoundary;
public static final int Anywhere = 1;
public static final int AtWordOrDocumentBoundary = 2;
public static final int AutoNone = 0;
public static final int AutoBulletList = 0x00000001;
public static final int AutoAll = 0xffffffff;
public static final int ActionBackspace = 0;
public static final int ActionDelete = 1;
public static final int ActionReturn = 2;
public static final int ActionKill = 3;
public static final int ActionWordBackspace = 4;
public static final int ActionWordDelete = 5;
public static final int MoveBackward = 0;
public static final int MoveForward = 1;
public static final int MoveWordBackward = 2;
public static final int MoveWordForward = 3;
public static final int MoveUp = 4;
public static final int MoveDown = 5;
public static final int MoveLineStart = 6;
public static final int MoveLineEnd = 7;
public static final int MoveHome = 8;
public static final int MoveEnd = 9;
public static final int MovePgUp = 10;
public static final int MovePgDown = 11;
public static final int AlignNormal = 0;
public static final int AlignSuperScript = 1;
public static final int AlignSubScript = 2;
public static final int RedoIndentation = 0x0001;
public static final int CheckNewLines = 0x0002;
public static final int RemoveSelected = 0x0004;
public native QMetaObject metaObject();
public native String className();
public QTextEdit(String text, String context, QWidget parent, String name) {
super((Class) null);
newQTextEdit(text,context,parent,name);
}
private native void newQTextEdit(String text, String context, QWidget parent, String name);
public QTextEdit(String text, String context, QWidget parent) {
super((Class) null);
newQTextEdit(text,context,parent);
}
private native void newQTextEdit(String text, String context, QWidget parent);
public QTextEdit(String text, String context) {
super((Class) null);
newQTextEdit(text,context);
}
private native void newQTextEdit(String text, String context);
public QTextEdit(String text) {
super((Class) null);
newQTextEdit(text);
}
private native void newQTextEdit(String text);
public QTextEdit(QWidget parent, String name) {
super((Class) null);
newQTextEdit(parent,name);
}
private native void newQTextEdit(QWidget parent, String name);
public QTextEdit(QWidget parent) {
super((Class) null);
newQTextEdit(parent);
}
private native void newQTextEdit(QWidget parent);
public QTextEdit() {
super((Class) null);
newQTextEdit();
}
private native void newQTextEdit();
public native void setPalette(QPalette arg1);
public native String text();
public native String text(int para);
public native int textFormat();
public native String context();
public native String documentTitle();
public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo, int selNum);
public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo);
public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para, int[] index);
public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para);
public native boolean find(String expr, boolean cs, boolean wo, boolean forward);
public native boolean find(String expr, boolean cs, boolean wo);
public native int paragraphs();
public native int lines();
public native int linesOfParagraph(int para);
public native int lineOfChar(int para, int chr);
public native int length();
public native QRect paragraphRect(int para);
public native int paragraphAt(QPoint pos);
public native int charAt(QPoint pos, int[] para);
public native int paragraphLength(int para);
public native QStyleSheet styleSheet();
public native QMimeSourceFactory mimeSourceFactory();
public native QBrush paper();
public native boolean linkUnderline();
public native int heightForWidth(int w);
public native boolean hasSelectedText();
public native String selectedText();
public native boolean isUndoAvailable();
public native boolean isRedoAvailable();
public native int wordWrap();
public native int wrapColumnOrWidth();
public native int wrapPolicy();
public native int tabStopWidth();
public native String anchorAt(QPoint pos);
public native String anchorAt(QPoint pos, int a);
public native QSize sizeHint();
public native boolean isReadOnly();
public native void getCursorPosition(int[] parag, int[] index);
public native boolean isModified();
public native boolean italic();
public native boolean bold();
public native boolean underline();
public native String family();
public native int pointSize();
public native QColor color();
public native QFont font();
public native QFont currentFont();
public native int alignment();
public native int undoDepth();
public native boolean getFormat(int para, int index, QFont font, QColor color, int verticalAlignment);
public native boolean getParagraphFormat(int para, QFont font, QColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth);
public native boolean isOverwriteMode();
public native QColor paragraphBackgroundColor(int para);
public native boolean isUndoRedoEnabled();
public native boolean eventFilter(QObject o, QEvent e);
public native boolean tabChangesFocus();
public native void setAutoFormatting(int features);
public native int autoFormatting();
public native QSyntaxHighlighter syntaxHighlighter();
public native void setEnabled(boolean arg1);
public native void setMimeSourceFactory(QMimeSourceFactory factory);
public native void setStyleSheet(QStyleSheet styleSheet);
public native void scrollToAnchor(String name);
public native void setPaper(QBrush pap);
public native void setLinkUnderline(boolean arg1);
public native void setWordWrap(int mode);
public native void setWrapColumnOrWidth(int arg1);
public native void setWrapPolicy(int policy);
public native void copy();
public native void append(String text);
public native void setText(String txt);
public native void setText(String txt, String context);
public native void setTextFormat(int f);
public native void selectAll(boolean select);
public native void selectAll();
public native void setTabStopWidth(int ts);
public native void zoomIn(int range);
public native void zoomIn();
public native void zoomOut(int range);
public native void zoomOut();
public native void zoomTo(int size);
public native void sync();
public native void setReadOnly(boolean b);
public native void undo();
public native void redo();
public native void cut();
public native void paste();
public native void pasteSubType(String subtype);
public native void clear();
public native void del();
public native void indent();
public native void setItalic(boolean b);
public native void setBold(boolean b);
public native void setUnderline(boolean b);
public native void setFamily(String f);
public native void setPointSize(int s);
public native void setColor(QColor c);
public native void setFont(QFont f);
public native void setVerticalAlignment(int a);
public native void setAlignment(int a);
public native void setParagType(int dm, int listStyle);
public native void setCursorPosition(int parag, int index);
public native void setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum);
public native void setSelection(int parag_from, int index_from, int parag_to, int index_to);
public native void setSelectionAttributes(int selNum, QColor back, boolean invertText);
public native void setModified(boolean m);
public native void resetFormat();
public native void setUndoDepth(int d);
// void setFormat(QTextFormat* arg1,int arg2); >>>> NOT CONVERTED
public native void ensureCursorVisible();
// void placeCursor(const QPoint& arg1,QTextCursor* arg2); >>>> NOT CONVERTED
public native void placeCursor(QPoint pos);
public native void moveCursor(int action, boolean select);
public native void doKeyboardAction(int action);
public native void removeSelectedText(int selNum);
public native void removeSelectedText();
public native void removeSelection(int selNum);
public native void removeSelection();
public native void setCurrentFont(QFont f);
public native void setOverwriteMode(boolean b);
public native void scrollToBottom();
public native void insert(String text, int insertionFlags);
public native void insert(String text);
public native void insert(String text, boolean arg2, boolean arg3, boolean arg4);
public native void insert(String text, boolean arg2, boolean arg3);
public native void insert(String text, boolean arg2);
public native void insertAt(String text, int para, int index);
public native void removeParagraph(int para);
public native void insertParagraph(String text, int para);
public native void setParagraphBackgroundColor(int para, QColor bg);
public native void clearParagraphBackground(int para);
public native void setUndoRedoEnabled(boolean b);
public native void setTabChangesFocus(boolean b);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
protected native void repaintChanged();
protected native void updateStyles();
protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
public native boolean event(QEvent e);
protected native void keyPressEvent(QKeyEvent e);
protected native void resizeEvent(QResizeEvent e);
protected native void viewportResizeEvent(QResizeEvent arg1);
protected native void contentsMousePressEvent(QMouseEvent e);
protected native void contentsMouseMoveEvent(QMouseEvent e);
protected native void contentsMouseReleaseEvent(QMouseEvent e);
protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
protected native void contentsWheelEvent(QWheelEvent e);
protected native void imStartEvent(QIMEvent arg1);
protected native void imComposeEvent(QIMEvent arg1);
protected native void imEndEvent(QIMEvent arg1);
protected native void contentsDragEnterEvent(QDragEnterEvent e);
protected native void contentsDragMoveEvent(QDragMoveEvent e);
protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
protected native void contentsDropEvent(QDropEvent e);
protected native void contentsContextMenuEvent(QContextMenuEvent e);
protected native boolean focusNextPrevChild(boolean next);
// QTextDocument* document(); >>>> NOT CONVERTED
// QTextCursor* textCursor(); >>>> NOT CONVERTED
// void setDocument(QTextDocument* arg1); >>>> NOT CONVERTED
protected native QPopupMenu createPopupMenu(QPoint pos);
protected native QPopupMenu createPopupMenu();
protected native void drawCursor(boolean visible);
protected native void windowActivationChange(boolean arg1);
protected native void doChangeInterval();
protected native void sliderReleased();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|