0

I noticed that a QTextEdit has zoom in and zoom out slots and using them is very easy. However, I am using a widget that inherits from QPlainTextEdit and QPlainTextEdit has none of them which seems weird to me. I think these two widgets are do the similar jobs.

How can i implement the zoom in and out feature in my widget (which inherits QPlainTextEdit)? Is inheriting both qplaintextedit and qtextedit a good solution?

Thanks in advance.

Barış Akkurt
  • 2,255
  • 3
  • 22
  • 37

1 Answers1

0

I wouldn't suggest multiply inheriting from two different qt text editors, that is a dangerous game. If you need the functionality inherent to the QTextEdit, you should inherit only from this.

DragonDrop
  • 211
  • 6
  • 11