Results 1 to 2 of 2

Thread: How to trap an QLCD overflow?

  1. #1
    Join Date
    Jan 2006
    Location
    11 N 78 E
    Posts
    110
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to trap an QLCD overflow?

    The Qt 4.10 tutorial lesson 5 says:

    Try to make the application quit when the LCD number overflows.

    I could not think of a solution. Can you kindle my imagination? Thanks.
    Penguin #395953 using Qt for open-source development on X11 using C++ and
    Python via PyQt

  2. #2
    Join Date
    Feb 2006
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to trap an QLCD overflow?

    You must connect slot overflow() with signal quit(), like QPushButton.

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.