Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Could I use QWidget and qml together?

    QML and Qt Quick
    2
    3
    1096
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stereomatching last edited by

      I want to use QTextBrowser to create a simple help engine
      How could I open a QWidget from qml?

      something like
      @
      import QtQuick 2.1

      import Help 1.0

      Rectangle {
      width: 100
      height: 62

      HelpBrowser{id: helpBrowser}
      
      MouseArea{
          anchors.fill: parent
      
          onClicked: {
              helpBrowser.showBrowser()
          }
      }
      

      }

      @

      Or there exist easier solution in qml?

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        See "this blog post":http://blog.qt.digia.com/blog/2013/06/21/overview-of-the-new-features-in-qt-quick/?utm_source=rss&utm_medium=rss&utm_campaign=overview-of-the-new-features-in-qt-quick, especially "Exposing the text document to C++".

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • S
          stereomatching last edited by

          [quote author="sierdzio" date="1372838349"]See "this blog post":http://blog.qt.digia.com/blog/2013/06/21/overview-of-the-new-features-in-qt-quick/?utm_source=rss&utm_medium=rss&utm_campaign=overview-of-the-new-features-in-qt-quick, especially "Exposing the text document to C++".[/quote]

          Thanks, I try the example, but looks like it do not support QTextBrowser yet
          Do QTextDocument support the hyperlink in html?
          Not just make the text "rich" but also redirect the page to
          the specific location(local or network)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post