Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102077

[QLiteHtml] Allow access to "litehtml::document::ptr" or provide additional features

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.4
    • Tools: Assistant
    • None
    • All

    Description

      I bundle playground/qlitehtml in my project.

      https://github.com/martinrotter/rssguard/pull/669

      So far it lacks some features I would like to have:

      • QLiteHtml has "QLiteHtmlWidget::ResourceHandler" to download embedded resources like pictures or CSS files. It is impossible to tell which case happened as "QLiteHtmlWidget::ResourceHandler" only has "QUrl" as parameter, it should also have parameter to distinguish if this particular request is "picture" or "CSS" - litehtml does provide that information.
      • "QLiteHtmlWidget::contextMenuEvent" raises "QLiteHtmlWidget::contextMenuRequested" signal which includes "QUrl" of link (if it was clicked), but I need more information - if image was clicked, etc. -> I want to show more rich context menu with options like "Copy image" etc.
      • allow user to specify own "master CSS" or completely remove "master CSS"

      I would like to use your upstream QListHtmlWidget, I don't want to completely reimplement it.

      I could provide patches to implement the functionality if needed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            skunkos Martin Rotter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes