Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6091049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:16:59+00:00 2026-05-23T12:16:59+00:00

i using pyqt develop a dialog, and a LineEidt some like below, but i

  • 0

i using pyqt develop a dialog, and a LineEidt
some like below, but i can’t get anything from lineEdit1:

lineEdit1 = QtGui.QLineEdit()
lineEdit1.setEchoMode(2)
passWord = lineEdit1.text()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:17:00+00:00Added an answer on May 23, 2026 at 12:17 pm
    lineEdit1 = QtGui.QLineEdit()
    lineEdit1.setEchoMode(2)
    passWord = lineEdit1.text()  
    

    of course you can’t get anything, because when lineEdit1.text() is executed, I believe there is no characters input into lineEdit1.
    You should call passWord = lineEdit1.text() by some action when the input is over, for example, click a button.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using pyqt to do this so how can I get the coordinates
I'm starting a basic application using Python and PyQt and could use some experienced
I'm having some trouble in using PyQt/SIP. I guess the SIP is compiled into
I'm using PyQt to create a GUI application. In a view inherited from QTableView,
I am using PyQt for a project. But not all of a sudden I
I need to make a timeline like this: using PyQt for the gui. Basically,
I'm developing a qtwebkit based editor on linux using pyqt. I would like to
Recently I'm writing a program using Qt(PyQt)'s QTableView. But I find that the current
I am looking to create a QTcpServer using PyQt that can simultaneously return data
I'm using PyQt 4.4. It's best shown using some pictures. All nodes should have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.