Results 1 to 20 of 20

Thread: Add Static area to QGraphicsView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    27
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Add Static area to QGraphicsView

    Wysota,

    Thanks for your reply. I thought i had included <QScrollBar>.

    I will have a look later as i am back in work today

    I wish i was a professional developer. its so interesting.

  2. #2
    Join Date
    Feb 2010
    Posts
    27
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Add Static area to QGraphicsView

    SUCCESS !!!!

    it was just missing a <QScrollBar> include.

    I cant thank you guys enough for the help.

    I have now drawn the timebar over the guide and it works beautifully!!

    Thanks,

    Dubstar_04

  3. #3
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanked 342 Times in 324 Posts

    Default Re: Add Static area to QGraphicsView

    I don't understand something, dubstar_04 said that he couldn't compile my example with Qt 4.7, and that #include <QScrollBar> helped. But doesn't #include <QtGui> including all QtGui module classes definitions ? That's what documentation states:
    To include the definitions of both modules' classes, use the following directive:
    #include <QtGui>
    It works without including separate header for QScrollBar on my side (Qt 4.5.2 on windows xp and Qt 4.7.2 on Ubuntu 9.02).

Similar Threads

  1. Replies: 8
    Last Post: 5th April 2011, 10:19
  2. static sight on QGraphicsView
    By thgis in forum Qt Programming
    Replies: 0
    Last Post: 7th October 2010, 08:55
  3. Replies: 1
    Last Post: 9th December 2009, 08:44
  4. Putting static controls on top of QGraphicsView
    By durbrak in forum Qt Programming
    Replies: 3
    Last Post: 10th September 2007, 12:51
  5. Replies: 4
    Last Post: 14th February 2006, 21:35

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
  •  
Qt is a trademark of The Qt Company.