Results 1 to 2 of 2

Thread: Can a QDialog be made to pop out sideways on Maemo ?

  1. #1
    Join Date
    Jun 2010
    Posts
    26
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Can a QDialog be made to pop out sideways on Maemo ?

    I have a question for the gurus out here ... I want to have a QDialog pop out into the screen when show() is executed, but not in the normal down --> up manner .. Instead, I would like to have a vertical-like QDialog pop into the screen from sideways ...

    This picture shows what I mean:



    The bottom center arrow with a cross on it depicts the normal bottom --> up poping method .. how can I instead have vertical QDialogs that pop into view from either the left or right side of the screen ? Is this possible ?

    I've been told that I may need to sub-class QDialog and reimplement show() using QPropertyAnimation .. are there any code examples for doing this ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can a QDialog be made to pop out sideways on Maemo ?

    I think dialogs only pop up from the bottom edge of the screen on Maemo. It's a platform convention unrelated to Qt. If you want your dialog to remain a dialog, you won't be able to change it. Otherwise you might just place a widget on the "main" one (passing it as a parent) and slide it from the edge using an animation. But it will probably look and behave odd (no borders, no blurring the background, no cancelling upon tapping outside the dialog, etc.).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 8
    Last Post: 16th January 2009, 16:10
  2. Replies: 5
    Last Post: 18th March 2008, 09:44
  3. Using QSettings to read pre-made INI file..
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 3rd May 2007, 05:36
  4. Table made from QLabels
    By T4ng10r in forum Qt Programming
    Replies: 1
    Last Post: 25th April 2007, 06:58

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.