Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Could I use QWidget and qml together?
Forum Updated to NodeBB v4.3 + New Features

Could I use QWidget and qml together?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.3k Views 1 Watching
  • 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 Offline
    S Offline
    stereomatching
    wrote on 3 Jul 2013, 02:07 last edited by
    #1

    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
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 3 Jul 2013, 07:59 last edited by
      #2

      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
      0
      • S Offline
        S Offline
        stereomatching
        wrote on 4 Jul 2013, 00:26 last edited by
        #3

        [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
        0

        1/3

        3 Jul 2013, 02:07

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved