Results 1 to 2 of 2

Thread: XML grid view

  1. #1
    Join Date
    Jan 2016
    Qt products
    Unix/X11 Windows

    Default XML grid view

    We have a few config files in XML format and we would like to create a simple XML editor using a XML grid view to provide to our users a simple way to create/modify the XML files.

    To be clearer what I want is something like this online editor can do I have attached a picture of an example.

    I have been thinking doing this using qtreeview and qtableview.

    I would be appreciate if you could give some tips how I could do this.

    xml grid view.jpg

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 582 Times in 572 Posts
    Qt products
    Unix/X11 Windows Android

    Default Re: XML grid view

    There is nothing in the Qt library that will do this out-of-the-box. You'll have to write it yourself, most likely. You could start by looking at the DOM Bookmarks example. There is also the Qt Property Browser framework in the Qt archives. Trust me, this is hard to use. You might also find something in one of the inqlude libraries or on the Linux-Apps page (search for "widgets").

    There is also a commercial product, QTitanDataGrid, that looks to have some of the hierarchical table features your screenshot uses.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. grid view
    By tithi in forum Newbie
    Replies: 1
    Last Post: 28th December 2015, 11:50
  2. center items in Grid View cells
    By joko in forum Qt Quick
    Replies: 5
    Last Post: 26th November 2014, 17:25
  3. Custom widgets in a grid view
    By ada10 in forum Newbie
    Replies: 2
    Last Post: 23rd August 2010, 11:28
  4. Replies: 5
    Last Post: 21st January 2010, 15:55
  5. slider control and combo box in grid view
    By steg90 in forum Qt Programming
    Replies: 13
    Last Post: 21st November 2007, 10:45


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.