Module terminplan
[hide private]
[frames] | no frames]

Source Code for Module terminplan

  1  # -*- coding: utf-8 -*- 
  2  # 
  3  # 
  4  #    filename:  terminplan.py 
  5  # 
  6  #    version:   see wxvf.py 
  7  # 
  8  # 
  9  # ---------------------------------------------------------------------------------------- 
 10  # 
 11  # 
 12  #    Copyright (C) 2010  Michael Bellair 
 13  # 
 14  #    This file is part of wxvf. 
 15  # 
 16  #    wxvf is free software: you can redistribute it and/or modify 
 17  #    it under the terms of the GNU General Public License as published by 
 18  #    the Free Software Foundation, either version 3 of the License, or 
 19  #    (at your option) any later version. 
 20  # 
 21  #    wxvf is distributed in the hope that it will be useful, 
 22  #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
 23  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 24  #    GNU General Public License for more details. 
 25  # 
 26  #    You should have received a copy of the GNU General Public License 
 27  #    along with wxvf.  If not, see <http://www.gnu.org/licenses/>. 
 28  # 
 29  #    Michael Bellair 
 30  #    Sportplatzstrasse 11 
 31  #    01259 Dresden 
 32  # 
 33  #    E-Mail:    bellair@freenet.de 
 34  #    homepage:  http://www.michaelbellair.de/vf/index.html 
 35  # 
 36  # 
 37  # ---------------------------------------------------------------------------------------- 
 38  # 
 39  import wx 
 40   
 41   
 42   
 43   
 44  # 
 45  # 
 46  # 
 47  # ---------------------------------------------------------------------------------------- 
 48  # ---------------------------------------------------------------------------------------- 
 49  # --                                    -------------------------------------------------- 
 50  # --    Offene Punkte / Aufgaben        -------------------------------------------------- 
 51  # --                                    -------------------------------------------------- 
 52  # ---------------------------------------------------------------------------------------- 
 53  # ---------------------------------------------------------------------------------------- 
 54  # 
 55  #  
 56  #       -- siehe TODO 'bearbeitesicherheitsanf.py' -- 
 57  # 
 58  # 
 59  # ---------------------------------------------------------------------------------------- 
 60  # 
 61   
 62   
 63   
 64   
 65  # 
 66  # 
 67  # 
 68  # ---------------------------------------------------------------------------------------- 
 69  # ---------------------------------------------------------------------------------------- 
 70  # --                                    -------------------------------------------------- 
 71  # --    Eingabeformular 'Terminplan'    -------------------------------------------------- 
 72  # --                                    -------------------------------------------------- 
 73  # ---------------------------------------------------------------------------------------- 
 74  # ---------------------------------------------------------------------------------------- 
 75  # 
76 -class Terminplan( wx.Panel ):
77 """ 78 Klasse zur Abbildung des Eingabeformulars 'Terminplan' 79 80 @keyword parent: Es ist der Datenbankbenutzername zu übergeben. 81 @type parent: Zeichenkette 82 @keyword id: Es ist das Kennwort des Datenbankbenutzers zu übergeben. 83 @type id: Zeichenkette 84 @keyword size: Es ist die IP-Adresse anzugeben, über die der PostgreSQL-Datenbankserver ansprechbar ist. 85 @type size: Zeichenkette 86 87 @raise Fehler: ?? Fehlermeldung und Programmende, wenn die Datenbankverbindung nicht hergestellt werden kann. ?? 88 """ 89 90 # 91 # ------------------------------------------------------------------------------------ 92 # -- Eingabeformular initialisieren ---------------------------------- 93 # ------------------------------------------------------------------------------------ 94 #
95 - def __init__(self, parent, id = -1, size = wx.DefaultSize):
96 wx.Panel.__init__( self, parent, id, (0, 0), size=size ) 97 98 # 99 # -- Namen setzen (somit Klasse / Objekt erkennen) -------------------------- 100 # 101 self.SetName( name = u"Terminplan" ) 102 103 Sizer_Navigation = wx.BoxSizer( wx.VERTICAL ) 104 Sizer_Navigation.Add( wx.StaticText( parent = self 105 , label = u"Wird später implementiert !" ) 106 , flag = wx.ALL|wx.EXPAND|wx.ALIGN_CENTER, border = 50 ) 107 self.SetSizerAndFit( Sizer_Navigation )
108