Results 1 to 3 of 3

Thread: scrolling like a spreadsheet

  1. #1
    Join Date
    Feb 2006
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Windows

    Default scrolling like a spreadsheet

    I'm trying to imitate a spreadsheet where the heading and left labels are always visible, but scroll with the main sheet. I've tried scrollview, but there's no way I've seen that you can keep one side or top visible.

    Does anybody know if Qt has any options in scrollview or some other class that will allow me to do that? Thanks for any help.

    Cheers,
    Math

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    99
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: scrolling like a spreadsheet

    imitate a spreadsheet where the heading and left labels are always visible
    Do you mean the first cells or the headers?

    If you want headers, then have a look at :

    The book " C++ GUI Programming with Qt 3"

    which has an example on how to implement a spreadsheet.

    You can get it at :
    http://phptr.com/promotions/promotio...4&redir=1&rl=1

    Cheers

  3. #3
    Join Date
    Feb 2006
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: scrolling like a spreadsheet

    Yes, I've seen the example with the spreadsheet. However, I don't actually want a spreadsheet, just the scrolling ability where the top is always visible but scrolls left/right and the left is always visible but scrolls up/down. I don't actually want the cells. Think of the top, left, and viewport as 3 separate widgets.

    Cheers,

    Math

Similar Threads

  1. Replies: 5
    Last Post: 1st January 2009, 03:30
  2. Custom scrolling of QGraphicsView
    By hb in forum Qt Programming
    Replies: 0
    Last Post: 12th August 2008, 10:10
  3. QScrollbar show scratching on scrolling on any widget
    By santosh.kumar in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2008, 05:58
  4. ScrollBar inside QTreeWidget is Blurring on Scrolling
    By santosh.kumar in forum Qt Programming
    Replies: 0
    Last Post: 11th April 2008, 14:33
  5. QGraphicsView scrolling problem with 4.3.0
    By hb in forum Qt Programming
    Replies: 8
    Last Post: 30th August 2007, 22:18

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.