Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Check QLineEdit empty
Forum Updated to NodeBB v4.3 + New Features

Check QLineEdit empty

Scheduled Pinned Locked Moved General and Desktop
qt 5.5.0 valida
3 Posts 3 Posters 25.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sachi
    wrote on 1 Sept 2015, 18:04 last edited by
    #1

    Hi i am developing an application which has form with lot of QLineEdit widgets. I need to check is these field empty before submit. is there any way to achieve it

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 1 Sept 2015, 19:56 last edited by
      #2

      Hi,

      myLineEdit->text().isEmpty() should to the job

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • M Offline
        M Offline
        maximus
        wrote on 1 Sept 2015, 19:58 last edited by
        #3

        Hi,

        Have a look at the documentation

        Have a good day,


        Free Indoor Cycling Software - https://maximumtrainer.com

        1 Reply Last reply
        0

        1/3

        1 Sept 2015, 18:04

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved