Gnumed.wxGladeWidgets.wxgEditDocumentTypesDlg

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

# Source Code for Module Gnumed.wxGladeWidgets.wxgEditDocumentTypesDlg

     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  # end wxGlade
    14
    15
    16 -class wxgEditDocumentTypesDlg(wx.Dialog):
    17 -        def __init__(self, *args, **kwds):
    18                  # begin wxGlade: wxgEditDocumentTypesDlg.__init__
    19                  kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
    20                  wx.Dialog.__init__(self, *args, **kwds)
    21                  self.SetSize((400, 400))
    22                  from Gnumed.wxpython.gmDocumentWidgets import cEditDocumentTypesPnl
    23                  self._PNL_edit_document_types = cEditDocumentTypesPnl(self, wx.ID_ANY)
    24
    25                  self.__set_properties()
    26                  self.__do_layout()
    27                  # end wxGlade
    28
    29 -        def __set_properties(self):
    30                  # begin wxGlade: wxgEditDocumentTypesDlg.__set_properties
    31                  self.SetTitle(_("Edit Document Types"))
    32                  self.SetSize((400, 400))
    33                  # end wxGlade
    34
    35 -        def __do_layout(self):
    36                  # begin wxGlade: wxgEditDocumentTypesDlg.__do_layout
    37                  _szr_main = wx.BoxSizer(wx.VERTICAL)
    38                  _szr_main.Add(self._PNL_edit_document_types, 1, wx.ALL | wx.EXPAND, 3)
    39                  self.SetSizer(_szr_main)
    40                  self.Layout()
    41                  self.Centre()
    42                  # end wxGlade
    43
    44  # end of class wxgEditDocumentTypesDlg
    45