Results 1 to 3 of 3

Thread: how to stop the user inputting to QTextEdit when user hit enter

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to stop the user inputting to QTextEdit when user hit enter

    Disable the lineEdit / textEdit , simple

  2. #2
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Red face Re: how to stop the user inputting to QTextEdit when user hit enter

    in line edit i use return pressed signal for a slot and there i disabled the lineedit after the Qwebview returns loadcomplete signal i again enabled it

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.