Results 1 to 6 of 6

Thread: mac os dialog effect?

  1. #1
    Join Date
    May 2009
    Posts
    21
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default mac os dialog effect?

    Hi,

    is it possible to give a child dialog the "mac os effect", or i don't know how to call it, where the dialog appears from the title of the mainwindow and scrolls down, like in the attached picture...

    I saw htis also in qt designer! Is it possible?
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: mac os dialog effect?

    if you saw this in qt designer than you can always look at its code...
    btw its very much possible to do it.

  3. #3
    Join Date
    May 2009
    Posts
    21
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: mac os dialog effect?

    Quote Originally Posted by MrDeath View Post
    if you saw this in qt designer than you can always look at its code...
    btw its very much possible to do it.
    thanks for the answer but
    before i spend 1 hour looking to the src code, does anyone know more?

  4. #4
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: mac os dialog effect?

    Look into sheets and drawers.

  5. #5
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: mac os dialog effect?

    It is possible, have a look at this Qt Quarterly article explaining how to do it. What you are looking for is the "Qt::Sheet" flag.

  6. The following user says thank you to rexi for this useful post:

    0xl33t (3rd August 2009)

  7. #6
    Join Date
    May 2009
    Posts
    21
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: mac os dialog effect?

    Quote Originally Posted by rexi View Post
    It is possible, have a look at this Qt Quarterly article explaining how to do it. What you are looking for is the "Qt::Sheet" flag.
    yay! thanks!!!

Similar Threads

  1. Issue with Modelless dialog on Mac
    By Satyanarayana Chebrolu in forum Qt Programming
    Replies: 0
    Last Post: 24th February 2009, 11:10
  2. Dialog is not closing
    By manmohan in forum Newbie
    Replies: 5
    Last Post: 1st December 2008, 18:04
  3. Replies: 9
    Last Post: 13th August 2008, 19:07
  4. Resizing the dialog boxes
    By anju123 in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2007, 11:41
  5. QGraphicsView: Dialog Position Doubt
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 6th August 2007, 18:48

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.