Results 1 to 3 of 3

Thread: Graphical representation of an array

  1. #1
    Join Date
    Mar 2010
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Graphical representation of an array

    Hi guys,
    I'm writing a little app in Qt now but I have ummm...a concept problem.
    I need to graphically represent a data from i.e. int array to looks like this example:

    Qt Code:
    1. int example_tab[11]={2,3,5,56,8,12,1,0,0,15,3};
    To copy to clipboard, switch view to plain text mode 

    (i know, i know...but i made it by hands and fast so...it's not a point ;P)

    Have you any ideas or adivces how can i do that?
    regards,

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Graphical representation of an array

    Do you want to use the graphic classes or just show it graphically? With the later you can use a Qt View class with columns to show the contents.

  3. #3
    Join Date
    Mar 2010
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Graphical representation of an array

    I need to use graphic class be couse arrays are only one type of elements i want to show

Similar Threads

  1. graphical demonstration of .cpp qt files
    By navid in forum Newbie
    Replies: 1
    Last Post: 8th January 2010, 13:18
  2. graphical line
    By eleanor in forum Qt Programming
    Replies: 3
    Last Post: 3rd July 2008, 11:09
  3. Tree related representation
    By aegis in forum Qt Programming
    Replies: 1
    Last Post: 12th August 2007, 13:20
  4. Replies: 1
    Last Post: 2nd April 2007, 23:52
  5. Replies: 12
    Last Post: 7th February 2007, 14:30

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.