schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.charge_selector module

class schrodinger.application.jaguar.gui.tabs.sub_tab_widgets.charge_selector.ChargeSelectorLineEdit(parent)

Bases: schrodinger.ui.qt.pop_up_widgets.LineEditWithPopUp

A line edit that can be used to select constraint’s charge and individual atom weights. A weight selector pop up will appear whenever this line edit has focus.

getWeights()

This function returns constraint weights that were set in the popup.

Returns:constraint weights
Return type:dict
setWeights(weights)

Set charge constraint weights that will be shown in the popup.

Parameters:weights (dict) – charge constraint weights