V2PropOptimizer.PropOptimizerDialogs#

V2PropOptimizer.PropOptimizerDialogs.py

Copyright (c) 2024, SAXS Team, KEK-PF

class JobArgs(**entries)#

Bases: object

class PropOptimizerProgress(parent, job_args)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

cancel()#
optimizer_thread(devel=True)#
show()#
start_optimizer()#
update_progress_text()#
class PropOptimizerResult(parent, result)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

show()#
show_optimizer_dialog(parent, modelname, init_prop, v2_optimizer)#