Results 1 to 2 of 2

Thread: QTable..Vs.. QListView

  1. #1
    Join Date
    Feb 2006
    Posts
    51
    Thanks
    7

    Default QTable..Vs.. QListView

    Hello there,

    I need ur piece of advice on a matter as follows:

    I have a QTable with cols and rows and each row has a icon and text. I want to drag the icons and drop it in a listview. this is possible but in order to drag something with qtable, u should first select the row and then drag. is it possible in qtable to not select but just drag and drop???

    I have another option to use qlistview but that means that i should implement the whole concept once again converting qtable to qlistview.

    give me some hint or advice on this matter.

    thanx,
    Love::Peace

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: QTable..Vs.. QListView

    Which version of Qt are you using? If you're using 3, then QListView fits better for what you want to do. If using Qt4, QTreeWidget is basically the same as QListView in Qt 3. QTable is for making a spreadsheet-like application.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. QListView: How to move the cursor to a specific row
    By muellerp in forum Qt Programming
    Replies: 2
    Last Post: 21st November 2008, 07:29
  2. how to move item up and down in QListView
    By zhanglr in forum Qt Programming
    Replies: 3
    Last Post: 1st August 2008, 14:39
  3. QListView word wrap
    By serega in forum Qt Programming
    Replies: 17
    Last Post: 30th August 2007, 03:13
  4. QDialog / QListView problem
    By harakiri in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2007, 18:31
  5. Subclass QListView to show two colums in one
    By Mookie in forum Qt Programming
    Replies: 2
    Last Post: 23rd June 2007, 02:12

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.