Results 1 to 3 of 3

Thread: Qmessagebox With FIXED Location & Non-TRANSPARENT ????

  1. #1
    Join Date
    Jul 2012
    Posts
    40
    Qt products
    Qt4 Qt/Embedded

    Default Qmessagebox With FIXED Location & Non-TRANSPARENT ????

    HI all,

    i am able to have QMessageBox with FIXED SIZE and BUTTONS in it ,and able to provide slots to those buttons.....but i am not getting how to make the QMessageBox at FIXED LOCATION(i.e : window should not be movable) & with NON-TRANSPARENT property.....

  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: Qmessagebox With FIXED Location & Non-TRANSPARENT ????

    Quote Originally Posted by sai_3289 View Post
    i am able to have QMessageBox with FIXED SIZE and BUTTONS in it ,and able to provide slots to those buttons.....
    Congratulations By the way, there's NO NEED TO YELL, we can all read lower case.
    but i am not getting how to make the QMessageBox at FIXED LOCATION(i.e : window should not be movable) & with NON-TRANSPARENT property.....
    Well, given that widgets are, by default, not transparent that should be a no-brainer.
    If you do not want the message dialog to move then take away the frame with the Qt::FramelessWindowHint in QWidget::setWindowFlags(). If you really want, you can subclass QMessageBox and handle the moveEvents() yourself.

  3. #3
    Join Date
    Jul 2012
    Posts
    40
    Qt products
    Qt4 Qt/Embedded

    Default Re: Qmessagebox With FIXED Location & Non-TRANSPARENT ????

    it's not a problem how i post.....but i should be clear in explaining what my Actually PROBLEM is....

    okay..thanks for the reply....

Similar Threads

  1. the pop up location of dialog
    By stella1016 in forum Qt Programming
    Replies: 3
    Last Post: 1st July 2011, 15:47
  2. Replies: 0
    Last Post: 25th August 2010, 17:39
  3. Replies: 2
    Last Post: 31st May 2010, 11:57
  4. Non-transparent QWidget on semi-transparent parent
    By EuroElessar in forum Qt Programming
    Replies: 0
    Last Post: 29th August 2008, 16:20
  5. Transparent background on QLabel on transparent QWidget
    By codeslicer in forum Qt Programming
    Replies: 1
    Last Post: 13th February 2008, 02:10

Tags for this Thread

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.