Thank you! What I try to develop is a full feature HTML editor just like
Windows Live Writer. QTextEdit seems only support a subset of HTML
and you have to render all unsupported tags by yourself, so I chose
QtWebkit.
2012/8/8 Jason H
> There are also is some capabilities built into old school Q
Thanks! I saw this example before. There is the same problem as I met.
If you clear editing area and type something, you will got some HTML
code like:
http://www.w3.org/TR/html4/strict.dtd";>
HTML Editor Demo
hey
in which I just write hey and I want to get
hey
as simple.
Thank you again!
There are also is some capabilities built into old school Qt using
QTextDocument, not needing WebKit
From: Josiah Bryan
To: 程梁 ; interest@qt-project.org
Sent: Tuesday, August 7, 2012 10:35 PM
Subject: Re: [Interest] How to develop a WYSIWYG HTML editor based
Have you seen http://labs.qt.nokia.com/2009/03/12/wysiwyg-html-editor/? I'm
not sure if the example there will help with your problems at all. Just a
guess, though - for your item #1 - the blog references using javascript
code from c++ to interact. You could easily write a javascript function
(heck
Hi, there!
I'm trying to develop a WYSIWYG HTML editor based on QtWebkit, but nowadays
I found some problems:
1. The HTML source code generated by QWebFrame::toHtml() is rather complex,
for example, it will add a style in which is not necessary. Could
I generate
the HTML source code by myself? I
> From: Jason H
>Sent: Tuesday, August 7, 2012 4:03 PM
>Subject: Re: [Interest] Questions about QGraphicsWidget
> >"Converting the parent QGraphicsWidget to be derived from
> > QGraphicsItemGroup also removes the ability to add a nice little
> > management layer with signals and slots; it also
"Converting the parent QGraphicsWidget to be derived from
QGraphicsItemGroup also removes the ability to add a nice little
management layer with signals and slots; it also removes the parent
widget from being able to be added to a QGraphicsLayout."
Why and why? You might have to map a event coo
> From: BRM
>Subject: Re: [Interest] Questions about QGraphicsWidget
>> From: Jason H
>>To: BRM ; Interests Qt
>>Subject: Re: [Interest] Questions about QGraphicsWidget
>>First, there is QGraphicsItemGroup, which would probably do what you want,
>>and automatically provides a boundingRect() a
> From: Jason H
>To: BRM ; Interests Qt
>Subject: Re: [Interest] Questions about QGraphicsWidget
>I think you're kinda thinking about it wrong.
You're right - I probably am. I'm quite use to QWidget still, and trying to get
my head around some of the differences for QGraphics.
>First, the
I think you're kinda thinking about it wrong.
First, there is QGraphicsItemGroup, which would probably do what you want, and
automatically provides a boundingRect() as the unsion of all child bounding
rects.
When custom drawing your item always draw it "native" resolution. let the Scene
work o
On 08/07/2012 12:36 PM, BRM wrote:
> I'm working on a QGraphicsWidget version of something I already have a
> QWidget version of; namely because I need to add some features where I need
> to overlay items, lines, and text in a way that QWidget does not support
You can also overlay your existing
I'm working on a QGraphicsWidget version of something I already have a QWidget
version of; namely because I need to add some features where I need to overlay
items, lines, and text in a way that QWidget does not support (namely the
addition of the text information) - presently I'm just focused o
2012/7/30 :
> Does QFileDialog::getOpenFileName() in Mountain Lion not work anymore?
>
> If I debug an example with Xcode I get NS* timeouts.
In case you are referring to the example as downloaded from here:
https://bugreports.qt-project.org/browse/QTBUG-21609
That example has *wrong Entitlem
Hi,
I am trying to style a QMenu and add an additional, menu-specific icon
to the left of the actual items in the menu, like in the mockup here:
https://dl.dropbox.com/u/16442531/menumockup.png
I subclassed QMenu to overwrite its paintEvent to render the icon and
the vertical line, which works
14 matches
Mail list logo