Results 1 to 4 of 4

Thread: Stack object on top of one other

  1. #1
    Join Date
    Aug 2011
    Location
    Germany
    Posts
    27
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Stack object on top of one other

    I'm looking for a method to stack one object on top of another one.
    I want to show a progess-bar on top of a qwt plot (this should say inside the plot area) when data is loaded.

    What will be the best way to do so?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Stack object on top of one other

    If you really don't want to use QProgressBar then I guess you create your progress widget with the Qwt plot as parent, raise and absolutely position it. What have you tried?

  3. #3
    Join Date
    Aug 2011
    Location
    Germany
    Posts
    27
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Stack object on top of one other

    I didn't try anything yet because I don't have any clue what to do.
    Indeed, it is possible to use QProgressBar - this was my first intention. But I don't know how to place this widget on top of my qwt-plot-widget. That is my problem.

    Furthermore I don't really understand what you want to tell me in your post about a progress widget with Qwt plot as parent. At least, I still don't know how to display the progress bar.

  4. #4
    Join Date
    Aug 2011
    Location
    Germany
    Posts
    27
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Stack object on top of one other

    Ok, I have found the QStackedLayout. This works fine!

Similar Threads

  1. Replies: 4
    Last Post: 15th July 2011, 18:31
  2. SIP stack implemented with Qt
    By iaguirre in forum Qt-based Software
    Replies: 0
    Last Post: 26th January 2011, 16:19
  3. QObject in stack...??
    By joseph in forum Qt Programming
    Replies: 11
    Last Post: 30th October 2007, 08:17
  4. stack, heap and C#
    By mickey in forum General Programming
    Replies: 8
    Last Post: 20th August 2007, 18:40
  5. stack
    By mickey in forum General Programming
    Replies: 7
    Last Post: 20th November 2006, 14:15

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.