Results 1 to 3 of 3

Thread: elements not updated

  1. #1
    Join Date
    Mar 2009
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default elements not updated

    Hi,

    I have a form with simple labels and lien edit elements, a button and a progress bar. When I click the button an operations begins and the progress is shown in progress bar. The problem is that when I click on the button, before the progress begin, I set texts in labels and line edits, but nothing happens until the whole process is done (progress bar reaches 100%) and then elements will be updated. I tried to "connect" labels and line edit elements to "signal" which emitted from button when is clicked but it didn't work. I think I connected the signal to wrong slot how maybe wrong signal at the beginning! Any idea?

    D.

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

    Default Re: elements not updated

    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.


  3. #3
    Join Date
    Mar 2009
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: elements not updated

    Thanks. Thats exactly what I needed.

    D.

Similar Threads

  1. accessing table elements in Qt
    By awanish_jmi in forum Newbie
    Replies: 5
    Last Post: 28th July 2008, 12:51
  2. Replies: 2
    Last Post: 20th September 2007, 19:37
  3. Sorting elements in QTableWidget
    By Elmo23x in forum Qt Programming
    Replies: 3
    Last Post: 24th January 2007, 08:35
  4. about QHash elements order
    By bruce1007 in forum Qt Programming
    Replies: 2
    Last Post: 25th August 2006, 07:17
  5. memset struct with QString elements
    By Timewarp in forum Qt Programming
    Replies: 2
    Last Post: 5th February 2006, 01: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.