[PyQt] Documentation Style (Was: PyQt4 feature request)

Andreas Pakulat apaku at gmx.de
Sun Mar 8 14:02:36 GMT 2009


On 08.03.09 12:32:37, Antonio Valentino wrote:
> Il giorno Sun, 8 Mar 2009 12:04:51 +0100
> Detlev Offenbach <detlev at die-offenbachs.de> ha scritto:
> 
> > On Sonntag, 8. März 2009, Antonio Valentino wrote:
> > > Il giorno Sun, 8 Mar 2009 10:40:38 +0100
> > >
> > > Detlev Offenbach <detlev at die-offenbachs.de> ha scritto:
> > > > Hi,
> > > >
> > > > I think the Sphinx style should be prefered. As far as I know
> > > > (please confirm) Sphinx has the capability to generate Qt Help
> > > > files (*.qch) as well. If that is true, one could satisfy both
> > > > parties.
> > > >
> > > > Regards,
> > > > Detlev
> > >
> > > Detlev,
> > > as far as I know QtAssistant don't fully support style-sheets
> > > bundled with Sphinx (please correct me if I'm wrong) so results you
> > > can achieve running sphinx out of the box to produce Qt docs are
> > > very poor.
> > 
> > Since Qt4.4 QtAssistant uses webkit based widgets. Eric uses these
> > widgets as well and it will support QtHelp starting with the first
> > 4.4 snapshot.
> 
> Great!
> 
> .. but, just a question, what described in 
> 
> http://doc.trolltech.com/4.4/richtext-html-subset.html
> 
> applies or not to QtAssistant?

It applies to the QTextEdit class, but QtAssistant (from 4.4) doesn't use
that. It uses QWebView&Co which use Webkit behind the scenes for rendering.
So its basically a full HTML browser nowadays.

Andreas

-- 
Today is the first day of the rest of your life.


More information about the PyQt mailing list