Results 1 to 4 of 4

Thread: Inactive window Updation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    68
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Inactive window Updation

    Hi,

    I have a requirement wherein, i need the handler for the main window of the application.
    For this i have used the code snippet,
    Qt Code:
    1. dial=(Ui_Dialog *)qApp->activeWindow();
    To copy to clipboard, switch view to plain text mode 
    (Ui_Dialog being the main window of application)

    This has one problem the data is not updated if the window is Inactive.
    Can anyone suggest what is to be done for this ?
    Last edited by jpn; 1st April 2008 at 07:06. Reason: missing [code] tags

Similar Threads

  1. Set a window as child at runtime
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2007, 09:30
  2. Change shape of window / animate window
    By sabeesh in forum Qt Programming
    Replies: 3
    Last Post: 31st October 2007, 08:16
  3. Replies: 1
    Last Post: 11th September 2007, 13:34
  4. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  5. ToolWidgets disappear when window inactive
    By Moppel in forum Qt Programming
    Replies: 7
    Last Post: 5th January 2007, 21:50

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.