Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QtGui.QDialog から継承されたアプリケーション クラスがあります。show-function をリロードする必要がありますが、機能を保存します。このアイデアは C# から取り入れています。そこで私は次のようなことができます:
static void show() { // My code... base.show(); }
私はそのようなことをしたいのですが、pythonとqt(PyQt)を使っています。それをしてもいいですか?
super()関数をチェックアウトしますが、いくつかの落とし穴に注意してください。