Search code examples
pythonfunctionreloading

Python and Qt - function reloading


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?


Solution

  • Checkout the super() function but note some pitfalls.