/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/tests/annotations/items/helper/ |
H A D | TextCursorTest.cpp | 24 TextCursor textCursor; in TestMove_Should_MoveCursorToBeginning_When_DirectionBeginning() local 37 TextCursor textCursor; in TestMove_Should_MoveCursorToEnd_When_DirectionEnd() local 51 TextCursor textCursor; in TestMove_Should_MoveCursorByOnePointToRight_When_DirectionNext() local 64 TextCursor textCursor; in TestMove_Should_MoveCursorToNextWordBeginning_When_DirectionNextAndModifierCtrl() local 80 TextCursor textCursor; in TestMove_Should_MoveCursorByOnePointToLeft_When_DirectionPrevious() local 94 TextCursor textCursor; in TestMove_Should_MoveCursorToPreviousWordBeginning_When_DirectionPreviousAndModifierCtrl() local 111 TextCursor textCursor; in TestMove_Should_MoveCursorToStart_When_DirectionPreviousAndCurrentPositionAtStart() local 124 TextCursor textCursor; in TestMove_Should_MoveCursorToEnd_When_DirectionNextAndCurrentPositionAtEnd() local 137 TextCursor textCursor; in TestMove_Should_MoveCursorToNextLineSamePosition_When_DirectionDown() local 241 TextCursor textCursor; in TestMoveForwardBy_Should_MoveCursorForwardByRequestedSteps() local [all …]
|
/dports/math/qtiplot-doc/qtiplot-0.9.8.9/qtiplot/src/lib/src/ |
H A D | TextFormatButtons.cpp | 239 connectedTextEdit->textCursor().insertText("\\eta"); in addSymbol() 249 connectedTextEdit->textCursor().insertText("\\mu"); in addSymbol() 251 connectedTextEdit->textCursor().insertText("\\nu"); in addSymbol() 253 connectedTextEdit->textCursor().insertText("\\xi"); in addSymbol() 257 connectedTextEdit->textCursor().insertText("\\pi"); in addSymbol() 287 connectedTextEdit->textCursor().insertText("\\Xi"); in addSymbol() 289 connectedTextEdit->textCursor().insertText("\\Pi"); in addSymbol() 368 connectedTextEdit->textCursor().insertText("\\in"); in addSymbol() 372 connectedTextEdit->textCursor().insertText("\\ni"); in addSymbol() 385 connectedTextEdit->textCursor().insertText("\\pm"); in addSymbol() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/manual/qtexteditlist/ |
H A D | widget.cpp | 61 textCursor->insertList(listFormat); in Widget() 62 textCursor->insertText("disc one"); in Widget() 66 textCursor->insertList(listFormat); in Widget() 71 textCursor->insertList(listFormat); in Widget() 76 textCursor->insertList(listFormat); in Widget() 82 textCursor->insertList(listFormat); in Widget() 87 textCursor->insertList(listFormat); in Widget() 92 textCursor->insertList(listFormat); in Widget() 98 textCursor->insertList(listFormat); in Widget() 103 textCursor->insertList(listFormat); in Widget() [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/PythonQt/src/gui/ |
H A D | PythonQtScriptingConsole.cpp | 129 QTextCursor textCursor = this->textCursor(); in executeLine() local 224 QTextCursor textCursor(this->textCursor()); in commandPromptPosition() local 233 QTextCursor tc = textCursor(); in insertCompletion() 238 tc = textCursor(); in insertCompletion() 248 QTextCursor textCursor = this->textCursor(); in handleTabCompletion() local 249 int pos = textCursor.position(); in handleTabCompletion() 332 QTextCursor textCursor = this->textCursor(); in keyPressEvent() local 464 QTextCursor textCursor = this->textCursor(); in verifySelectionBeforeDeletion() local 470 if (textCursor.hasSelection()) { in verifySelectionBeforeDeletion() 524 QTextCursor textCursor = this->textCursor(); in changeHistory() local [all …]
|
/dports/x11-fonts/fontmatrix/fontmatrix-0.9.100/pythonqt/src/gui/ |
H A D | PythonQtScriptingConsole.cpp | 131 QTextCursor textCursor = this->textCursor(); in executeLine() local 231 QTextCursor textCursor(this->textCursor()); in commandPromptPosition() local 243 QTextCursor tc = textCursor(); in insertCompletion() 248 tc = textCursor(); in insertCompletion() 259 QTextCursor textCursor = this->textCursor(); in handleTabCompletion() local 260 int pos = textCursor.position(); in handleTabCompletion() 343 QTextCursor textCursor = this->textCursor(); in keyPressEvent() local 480 QTextCursor textCursor = this->textCursor(); in verifySelectionBeforeDeletion() local 486 if (textCursor.hasSelection()) { in verifySelectionBeforeDeletion() 542 QTextCursor textCursor = this->textCursor(); in changeHistory() local [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/Application/vtkpost/ |
H A D | ecmaconsole.cpp | 163 QTextCursor textCursor(this->textCursor()); in getPromptPos() local 171 QTextCursor textCursor = this->textCursor(); in execLine() local 173 textCursor.setPosition(getPromptPos()); in execLine() 184 textCursor = this->textCursor(); in execLine() 186 setTextCursor(textCursor); in execLine() 191 QTextCursor textCursor = this->textCursor(); in scanHistory() local 196 setTextCursor(textCursor); in scanHistory() 241 QTextCursor textCursor = this->textCursor(); in handleTabCompletion() local 242 int pos = textCursor.position(); in handleTabCompletion() 311 QTextCursor tc = textCursor(); in insertCompletion() [all …]
|
/dports/net/kpimtextedit/kpimtextedit-21.12.3/autotests/ |
H A D | editorutiltest.cpp | 40 QTextCursor textCursor(document); in testUpperCase() local 42 textCursor.setPosition(startcursorposition); in testUpperCase() 46 editorUtil.upperCase(textCursor); in testUpperCase() 70 QTextCursor textCursor(document); in testLowerCase() local 72 textCursor.setPosition(startcursorposition); in testLowerCase() 76 editorUtil.lowerCase(textCursor); in testLowerCase() 100 QTextCursor textCursor(document); in testSentenceCase() local 102 textCursor.setPosition(startcursorposition); in testSentenceCase() 106 editorUtil.sentenceCase(textCursor); in testSentenceCase() 132 QTextCursor textCursor(document); in testReverseCase() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/qadevOOo/tests/java/mod/_sw/ |
H A D | SwXTextCursor.java | 138 oObj = textCursor; in createTestEnvironment() 155 aText.insertControlCharacter(textCursor, in createTestEnvironment() 158 aText.insertControlCharacter(textCursor, in createTestEnvironment() 197 textCursor.gotoEnd(false); in createTestEnvironment() 200 aText.insertControlCharacter(textCursor, in createTestEnvironment() 204 aText.insertControlCharacter(textCursor, in createTestEnvironment() 208 aText.insertControlCharacter(textCursor, in createTestEnvironment() 212 aText.insertControlCharacter(textCursor, in createTestEnvironment() 216 aText.insertControlCharacter(textCursor, in createTestEnvironment() 220 aText.insertControlCharacter(textCursor, in createTestEnvironment() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/qadevOOo/tests/java/mod/_sw/ |
H A D | SwXTextCursor.java | 138 oObj = textCursor; in createTestEnvironment() 155 aText.insertControlCharacter(textCursor, in createTestEnvironment() 158 aText.insertControlCharacter(textCursor, in createTestEnvironment() 197 textCursor.gotoEnd(false); in createTestEnvironment() 200 aText.insertControlCharacter(textCursor, in createTestEnvironment() 204 aText.insertControlCharacter(textCursor, in createTestEnvironment() 208 aText.insertControlCharacter(textCursor, in createTestEnvironment() 212 aText.insertControlCharacter(textCursor, in createTestEnvironment() 216 aText.insertControlCharacter(textCursor, in createTestEnvironment() 220 aText.insertControlCharacter(textCursor, in createTestEnvironment() [all …]
|
/dports/deskutils/kdepim-addons/kdepim-addons-21.12.3/kmail/editorplugins/changecase/ |
H A D | changecaseplugineditorinterface.cpp | 62 QTextCursor textCursor = richTextEditor()->textCursor(); in sentenceCase() local 64 editorUtil.sentenceCase(textCursor); in sentenceCase() 70 QTextCursor textCursor = richTextEditor()->textCursor(); in upperCase() local 71 editorUtil.upperCase(textCursor); in upperCase() 76 QTextCursor textCursor = richTextEditor()->textCursor(); in lowerCase() local 78 editorUtil.lowerCase(textCursor); in lowerCase() 83 QTextCursor textCursor = richTextEditor()->textCursor(); in reverseCase() local 85 editorUtil.reverseCase(textCursor); in reverseCase()
|
/dports/x11-toolkits/kf5-ktextwidgets/ktextwidgets-5.89.0/autotests/ |
H A D | krichtextedittest.cpp | 46 QTextCursor cursor = edit.textCursor(); in testUpdateLinkAdd() 78 QTextCursor cursor = edit.textCursor(); in testUpdateLinkRemove() 159 QTextCursor cursor = edit.textCursor(); in testHTMLOrderedLists() 203 QTextCursor cursor = edit.textCursor(); in testHTMLUnorderedLists() 248 QCOMPARE(edit.textCursor().blockFormat().headingLevel(), 1); in testHeading() 268 QCOMPARE(edit.textCursor().position(), 5); in testHeading() 298 QTextCursor cursor = edit.textCursor(); in testHeading() 360 QVERIFY(edit.textCursor().currentList()); in testNestedLists() 368 QVERIFY(edit.textCursor().currentList()); in testNestedLists() 419 QCOMPARE(edit.textCursor().currentList()->count(), 3); in testNestedLists() [all …]
|
/dports/editors/cpeditor/cpeditor-6.8.2/third_party/QtFindReplaceDialog/dialogs/ |
H A D | findreplaceform.cpp | 186 textCursor = textEdit->textCursor(); in find() 187 if (!textCursor.hasSelection()) in find() 189 if (next && textCursor.atEnd()) in find() 193 else if (back && textCursor.atStart()) in find() 198 textEdit->setTextCursor(textCursor); in find() 217 textCursor = textEdit->document()->find(reg, textCursor, flags); in find() 218 if (!textCursor.isNull()) in find() 220 result = (!textCursor.isNull()); in find() 244 textCursor = textEdit->textCursor(); in find() 253 textEdit->setTextCursor(textCursor); in find() [all …]
|
/dports/math/cantor/cantor-21.12.3/src/ |
H A D | worksheettextitem.cpp | 122 if (!textCursor().hasSelection()) { in populateMenu() 272 QTextCursor cursor = textCursor(); in setLocalCursorPosition() 280 QTextCursor cursor = textCursor(); in localCursorPosition() 297 cursor = textCursor(); in cursorRect() 463 int p = textCursor().position(); in keyPressEvent() 467 if (p != textCursor().position()) in keyPressEvent() 527 int p = textCursor().position(); in mousePressEvent() 540 if (p != textCursor().position()) in mousePressEvent() 565 int p = textCursor().position(); in mouseReleaseEvent() 578 if (p != textCursor().position()) in mouseReleaseEvent() [all …]
|
/dports/devel/py-spyder/spyder-3.2.7/spyder/widgets/tests/ |
H A D | test_codeeditor.py | 39 cursor = widget.textCursor() 51 cursor = widget.textCursor() 61 editor.textCursor().insertText('foo') 64 assert editor.textCursor().columnNumber() == 4 68 editor.textCursor().insertText('foo(bar)') 72 assert editor.textCursor().columnNumber() == 8 76 editor.textCursor().insertText('foo(bar(x') 79 assert editor.textCursor().columnNumber() == 10 82 assert editor.textCursor().columnNumber() == 11 87 assert editor.textCursor().columnNumber() == 10 [all …]
|
/dports/x11-toolkits/plasma5-kdeplasma-addons/kdeplasma-addons-5.23.5/applets/notes/plugin/ |
H A D | documenthandler.cpp | 66 QTextCursor cursor = textCursor(); in pasteWithoutFormatting() 138 QTextCursor cursor = textCursor(); in mergeFormatOnWordOrSelection() 168 QTextCursor cursor = textCursor(); in alignment() 177 QTextCursor cursor = textCursor(); in bold() 186 QTextCursor cursor = textCursor(); in italic() 195 QTextCursor cursor = textCursor(); in underline() 204 QTextCursor cursor = textCursor(); in strikeOut() 245 QTextCursor cursor = textCursor(); in fontSize() 255 QTextCursor cursor = textCursor(); in setFontSize() 288 QTextCursor cursor = textCursor(); in textColor() [all …]
|
/dports/multimedia/shotcut/shotcut-21.03.21/src/qmltypes/ |
H A D | qmlrichtext.cpp | 141 QTextCursor cursor = textCursor(); in insertTable() 175 QTextCursor cursor = textCursor(); in indentLess() 186 QTextCursor cursor = textCursor(); in indentMore() 197 QTextCursor cursor = textCursor(); in pastePlain() 251 QTextCursor cursor = textCursor(); in mergeFormatOnWordOrSelection() 283 QTextCursor cursor = textCursor(); in alignment() 291 QTextCursor cursor = textCursor(); in bold() 299 QTextCursor cursor = textCursor(); in italic() 307 QTextCursor cursor = textCursor(); in underline() 339 QTextCursor cursor = textCursor(); in fontSize() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qtextbrowser/ |
H A D | tst_qtextbrowser.cpp | 551 QVERIFY(browser->textCursor().hasSelection()); in focusIndicator() 562 QVERIFY(browser->textCursor().hasSelection()); in focusIndicator() 570 QVERIFY(browser->textCursor().hasSelection()); in focusIndicator() 575 QVERIFY(browser->textCursor().hasSelection()); in focusIndicator() 580 QVERIFY(browser->textCursor().hasSelection()); in focusIndicator() 586 QVERIFY(browser->textCursor().hasSelection()); in focusIndicator() 603 QVERIFY(browser->textCursor().hasSelection()); in focusHistory() 614 QVERIFY(browser->textCursor().hasSelection()); in focusHistory() 619 QVERIFY(browser->textCursor().hasSelection()); in focusHistory() 624 QVERIFY(browser->textCursor().hasSelection()); in focusHistory() [all …]
|
/dports/net/kpimtextedit/kpimtextedit-21.12.3/src/ |
H A D | tableactionmenu.cpp | 83 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotRemoveCellContents() 88 QTextCursor cursor = textEdit->textCursor(); in _k_slotRemoveCellContents() 101 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotRemoveRowBelow() 114 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotRemoveRowAbove() 127 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotRemoveColumnBefore() 140 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotRemoveColumnAfter() 153 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotInsertRowBelow() 168 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotInsertRowAbove() 179 QTextTable *table = textEdit->textCursor().currentTable(); in _k_slotInsertColumnBefore() 207 QTextCursor cursor = textEdit->textCursor(); in _k_slotInsertTable() [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/tests/system/suite_editors/tst_select_all/ |
H A D | test.py | 57 test.compare(editor.textCursor().selectionStart(), 0) 58 test.compare(editor.textCursor().selectionEnd(), size) 59 test.compare(editor.textCursor().position(), size) 65 … test.compare(editor.textCursor().selectionStart(), editor.textCursor().selectionEnd()) 70 test.compare(editor.textCursor().selectionStart(), pos) 71 test.compare(editor.textCursor().selectionEnd(), pos) 72 test.compare(editor.textCursor().position(), pos)
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtquickcontrols/examples/quickcontrols/controls/texteditor/src/ |
H A D | documenthandler.cpp | 197 QTextCursor cursor = textCursor(); in mergeFormatOnWordOrSelection() 229 QTextCursor cursor = textCursor(); in alignment() 237 QTextCursor cursor = textCursor(); in bold() 245 QTextCursor cursor = textCursor(); in italic() 253 QTextCursor cursor = textCursor(); in underline() 285 QTextCursor cursor = textCursor(); in fontSize() 294 QTextCursor cursor = textCursor(); in setFontSize() 305 QTextCursor cursor = textCursor(); in textColor() 314 QTextCursor cursor = textCursor(); in setTextColor() 325 QTextCursor cursor = textCursor(); in fontFamily() [all …]
|
/dports/editors/calligra/calligra-3.2.1/sheets/ui/ |
H A D | ExternalEditor.cpp | 123 QTextCursor textCursor = this->textCursor(); in setText() local 124 textCursor.setPosition(d->cellTool->editor()->cursorPosition()); in setText() 125 setTextCursor(textCursor); in setText() 131 return textCursor().position(); in cursorPosition() 136 QTextCursor textCursor(this->textCursor()); in setCursorPosition() local 137 textCursor.setPosition(pos); in setCursorPosition() 138 setTextCursor(textCursor); in setCursorPosition() 193 d->cellTool->editor()->setCursorPosition(textCursor().position()); in slotTextChanged() 205 d->cellTool->editor()->setCursorPosition(textCursor().position()); in slotCursorPositionChanged()
|
/dports/astro/marble/marble-21.12.3/src/lib/marble/ |
H A D | FormattedTextWidget.cpp | 101 QTextCursor cursor = d->m_description->textCursor(); in toggleDescriptionEditMode() 116 QTextCursor cursor = d->m_description->textCursor(); in setTextCursorBold() 125 QTextCursor cursor = d->m_description->textCursor(); in setTextCursorItalic() 134 QTextCursor cursor = d->m_description->textCursor(); in setTextCursorUnderlined() 143 QTextCursor cursor = d->m_description->textCursor(); in setTextCursorColor() 157 QTextCursor cursor = d->m_description->textCursor(); in setTextCursorFont() 169 QTextCursor cursor = d->m_description->textCursor(); in setTextCursorFontSize() 182 QTextCursor cursor = d->m_description->textCursor(); in addImageToDescription() 198 QTextCursor cursor = d->m_description->textCursor(); in addLinkToDescription() 201 d->m_description->textCursor().insertText( " " ); in addLinkToDescription() [all …]
|
/dports/x11-toolkits/ctk/CTK-2018-10-29/Libs/Widgets/ |
H A D | ctkConsole.cpp | 720 QTextCursor textCursor = this->textCursor(); in updateCompleter() local 722 this->setTextCursor(textCursor); in updateCompleter() 846 this->textCursor().insertText(text); in printString() 878 this->textCursor().insertText(cmd); in printCommand() 1017 QTextCursor textCursor = this->textCursor(); in insertFromMimeData() local 1019 this->setTextCursor(textCursor); in insertFromMimeData() 1039 QTextCursor textCursor = this->textCursor(); in pasteText() local 1045 textCursor.removeSelectedText(); in pasteText() 1073 textCursor.insertText(text); in pasteText() 1131 QTextCursor tc = d->textCursor(); in setShellFont() [all …]
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtquickcontrols2/examples/quickcontrols2/texteditor/ |
H A D | documenthandler.cpp | 137 QTextCursor cursor = textCursor(); in fontFamily() 154 QTextCursor cursor = textCursor(); in textColor() 171 QTextCursor cursor = textCursor(); in alignment() 181 QTextCursor cursor = textCursor(); in setAlignment() 188 QTextCursor cursor = textCursor(); in bold() 204 QTextCursor cursor = textCursor(); in italic() 220 QTextCursor cursor = textCursor(); in underline() 236 QTextCursor cursor = textCursor(); in fontSize() 248 QTextCursor cursor = textCursor(); in setFontSize() 354 QTextCursor DocumentHandler::textCursor() const in textCursor() function in DocumentHandler [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/qt3support/text/ |
H A D | q3multilineedit.cpp | 161 return textCursor()->paragraph() == document()->lastParagraph() && textCursor()->atParagEnd(); in atEnd() 173 … return textCursor()->paragraph() == document()->firstParagraph() && textCursor()->atParagStart(); in atBeginning() 291 document()->setSelectionEnd(Q3TextDocument::Standard, *textCursor()); in insertAndMark() 317 if (!textCursor()->paragraph()->prev() && in backspace() 318 textCursor()->atParagStart()) in backspace() 369 document()->setSelectionEnd(Q3TextDocument::Standard, *textCursor()); in setCursorPosition() 377 return QPoint(textCursor()->x(), textCursor()->y() + textCursor()->paragraph()->rect().y()); in cursorPoint()
|