Jump to content
Fórum Script Brasil
  • 0

Problema com QWizardPage



Olá pessoal, to tentando usar o registerfield da classe QWizardPage, mas a escassez de exemplo me impossibilitou de aplicá-la devidamente, seguindo a documentação eu consegui fazer isto em meu código


	def on_nome1_textChanged(self, text):
		self.registerField("nome1", QLineEdit, text, textChanged())


Mas eu obtenho o seguinte erro:


Traceback (most recent call last):
  File "teste_telas.py", line 37, in on_nome1_textChanged
    self.registerField("nome1", QLineEdit, text, textChanged())
NameError: global name 'textChanged' is not defined


Alguém tem ideia do que posso fazer para solucionar isso?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...