#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# generated by wxGlade 0.7.0
#

import wx

# begin wxGlade: dependencies
import gettext
# end wxGlade

# begin wxGlade: extracode
from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitIDsMgrPnl
from Gnumed.wxpython.gmContactWidgets import cCommChannelsManagerPnl
from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitAddressPnl
from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitsManagerPnl
from Gnumed.wxpython.gmOrganizationWidgets import cOrganizationsManagerPnl
# end wxGlade


class wxgOrganizationManagerDlg(wx.Dialog):
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgOrganizationManagerDlg.__init__
		kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
		wx.Dialog.__init__(self, *args, **kwds)
		self._PNL_orgs = cOrganizationsManagerPnl(self, wx.ID_ANY)
		self._PNL_units = cOrgUnitsManagerPnl(self, wx.ID_ANY)
		self._PNL_address = cOrgUnitAddressPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL)
		self._PNL_comms = cCommChannelsManagerPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL)
		self._PNL_ids = cOrgUnitIDsMgrPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL)

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

	def __set_properties(self):
		# begin wxGlade: wxgOrganizationManagerDlg.__set_properties
		self.SetTitle(_("Managing Organizations and their units."))
		self.SetSize((875, 519))
		# end wxGlade

	def __do_layout(self):
		# begin wxGlade: wxgOrganizationManagerDlg.__do_layout
		__szr_main = wx.BoxSizer(wx.HORIZONTAL)
		__szr_unit_details = wx.BoxSizer(wx.VERTICAL)
		__szr_orgs_units = wx.BoxSizer(wx.VERTICAL)
		__szr_orgs_units.Add(self._PNL_orgs, 2, 0, 5)
		__szr_orgs_units.Add(self._PNL_units, 1, 0, 5)
		__szr_main.Add(__szr_orgs_units, 1, wx.ALL, 5)
		__szr_unit_details.Add(self._PNL_address, 2, wx.EXPAND | wx.LEFT, 5)
		__szr_unit_details.Add(self._PNL_comms, 3, wx.EXPAND | wx.LEFT, 1)
		__szr_unit_details.Add(self._PNL_ids, 3, wx.EXPAND | wx.LEFT, 1)
		__szr_main.Add(__szr_unit_details, 3, wx.BOTTOM | wx.RIGHT | wx.TOP, 5)
		self.SetSizer(__szr_main)
		self.Layout()
		# end wxGlade

# end of class wxgOrganizationManagerDlg
