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?

Max Frai
  • 61,946
  • 78
  • 197
  • 306

1 Answers1

1

Checkout the super() function but note some pitfalls.

ismail
  • 46,010
  • 9
  • 86
  • 95