PDA

View Full Version : Resizing an image with mouse / display a video in QTextBrowser



saurroth1
26th October 2011, 12:14
Hi guys,

I'm creating a WYSIWYG texteditor for a larger application. Now i have two questions:

1) I have a QTextBrowser and insert images. These images should be resizable when you click on the right corner, like in Word. Is this possible with a QTextBrowser or do i need another widget? If so, which one? I found this thread (http://www.qtcentre.org/threads/41168-Resize-image-with-mouse), but i hope it's not the only solution.

2) I want to insert videos in the same widget. Is there something like a 'QMediaWidget' which can be placed in a TextBrowser?

thanks in advance
saurroth

Bareos
16th November 2011, 12:20
Hi.
I'm on the same Problem and informations are very rare. I started a Thread in the Qt Developer Network. Somebody posted a nice idea to get the Position and Size of Images in a QTextEdit. There are still some problems but maybe it leads in the right direction.

http://developer.qt.nokia.com/forums/viewthread/11509/

Salwa
31st January 2019, 10:32
@Bareos
the link is no more available
did you have another one?