qtextedit no line break 1

qtextedit no line break

// QTextEdit  -> lineWrapMode:NoWrap

Here is what the above code is Doing:
1. Create a QApplication object.
2. Create a QWidget object.
3. Create a QVBoxLayout object.
4. Create a QTextEdit object.
5. Create a QPushButton object.
6. Add the QTextEdit object to the QVBoxLayout object.
7. Add the QPushButton object to the QVBoxLayout object.
8. Set the QWidget object’s layout to the QVBoxLayout object.
9. Show the QWidget object.
10. Execute the QApplication object.

Similar Posts