# -*- coding: UTF-8 -*-
#
# generated by wxGlade
#

import wx

# begin wxGlade: dependencies
import gettext
# end wxGlade

# begin wxGlade: extracode
from Gnumed.wxpython.gmListWidgets import cReportListCtrl
from Gnumed.wxpython.gmMeasurementWidgets import cLabRelatedDocumentsPnl
# end wxGlade


class wxgMeasurementsByIssuePnl(wx.Panel):
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgMeasurementsByIssuePnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL
		wx.Panel.__init__(self, *args, **kwds)
		self._LCTRL_issues = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT)
		self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT)
		self._TCTRL_measurements = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY)
		self._PNL_related_documents = cLabRelatedDocumentsPnl(self, wx.ID_ANY, style=wx.BORDER_NONE)

		self.__set_properties()
		self.__do_layout()
		# end wxGlade

	def __set_properties(self):
		# begin wxGlade: wxgMeasurementsByIssuePnl.__set_properties
		pass
		# end wxGlade

	def __do_layout(self):
		# begin wxGlade: wxgMeasurementsByIssuePnl.__do_layout
		__szr_main = wx.BoxSizer(wx.HORIZONTAL)
		__szr_details = wx.BoxSizer(wx.VERTICAL)
		__szr_main.Add(self._LCTRL_issues, 3, wx.EXPAND | wx.RIGHT, 5)
		__szr_main.Add(self._LCTRL_results, 8, wx.EXPAND | wx.RIGHT, 5)
		__szr_details.Add(self._TCTRL_measurements, 1, wx.EXPAND, 0)
		__szr_details.Add(self._PNL_related_documents, 0, wx.EXPAND | wx.TOP, 3)
		__szr_main.Add(__szr_details, 10, wx.EXPAND, 0)
		self.SetSizer(__szr_main)
		__szr_main.Fit(self)
		self.Layout()
		# end wxGlade

# end of class wxgMeasurementsByIssuePnl
