| Trees | Indices | Help | 
 | 
|---|
|  | 
Class for selecting properties, with features to organize by
family/owner, filter by name, and/or sort items in the list.
The PropertySelector displays a list of property user names,
specified as structure.PropertyName objects.
Duplicate user names are distinguished by creating a
PropertyName.user_name attribute to with a unique numerical id suffix.
e.g. foo, foo-1, foo-2.  The name checking is done once, at __init__.
Class Attributes
----------------
None
Instance Attributes
-------------------
propfamilies (dict)
    Family name keys for a list of structure.PropertyName instances
    in that roup.
displayed_aux_proplist (list)
    List of PropertyNames currently displayed in the auxilary listbox,
    in the order they appear in the list.  This is typically a subset
    of self.proplist.
move_to_aux (bool)
    If True, items will be moved from main table to auxilary table
    when they are selected. If false, they will be duplicated in
    both tables if selected (default False)
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 
PropertySelector requires <parent> argument, which should be a Qt
Widget into which this frame should be added.
Other keyword options:
proplist (list)
    List of data names (str) or structure.PropertyName instances.
    The order of items in the list is the default order of items in the
    list box.
multi (boolean)
    True allows selecting multiple properties.  Default is False,
    single item selection.
show_family_menu (boolean)
    True add property family menu to control visible list items.
    Default is True.
show_family_name (boolean)
    True displays the family/owner in parentheses after each name.
    Default is True.
show_alpha_toggle (boolean)
    True displays the alphabetize checkbox toggle.  Default is
    False.
show_filter_field (boolean)
    True displays the string filter controls.  Default is False.
show_aux_listbox (boolean)
    True displays the auxilary listbox, add and remove buttons,
    and decrement/increment buttons.  self.getSelected() returns
    all the items in the auxilary list box, in the order they
    appear.
presort (boolean)
    True orders the properties alphabetically by
    PropertyName.userName() values.
move_to_aux (bool)
    If True, items will be moved from main table to auxilary table
    when they are selected. If false, they will be duplicated in
    both tables if selected (default False)
 | 
| 
 Enable or disable buttons as needed. Called when selection in the tables changes. | 
| 
 Assigns PropertyName.user_name attributes, for all members in self.proplist. The user_names are unique within the PropertySelector instance. The user_name strings are typically just the PropertyName.userName(), but may be modified with a numerical suffix to make them unique, or decorated with the family name (which does not garuntee uniqeness, but may make the items easier for the end user to visually group). | 
| 
 Create a dictionary of families. PropertyName.family keys for a list of PropertyNames in that family. | 
| 
 
Set the listbox items to the structure.PropertyName.user_name
attributes for the PropertyName instances in proplist.
proplist (list)
    A list of structure.PropertyName objects.
selected_indexes (list)
    List of indexes of <proplist> that should be selected.
 | 
| 
 
Adjust the display state and selection states to specified
lists of PropertyName objects.
Use only when selection or display state changes.
Use setProperties() to use different properties.
display_list (list)
    A list of PropertyName objects to display.
selected_list (list)
    A list of PropertyName objects to select.
 | 
| 
 
Display the auxilary listbox items to the
structure.PropertyName.user_name attributes for the PropertyName
instances in proplist.
proplist (list)
    List of structure.PropertyName instances.
selected_indexes (list)
    List of indexes of <proplist> that should be selected.
 | 
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 08:00:02 2016 | http://epydoc.sourceforge.net |