Results 1 to 5 of 5

Thread: how to animate a subclassed widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to animate a subclassed widget

    With Qt 4.3.x you can use the standard widget geometry functions: QWidget::move(), QWidget::resize().
    Keep in mind that the parent widget must not have a layout manager in order for you to manually mode the widget.
    Also, you will only be able to translate and resize the widget. No skew or rotation.

    In 4.4.x you will be able to add widgets in a QGraphicsScene and apply all transformations you usually apply to QGraphicsItems.
    See http://labs.trolltech.com/blogs/2007/12/19/q/ and http://trolltech.com/products/qt/whatsnew/qt44-preview

  2. The following user says thank you to marcel for this useful post:

    babu198649 (31st December 2007)

Similar Threads

  1. Replies: 3
    Last Post: 17th October 2007, 12:52
  2. transparent background of the main widget
    By nagpalma in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2007, 17:52
  3. Controlling which widget on top layer?
    By JonathanForQT4 in forum Qt Programming
    Replies: 6
    Last Post: 22nd March 2007, 14:27
  4. Pin/Unpin Dock Widget
    By charlesD in forum Newbie
    Replies: 1
    Last Post: 21st June 2006, 06:57
  5. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16

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.