Package Gnumed :: Package wxGladeWidgets :: Module wxgMeasurementsByIssuePnl |
[frames] | no frames]

# Source Code for Module Gnumed.wxGladeWidgets.wxgMeasurementsByIssuePnl

     1  # -*- coding: UTF-8 -*-
     2  #
     3  # generated by wxGlade
     4  #
     5
     6  import wx
     7
     8  # begin wxGlade: dependencies
     9  import gettext
    10  # end wxGlade
    11
    12  # begin wxGlade: extracode
    13  from Gnumed.wxpython.gmListWidgets import cReportListCtrl
    14  from Gnumed.wxpython.gmMeasurementWidgets import cLabRelatedDocumentsPnl
    15  # end wxGlade
    16
    17
    18 -class wxgMeasurementsByIssuePnl(wx.Panel):
    19 -        def __init__(self, *args, **kwds):
    20                  # begin wxGlade: wxgMeasurementsByIssuePnl.__init__
    21                  kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL
    22                  wx.Panel.__init__(self, *args, **kwds)
    23                  self._LCTRL_issues = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT)
    24                  self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT)
    25                  self._TCTRL_measurements = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY)
    26                  self._PNL_related_documents = cLabRelatedDocumentsPnl(self, wx.ID_ANY, style=wx.BORDER_NONE)
    27
    28                  self.__set_properties()
    29                  self.__do_layout()
    30                  # end wxGlade
    31
    32 -        def __set_properties(self):
    33                  # begin wxGlade: wxgMeasurementsByIssuePnl.__set_properties
    34                  pass
    35                  # end wxGlade
    36
    37 -        def __do_layout(self):
    38                  # begin wxGlade: wxgMeasurementsByIssuePnl.__do_layout
    39                  __szr_main = wx.BoxSizer(wx.HORIZONTAL)
    40                  __szr_details = wx.BoxSizer(wx.VERTICAL)
    41                  __szr_main.Add(self._LCTRL_issues, 3, wx.EXPAND | wx.RIGHT, 5)
    42                  __szr_main.Add(self._LCTRL_results, 8, wx.EXPAND | wx.RIGHT, 5)
    43                  __szr_details.Add(self._TCTRL_measurements, 1, wx.EXPAND, 0)
    44                  __szr_details.Add(self._PNL_related_documents, 0, wx.EXPAND | wx.TOP, 3)
    45                  __szr_main.Add(__szr_details, 10, wx.EXPAND, 0)
    46                  self.SetSizer(__szr_main)
    47                  __szr_main.Fit(self)
    48                  self.Layout()
    49                  # end wxGlade
    50
    51  # end of class wxgMeasurementsByIssuePnl
    52