qplaintextedit Questions

3

Solved

I'm confused why a QPlainTextEdit widget will not resize vertically when added to a QFormLayout. In the code below the text field correctly scales up horizontally, but does not scale up vertically....
Hifi asked 16/11, 2012 at 11:48

2

Solved

I have a QPlainTextEdit and have some words highlighted in it. Now, when I hover over it with the mouse, I want it to show me a tooltip that has a description or something like that about this high...
Leonteen asked 8/3, 2017 at 17:26

1

Solved

In most code editors, the text highlight does not remove the syntax colors. For example: Visual Studio Sublime Text I would like to simulate this function in the code editor I'm making...
Puckett asked 13/2, 2018 at 0:7

1

Solved

I'm trying to find a way of getting, along with other prints, the result/evolution of a progress bar in a pyqt application, for example in a QPlainTextEdit widget. The problem I'm facing, is that ...
Ewell asked 19/11, 2018 at 20:14

1

Solved

When using the QPlaintextEdit in PyQt5, if I press the Tab button on my keyboard I get a tab space which is equal to size of six spaces together. But I want it to be the size of four spaces, so tha...
Tachygraphy asked 5/5, 2018 at 15:6

1

Solved

I'm making a custom code editor with QPlainTextEdit and QSyntaxHighlighter and I've encountered a glitch. I'd like to preserve syntax highlighting even within a selection. However, colors of the se...
Bream asked 31/1, 2015 at 22:3

1

Problem: I want to implement a text editing widget for text with additional tags. I'd like some tags to be invisible in some cases so that they do not distract the user. Environment: I'm using PyQ...
Jerlenejermain asked 24/1, 2012 at 21:32

4

Solved

I need to append text to QPlainTextEdit without adding a newline to the text, but both methods appendPlainText() and appendHtml() adds actually new paragraph. I can do that manually with QTextCurs...
Bose asked 26/11, 2012 at 6:52

1

Solved

Very small issue: I've written a small IDE with a text editing widget based on a QPlainTextEdit. When you move the mouse over it the cursor becomes a caret/text cursor as expected. If you hit F5 t...
Impanation asked 6/4, 2015 at 22:23

1

Solved

I have a QPlainTextEdit and I'm building a progress dialog for it when opening large files. Rather than using setText, I want to add one line of text at a time by using QTextCursor.insertText. The ...
Ember asked 15/8, 2014 at 5:23

3

Solved

I have a QPlainTextEdit widget in my application which has a QSyntaxHighlighter assigned to it. Upon each content change within that text edit area, I need to get a notification (to update the glob...
Gates asked 27/3, 2014 at 10:55

1

Solved

What's the difference between QTextEdit and QPlainTextEdit, why use one over the other? I'm coding a text editor as an exercice to learn Qt5, and now I'm wondering whether to use QTextEdit or QPla...
Ascogonium asked 4/7, 2013 at 8:57

2

Solved

I have a GUI application whose main part is a QPlainTextEdit. It is used to display a log of the application, and as such the associated text grows line by line ad infinitum. As the application is...
Demerit asked 19/6, 2012 at 9:14

1

Solved

I have a QTabWidget, where each tab has a QPlainTextEdit as its widget. So, how do I access each tab widget? How do I edit that widget?
Intermittent asked 30/12, 2011 at 10:54

2

I would like to automatically scroll to the top in a QPlainTextEdit widget after put in some text. How can I realize that?
Bushcraft asked 2/9, 2011 at 8:30
1

© 2022 - 2024 — McMap. All rights reserved.