Results 1 to 1 of 1

Thread: Add Item in QDIRMODEL + QTREEVIEW

  1. #1
    Join Date
    Mar 2010
    Posts
    54
    Qt products
    Qt/Embedded
    Platforms
    Symbian S60

    Default Add Item in QDIRMODEL + QTREEVIEW

    Hi
    I have a QDIRMODEL getting displayed in QTREEVIEW.
    I am facing a issue where I need to create a shortcut link for the browsed directory and add it as a link to the treeview
    I have created the shortcut link
    using the QFILE ::LINK api
    but am not able to add the link in the qdirmodel
    The image for the flow is attached

    1) Initial Page -mainwindow1
    2) By pressing the "+" button , window2 comes up
    3) By pressing the "browse" button, the treeview of the filesystem model comes
    4) By pressing any item in the view, the name and location gets displayed , window4.png
    5) Now by pressing the OK button , the directory that came above has to be aaded in the tree
    "My Gallery" ( displayed in mainwindow)
    Attached Images Attached Images

Similar Threads

  1. QTreeView and QDirmodel 's problem?
    By ggs0110 in forum Qt Programming
    Replies: 8
    Last Post: 31st July 2012, 13:11
  2. QDirModel, QTreeView, and QListView
    By gimmejimmy in forum Newbie
    Replies: 2
    Last Post: 24th June 2009, 07:41
  3. QDirModel and QTreeView cut and paste
    By Micawber in forum Qt Programming
    Replies: 4
    Last Post: 28th May 2008, 21:16
  4. QDirModel and a QTreeView.
    By jamd in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2006, 10:41
  5. QDirModel and QTreeView
    By ChMaster in forum Qt Programming
    Replies: 8
    Last Post: 13th April 2006, 21:27

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.