I have a CustomDialog I made to let the user configure settings. Normally I want this to be launched from a menu item within the main application which works fine.
我有一个CustomDialog我让用户配置设置。通常我希望从主应用程序中的菜单项启动它,它可以正常工作。
But during the install, I want to launch just the dialog to let the user configure the settings. Is there a way I can have both?
但在安装过程中,我想只启动对话框让用户配置设置。我有两种方法吗?
1 个解决方案
#1
With a little supporting code you can -- see e.g. wizard.py which launches an almost-stand-alone custom dialog subclass "wizard".
您可以使用一些支持代码 - 例如wizard.py启动一个几乎独立的自定义对话子类“向导”。
#1
With a little supporting code you can -- see e.g. wizard.py which launches an almost-stand-alone custom dialog subclass "wizard".
您可以使用一些支持代码 - 例如wizard.py启动一个几乎独立的自定义对话子类“向导”。