Results 1 to 3 of 3

Thread: QTableView and changing how a cell displays its contents

  1. #1
    Join Date
    Oct 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QTableView and changing how a cell displays its contents

    Hi, anyone worked with Oracle databases or binary database datatypes?

    Im implementing a QTableview with a QSqlQueryModel which can potentially select tables with datatypes of RAW and BLOB/CLOB. QTableView displays these types with garbage, but I have a better idea on how to decode them and display them accordingly. How would one go about this?

    In the mean time, I am rewriting this using a QTableWidget and QSqlQury and building in some caching and some performance tweaks in favour of more control over displaying my data. It's quite a bit of extra work and Im wondering if Im just wasting my time in lieu of an easier method with QTableView.

  2. #2
    Join Date
    Sep 2009
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QTableView and changing how a cell displays its contents


  3. #3
    Join Date
    Oct 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTableView and changing how a cell displays its contents

    Quote Originally Posted by toroman View Post
    Ever heard of delegates?
    Only in passing, nothing which stood out to say 'look at me!!!'
    Thanks, I'll check it out.

Similar Threads

  1. Replies: 5
    Last Post: 25th February 2010, 17:29
  2. Changing column order in QTableView
    By Banjo in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2008, 06:49

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.