Results 1 to 18 of 18

Thread: qwidget into QML

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qwidget into QML

    hi all,

    I'm trying to put a treeview in my QML application.
    The last thing i was trying was to put a qwidget (QTreewidget) into my QML file.
    so i used qmlRegisterType, and have :

    javascript Code:
    1. import QtQuick 1.0
    2. import Test 1.0
    3.  
    4. Rectangle {
    5. id:ttt
    6. width: 360
    7. height: 360
    8. CustomTree{
    9. id:customW
    10. parent:ttt
    11. // anchors.fill: parent
    12. }
    13. }
    To copy to clipboard, switch view to plain text mode 

    as my QML file but nothing happens
    can someone help me ?
    Last edited by wysota; 15th August 2011 at 14:52. Reason: missing [code] tags

Similar Threads

  1. Replies: 1
    Last Post: 30th October 2010, 12:28
  2. Replies: 1
    Last Post: 16th September 2010, 15:57
  3. Replies: 1
    Last Post: 12th April 2010, 12:55
  4. Replies: 3
    Last Post: 1st April 2010, 23:56
  5. Replies: 1
    Last Post: 2nd May 2006, 21:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.