Python Forum
[PyGUI] [Solved]Help storing in user input from line edit
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGUI] [Solved]Help storing in user input from line edit
#3
(May-12-2022, 12:11 PM)deanhystad Wrote: Are you trying to get the code when the control loses focus (user is no longer on that line)? To do that you can bind a function to the "editingFinished()" signal. But you don't need to do that for your login screen. You don't care what is typed in the screen until the user presses the login button. You need to bind a function to the clicked() signal of the button, and in that function call self.NameInput.text() to get the text that was typed into the NameInput QLineEdit.

Thanks. That helped. I got it to work now.
Reply


Messages In This Thread
RE: Help storing in user input from line edit - by Extra - May-12-2022, 07:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] [Solved]Change text color of one line in TextBrowser Extra 2 5,013 Aug-23-2022, 09:11 PM
Last Post: Extra
  Convert combobox user input in to date with tkinter Ame 8 6,861 Jul-01-2020, 09:40 PM
Last Post: Yoriz
  Create an identification code from user input PeroPuri 1 1,933 Apr-11-2020, 11:56 AM
Last Post: Larz60+
  [PyQt] Python PyQt5 - Change label text dynamically based on user Input ppel123 1 13,842 Mar-20-2020, 07:21 AM
Last Post: deanhystad
  PyQt5: How do you set the user input of a line edit to a specific variable? YoshikageKira 17 11,914 Dec-26-2019, 03:18 PM
Last Post: Denni
  [Tkinter] Is there a way to sleep without stopping user input? GalaxyCoyote 2 2,170 Oct-23-2019, 06:23 PM
Last Post: Denni
  [Tkinter] Registering user's drop down menu choice and finding corresponding line in files ShadeLily 2 2,055 Oct-03-2019, 06:28 PM
Last Post: joe_momma
  [Tkinter] help please, checking the user input and outputting the result tomkovladko 3 2,782 Mar-05-2019, 08:58 PM
Last Post: joe_momma
  [PyGUI] Hi All, how to hide/mask user input in PySimpleGUI nmrt 1 15,015 Sep-21-2018, 09:59 AM
Last Post: nmrt
  PyQt4 get text from line edit into label on button push iFunKtion 2 21,869 Feb-27-2017, 12:14 PM
Last Post: iFunKtion

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020