Python Forum
[PyQt] enter from py exported by pyqt5 designer to another py file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] enter from py exported by pyqt5 designer to another py file
#1
Hello, I have difficulty entering a py, which I had exported from pyqt5 designer with the name "program.py", using another py with name "programa.py".
Look at the code, please.
program.py
You can execute it, but delete the lines that import the icon.
programa.py
In
self.actionImprimir.triggered.connect(self.helpo)
in this code it makes reference that when I press the button that is related to the other, I execute an impression with the name of:

    def helpo(self,s):
        """"""
        print("hola",s)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QT Designer Krissstian 4 1,720 May-26-2022, 09:45 AM
Last Post: Krissstian
  Qt Designer : help document viewer error. davediamond 2 1,604 Apr-14-2022, 10:38 AM
Last Post: davediamond
  GUI programming PyQt 5 + Qt Designer flash77 9 2,748 Mar-19-2022, 10:31 AM
Last Post: flash77
  [PyQt] QT5 Designer Drawing greenhorn1 1 2,571 Dec-30-2021, 05:12 PM
Last Post: deanhystad
  Installed Designer - Helpf Files for "assistant" are missing Valmont 0 2,011 Mar-22-2021, 11:09 AM
Last Post: Valmont
  Using a GUI Designer vs. hard coding 357mag 9 6,103 Feb-21-2021, 06:43 PM
Last Post: kkaur
  Attempting to use Qt Designer. thewolf 17 6,152 Feb-17-2021, 12:03 AM
Last Post: thewolf
  [PyGUI] help code python QT Designer yan_mhb 0 1,927 Aug-12-2020, 09:32 AM
Last Post: yan_mhb
  [PyQt] Control a combobox from another python file PyQt5 prath 0 2,290 May-05-2020, 03:22 PM
Last Post: prath
  [Kivy] Kivy Designer Module Error SARAVANAN_M 0 3,875 Nov-20-2019, 09:57 AM
Last Post: SARAVANAN_M

Forum Jump:

User Panel Messages

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