Gnumed.wxpython.gmMedicationWidgets.cCurrentSubstancesGrid

Package Gnumed :: Package wxpython :: Module gmMedicationWidgets :: Class cCurrentSubstancesGrid |
[frames] | no frames]

# Class cCurrentSubstancesGrid

source code

         object --+
                  |
    wx._core.Object --+
                      |
    wx._core.EvtHandler --+
                          |
            wx._core.Window --+
                              |
              wx._windows.Panel --+
                                  |
         wx._windows.ScrolledWindow --+
                                      |
                           wx.grid.Grid --+
                                          |
                                         cCurrentSubstancesGrid

    A grid class for displaying current substance intake.

    - does NOT listen to the currently active patient
    - thereby it can display any patient at any time

Instance Methods
EvtHandler |
__init__(self, *args, **kwargs) __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, ... | source code
get_selected_cells(self) | source code
get_selected_rows(self) | source code
get_selected_data(self) | source code
repopulate_grid(self) | source code
empty_grid(self) | source code
show_info_on_entry(self) | source code
show_renal_insufficiency_info(self) | source code
show_cardiac_info(self) | source code
report_ADR(self) | source code
prescribe(self) | source code
check_interactions(self) | source code
add_substance(self) | source code
edit_substance(self) | source code
delete_substance(self) | source code
create_allergy_from_substance(self) | source code
print_medication_list(self) | source code
get_row_tooltip(self, row=None) | source code
Inherited from `wx.grid.Grid`: `AppendCols`, `AppendRows`, `AutoSize`, `AutoSizeColLabelSize`, `AutoSizeColumn`, `AutoSizeColumns`, `AutoSizeRow`, `AutoSizeRowLabelSize`, `AutoSizeRows`, `BeginBatch`, `BlockToDeviceRect`, `CanDragCell`, `CanDragColSize`, `CanDragGridSize`, `CanDragRowSize`, `CanEnableCellControl`, `CellToRect`, `ClearGrid`, `ClearSelection`, `Create`, `CreateGrid`, `DeleteCols`, `DeleteRows`, `DeselectCell`, `DeselectCol`, `DeselectRow`, `DisableCellEditControl`, `DisableDragCell`, `DisableDragColSize`, `DisableDragGridSize`, `DisableDragRowSize`, `DrawCellHighlight`, `DrawTextRectangle`, `EnableCellEditControl`, `EnableDragCell`, `EnableDragColSize`, `EnableDragGridSize`, `EnableDragRowSize`, `EnableEditing`, `EnableGridLines`, `EndBatch`, `ForceRefresh`, `GetBatchCount`, `GetCellAlignment`, `GetCellBackgroundColour`, `GetCellEditor`, `GetCellFont`, `GetCellHighlightColour`, `GetCellHighlightPenWidth`, `GetCellHighlightROPenWidth`, `GetCellOverflow`, `GetCellRenderer`, `GetCellSize`, `GetCellTextColour`, `GetCellValue`, `GetColLabelAlignment`, `GetColLabelSize`, `GetColLabelTextOrientation`, `GetColLabelValue`, `GetColMinimalAcceptableWidth`, `GetColSize`, `GetDefaultCellAlignment`, `GetDefaultCellBackgroundColour`, `GetDefaultCellFont`, `GetDefaultCellOverflow`, `GetDefaultCellTextColour`, `GetDefaultColLabelSize`, `GetDefaultColSize`, `GetDefaultEditor`, `GetDefaultEditorForCell`, `GetDefaultEditorForType`, `GetDefaultRenderer`, `GetDefaultRendererForCell`, `GetDefaultRendererForType`, `GetDefaultRowLabelSize`, `GetDefaultRowSize`, `GetGridColLabelWindow`, `GetGridCornerLabelWindow`, `GetGridCursorCol`, `GetGridCursorRow`, `GetGridLineColour`, `GetGridRowLabelWindow`, `GetGridWindow`, `GetLabelBackgroundColour`, `GetLabelFont`, `GetLabelTextColour`, `GetNumberCols`, `GetNumberRows`, `GetOrCreateCellAttr`, `GetRowLabelAlignment`, `GetRowLabelSize`, `GetRowLabelValue`, `GetRowMinimalAcceptableHeight`, `GetRowSize`, `GetScrollLineX`, `GetScrollLineY`, `GetScrollX`, `GetScrollY`, `GetSelectedCells`, `GetSelectedCols`, `GetSelectedRows`, `GetSelectionBackground`, `GetSelectionBlockBottomRight`, `GetSelectionBlockTopLeft`, `GetSelectionForeground`, `GetSelectionMode`, `GetTable`, `GetTextBoxSize`, `GridLinesEnabled`, `HideCellEditControl`, `InsertCols`, `InsertRows`, `IsCellEditControlEnabled`, `IsCellEditControlShown`, `IsCurrentCellReadOnly`, `IsEditable`, `IsInSelection`, `IsReadOnly`, `IsSelection`, `IsVisible`, `MakeCellVisible`, `MoveCursorDown`, `MoveCursorDownBlock`, `MoveCursorLeft`, `MoveCursorLeftBlock`, `MoveCursorRight`, `MoveCursorRightBlock`, `MoveCursorUp`, `MoveCursorUpBlock`, `MovePageDown`, `MovePageUp`, `ProcessTableMessage`, `RegisterDataType`, `SaveEditControlValue`, `SelectAll`, `SelectBlock`, `SelectCol`, `SelectRow`, `SetAttr`, `SetCellAlignment`, `SetCellBackgroundColour`, `SetCellEditor`, `SetCellFont`, `SetCellHighlightColour`, `SetCellHighlightPenWidth`, `SetCellHighlightROPenWidth`, `SetCellOverflow`, `SetCellRenderer`, `SetCellSize`, `SetCellTextColour`, `SetCellValue`, `SetColAttr`, `SetColFormatBool`, `SetColFormatCustom`, `SetColFormatFloat`, `SetColFormatNumber`, `SetColLabelAlignment`, `SetColLabelSize`, `SetColLabelTextOrientation`, `SetColLabelValue`, `SetColMinimalAcceptableWidth`, `SetColMinimalWidth`, `SetColSize`, `SetDefaultCellAlignment`, `SetDefaultCellBackgroundColour`, `SetDefaultCellFont`, `SetDefaultCellOverflow`, `SetDefaultCellTextColour`, `SetDefaultColSize`, `SetDefaultEditor`, `SetDefaultRenderer`, `SetDefaultRowSize`, `SetGridCursor`, `SetGridLineColour`, `SetLabelBackgroundColour`, `SetLabelFont`, `SetLabelTextColour`, `SetMargins`, `SetReadOnly`, `SetRowAttr`, `SetRowLabelAlignment`, `SetRowLabelSize`, `SetRowLabelValue`, `SetRowMinimalAcceptableHeight`, `SetRowMinimalHeight`, `SetRowSize`, `SetScrollLineX`, `SetScrollLineY`, `SetSelectionBackground`, `SetSelectionForeground`, `SetSelectionMode`, `SetTable`, `ShowCellEditControl`, `XToCol`, `XToEdgeOfCol`, `XYToCell`, `YToEdgeOfRow`, `YToRow`, `__repr__` Inherited from `wx._windows.ScrolledWindow`: `AdjustScrollbars`, `CalcScrollInc`, `CalcScrolledPosition`, `CalcUnscrolledPosition`, `DoPrepareDC`, `EnableScrolling`, `GetScaleX`, `GetScaleY`, `GetScrollPageSize`, `GetScrollPixelsPerUnit`, `GetTargetWindow`, `GetViewStart`, `Scroll`, `SetScale`, `SetScrollPageSize`, `SetScrollRate`, `SetScrollbars`, `SetTargetWindow` Inherited from `wx._windows.Panel`: `InitDialog`, `SetFocus`, `SetFocusIgnoringChildren` Inherited from `wx._core.Window`: `AcceptsFocus`, `AcceptsFocusFromKeyboard`, `AddChild`, `AssociateHandle`, `CacheBestSize`, `CaptureMouse`, `Center`, `CenterOnParent`, `CenterOnScreen`, `Centre`, `CentreOnParent`, `CentreOnScreen`, `ClearBackground`, `ClientToScreen`, `ClientToScreenXY`, `Close`, `ConvertDialogPointToPixels`, `ConvertDialogSizeToPixels`, `ConvertPixelPointToDialog`, `ConvertPixelSizeToDialog`, `DLG_PNT`, `DLG_SZE`, `Destroy`, `DestroyChildren`, `Disable`, `DissociateHandle`, `DragAcceptFiles`, `Enable`, `FindWindowById`, `FindWindowByName`, `Fit`, `FitInside`, `Freeze`, `GetAcceleratorTable`, `GetAdjustedBestSize`, `GetAutoLayout`, `GetBackgroundColour`, `GetBackgroundStyle`, `GetBestFittingSize`, `GetBestSize`, `GetBestSizeTuple`, `GetBestVirtualSize`, `GetBorder`, `GetCaret`, `GetCharHeight`, `GetCharWidth`, `GetChildren`, `GetClientAreaOrigin`, `GetClientRect`, `GetClientSize`, `GetClientSizeTuple`, `GetConstraints`, `GetContainingSizer`, `GetCursor`, `GetDefaultAttributes`, `GetDefaultItem`, `GetDropTarget`, `GetEventHandler`, `GetExtraStyle`, `GetFont`, `GetForegroundColour`, `GetFullTextExtent`, `GetGrandParent`, `GetHandle`, `GetHelpText`, `GetId`, `GetLabel`, `GetMaxHeight`, `GetMaxSize`, `GetMaxWidth`, `GetMinHeight`, `GetMinSize`, `GetMinWidth`, `GetName`, `GetParent`, `GetPosition`, `GetPositionTuple`, `GetRect`, `GetScrollPos`, `GetScrollRange`, `GetScrollThumb`, `GetSize`, `GetSizeTuple`, `GetSizer`, `GetTextExtent`, `GetThemeEnabled`, `GetTitle`, `GetToolTip`, `GetUpdateClientRect`, `GetUpdateRegion`, `GetValidator`, `GetVirtualSize`, `GetVirtualSizeTuple`, `GetWindowStyle`, `GetWindowStyleFlag`, `GetWindowVariant`, `HasCapture`, `HasFlag`, `HasScrollbar`, `HasTransparentBackground`, `Hide`, `HitTest`, `HitTestXY`, `InheritAttributes`, `InheritsBackgroundColour`, `InvalidateBestSize`, `IsBeingDeleted`, `IsEnabled`, `IsExposed`, `IsExposedPoint`, `IsExposedRect`, `IsRetained`, `IsShown`, `IsTopLevel`, `Layout`, `LineDown`, `LineUp`, `Lower`, `MakeModal`, `Move`, `MoveAfterInTabOrder`, `MoveBeforeInTabOrder`, `MoveXY`, `Navigate`, `PageDown`, `PageUp`, `PopEventHandler`, `PopupMenu`, `PopupMenuXY`, `PostCreate`, `PrepareDC`, `PushEventHandler`, `Raise`, `Refresh`, `RefreshRect`, `RegisterHotKey`, `ReleaseMouse`, `RemoveChild`, `RemoveEventHandler`, `Reparent`, `ScreenToClient`, `ScreenToClientXY`, `ScrollLines`, `ScrollPages`, `ScrollWindow`, `SendSizeEvent`, `SetAcceleratorTable`, `SetAutoLayout`, `SetBackgroundColour`, `SetBackgroundStyle`, `SetBestFittingSize`, `SetCaret`, `SetClientRect`, `SetClientSize`, `SetClientSizeWH`, `SetConstraints`, `SetContainingSizer`, `SetCursor`, `SetDefaultItem`, `SetDimensions`, `SetDropTarget`, `SetEventHandler`, `SetExtraStyle`, `SetFocusFromKbd`, `SetFont`, `SetForegroundColour`, `SetHelpText`, `SetHelpTextForId`, `SetId`, `SetLabel`, `SetMaxSize`, `SetMinSize`, `SetName`, `SetOwnBackgroundColour`, `SetOwnFont`, `SetOwnForegroundColour`, `SetPosition`, `SetRect`, `SetScrollPos`, `SetScrollbar`, `SetSize`, `SetSizeHints`, `SetSizeHintsSz`, `SetSizeWH`, `SetSizer`, `SetSizerAndFit`, `SetThemeEnabled`, `SetTitle`, `SetTmpDefaultItem`, `SetToolTip`, `SetToolTipString`, `SetValidator`, `SetVirtualSize`, `SetVirtualSizeHints`, `SetVirtualSizeHintsSz`, `SetVirtualSizeWH`, `SetWindowStyle`, `SetWindowStyleFlag`, `SetWindowVariant`, `ShouldInheritColours`, `Show`, `Thaw`, `TransferDataFromWindow`, `TransferDataToWindow`, `UnregisterHotKey`, `Update`, `UpdateWindowUI`, `UseBgCol`, `Validate`, `WarpPointer` Inherited from `wx._core.EvtHandler`: `AddPendingEvent`, `Bind`, `Connect`, `Disconnect`, `GetEvtHandlerEnabled`, `GetNextHandler`, `GetPreviousHandler`, `ProcessEvent`, `ProcessPendingEvents`, `SetEvtHandlerEnabled`, `SetNextHandler`, `SetPreviousHandler`, `Unbind` Inherited from `wx._core.Object`: `GetClassName` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Static Methods
Inherited from `wx.grid.Grid`: `GetClassDefaultAttributes` Inherited from `wx._core.Window`: `FindFocus`, `GetCapture`, `NewControlId`, `NextControlId`, `PrevControlId`

Class Variables
| patient = `property(_get_patient, _set_patient)`
| grouping_mode = `property(_get_grouping_mode, _set_grouping_mode)`
| filter_show_unapproved = `property(_get_filter_show_unapproved,`...``
| filter_show_inactive = `property(_get_filter_show_inactive, _se`...``
Inherited from `wx.grid.Grid`: `SelectCells`, `SelectColumns`, `SelectRows`, `wxGridSelectCells`, `wxGridSelectColumns`, `wxGridSelectRows`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, *args, **kwargs) (Constructor) | source code
    __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
        Size size=DefaultSize, long style=WANTS_CHARS,
        String name=PanelNameStr) -> Grid
Returns: EvtHandler Overrides: object.__init__ (inherited documentation)

Class Variable Details

  ### filter_show_unapproved Value:
      property(_get_filter_show_unapproved, _set_filter_show_unapproved)

  ### filter_show_inactive Value:
      property(_get_filter_show_inactive, _set_filter_show_inactive)