0

i have an application class inherited from QtGui.QDialog. I have to reload show-function but save functionality. I take this idea from C#. There i could do something like this:

static void show()
{
  // My code...
  base.show();
}

I want to do something like that but with python and qt (PyQt). Can i do that?

1 Answer 1

1

Checkout the super() function but note some pitfalls.

Sign up to request clarification or add additional context in comments.

1 Comment

Btw for Qt you can just do QClass.show(self) and it will call the base class.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.