Creates the Combiglide Interactive Enumeration and Dock panel.
This panel has several modes - the default mode is the Combiglide
version. The panel can also be opened without any docking widgets for
those uses that don't require docking.
The panel emits a job_submitted(jobid) signal when an enumeration job
is submitted, allowing other panels to react and track the job if
necessary.
To simply show a new instance of the panel without maintaining a
pointer to it, use:
Copyright Schrodinger, LLC. All rights reserved.
|
QC(obj1,
signal,
obj2)
A helper function for QObject.connect |
|
|
|
|
str
|
get_unique_title(beginning,
structs)
Adds FRAGMENT_INCREMENT_TAGx (x=integer) to the beginning string in
order to create a title that is unique in the set of titles in
structs. |
|
|
set
|
uniquify_titles(structs)
Modify any duplicate and blank titles in structs so that all titles
are unique. |
|
|
|
resolve_links(path)
Return the target of a symbolic link, can handle symlinks to symlinks
Uses 'linkresolver.exe' on Windows to resolve shortcuts ('.lnk') |
|
|
|
|
|
get_sidebar_dict(dir_kws)
This function is used to get a dictionary to be used with
filedialog.py |
|
|
|
show_panel(enum_only=False,
default_collection=None,
create_qapp=True,
untangle=True,
key='Combiglide')
Create the panel if necessary and show it |
|
|
|
maestro = False
hash(x)
|
|
STEREO = canvas2d.ChmMmctAdaptor.StereoFromAnnotationAndGeomet...
|
|
BLACK_COLOR_MAP = {5: 0xFF000000, 7: 0xFF000000, 8: 0xFF000000...
|
|
APPDATA_DIR = mm.mmfile_schrodinger_appdata_dir()
|
|
SCHROD_TMP = mm.mmfile_get_schrodinger_temp()
|
|
PERSONAL_FRAGS_DIR = os.path.join(APPDATA_DIR, "cg", "interact...
|
|
PERSONAL_PALS_DIR = os.path.join(APPDATA_DIR, "cg", "interacti...
|
|
MMSHARE_DATA_DIR = os.path.join(MMSHARE_DATA_DIR, 'data')
|
|
SCHROD_FRAGS_DIR = os.path.join(MMSHARE_DATA_DIR, "cg", "inter...
|
|
SCHROD_PALS_DIR = os.path.join(MMSHARE_DATA_DIR, "cg", "intera...
|
|
LINK_TO_URL = {'schrod_frags': SCHROD_FRAGS_DIR, 'my_frags': P...
|
|
LINK_TO_TXT = {'schrod_frags': "Schrodinger Collections", 'my_...
|
|
NULL_LINKER = zlib.decompress('eJytUsFOwzAMvfcrrO68qQ2FsX0AR85...
|
|
FRAGFILE_STR = zlib.decompress('x\x9c\xa5TMo\x830\x0c\xbd\xe7W...
|
|
DELETE_SELECTED_MENU_ITEM = "Delete selected structures"
|
|
RETAIN_ONLY_SELECTED_MENU_ITEM = "Retain only selected structu...
|
|
EXPORT_SELECTED_MENU_ITEM = "Export selected structures to pro...
|
|
DELETE_STRUCTURE_MENU_ITEM = "Delete this structure"
|
|
RETAIN_ONLY_STRUCTURE_MENU_ITEM = "Retain only this structure"
|
|
SHOW_IN_WORKSPACE_MENU_ITEM = "Show this structure in workspace"
|
|
EXPORT_STRUCTURE_MENU_ITEM = "Export this structure to project...
|
|
CHANGE_TITLE_MENU_ITEM = 'Rename structure'
|
|
GENERIC_FRAGMENT_TITLE = 'frag'
|
|
FRAGMENT_INCREMENT_TAG = '-ied'
|
|
panels = {}
|