Python Forum
[PyQt] Button clicked not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] Button clicked not working
#6
(Jul-26-2021, 03:30 PM)Axel_Erfurt Wrote:
    os.system('python -m PyQt5.uic.pyuic PI_GUI_App_Map.ui -o PI_GUI_App_Map.py')
Do that once (in a terminal)and remove this line.

Without knowing the code of PI_GUI_App_Map and PI_GUI_Funcc and count.txt it is difficult to help.

Thanks for replying.

yes, I have tried that (without os.system()).
PI_GUI_App_Map.py is transformed from the ui file.
PI_GUI_Func includes a class to start up a child thread.
count.txt is a file created by another equipment, which is monitored by this program to see when it changes (basically just 1, 2, 3...).
The py files are attached.

Many thanks

Attached Files

.py   PI_GUI_Func.py (Size: 1.79 KB / Downloads: 117)
.py   PI_GUI_App_Map.py (Size: 8.15 KB / Downloads: 112)
.py   AppMap_setup.py (Size: 5.95 KB / Downloads: 113)
Reply


Messages In This Thread
Button clicked not working - by catlessness - Jul-23-2021, 05:02 PM
RE: Button clicked not working - by Axel_Erfurt - Jul-23-2021, 05:58 PM
RE: Button clicked not working - by catlessness - Jul-26-2021, 01:11 PM
RE: Button clicked not working - by catlessness - Jul-26-2021, 01:26 PM
RE: Button clicked not working - by Axel_Erfurt - Jul-26-2021, 03:30 PM
RE: Button clicked not working - by catlessness - Jul-26-2021, 04:55 PM
RE: Button clicked not working - by catlessness - Jul-26-2021, 04:59 PM
RE: Button clicked not working - by Axel_Erfurt - Jul-26-2021, 08:54 PM
RE: Button clicked not working - by catlessness - Jul-30-2021, 01:30 PM
RE: Button clicked not working - by deanhystad - Jul-30-2021, 07:00 PM
RE: Button clicked not working - by catlessness - Oct-21-2021, 12:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Button to +1 in text box everytime it's clicked martyloo 2 196 May-02-2024, 10:30 AM
Last Post: lillydalson
  [Tkinter] Hide clicked buttons Rubberduck 6 3,637 Jun-02-2021, 12:44 PM
Last Post: Rubberduck
  [tkinter] not getting checkbutton value when clicked OogieM 5 6,208 Sep-20-2020, 04:49 PM
Last Post: deanhystad
  [PyQt] Avoid clicked event from button when button is not physically selected and clicked mart79 2 2,379 May-05-2020, 12:54 PM
Last Post: mart79
  Closing window on button click not working kenwatts275 4 3,843 May-03-2020, 01:59 PM
Last Post: deanhystad
  [Tkinter] Displaying Data from a database and run a function when clicked? PythonNPC 1 2,093 Mar-11-2020, 08:16 PM
Last Post: Larz60+
  tkinter button not accessing the command when clicked jhf2 1 3,630 Nov-23-2019, 10:17 PM
Last Post: DT2000
  [Tkinter] How to check after 30 minutes if Buttons have been clicked? bmghafoor 1 2,126 Aug-09-2019, 04:57 PM
Last Post: Yoriz
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 5,066 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp
  Hide button when clicked frequency 2 8,858 Dec-24-2018, 02:10 PM
Last Post: frequency

Forum Jump:

User Panel Messages

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