QtApp

(类来自 pyomo.contrib.viewer.pyomo_viewer)

class pyomo.contrib.viewer.pyomo_viewer.QtApp(*args, **kwargs)[source]

基础类:UnavailableBase

__init__()

方法

__init__()

active_widget_name()

hide_ui()

init_qt_elements()

kernel_pyomo_init(kc)

new_frontend_master()

run_script([checked, filename])

在当前内核中运行一个python脚本。

show_ui()

成员文档

run_script(checked=False, filename=None)[源代码]

在当前内核中运行一个python脚本。