13 |
|
|
14 |
"""Lohn/Gehaltsrechner f�r das Jahr 2005""" |
"""Lohn/Gehaltsrechner f�r das Jahr 2005""" |
15 |
|
|
16 |
|
__version__ = "$Revision$" |
17 |
|
# $Source$ |
18 |
|
|
19 |
|
_release_version = "0.1alpha" |
20 |
|
|
21 |
import LST2005 |
import LST2005 |
22 |
from Tkinter import * |
from Tkinter import * |
23 |
|
|
26 |
def __init__(self, root): |
def __init__(self, root): |
27 |
LST2005.LStRechner2005.__init__(self) |
LST2005.LStRechner2005.__init__(self) |
28 |
|
|
29 |
|
root.title("Lohnrechner 2005 - v%s" % _release_version) |
30 |
|
|
31 |
Label(root, text="Lohn:").grid(row=0, sticky=E) |
Label(root, text="Lohn:").grid(row=0, sticky=E) |
32 |
self.lohn = Entry(root) |
self.lohn = Entry(root) |
33 |
self.lohn.grid(row=0, column=1, sticky=W) |
self.lohn.grid(row=0, column=1, sticky=W) |
64 |
|
|
65 |
self.CalcOutput() |
self.CalcOutput() |
66 |
|
|
|
|
|
67 |
def ResetInput(self): |
def ResetInput(self): |
68 |
self.lohn.insert(0, "0") |
self.lohn.insert(0, "0") |
69 |
|
|
80 |
self.soli.insert(0, "%.2f" % self.GetSoli()) |
self.soli.insert(0, "%.2f" % self.GetSoli()) |
81 |
|
|
82 |
|
|
|
|
|
83 |
if __name__ == "__main__": |
if __name__ == "__main__": |
84 |
root = Tk() |
root = Tk() |
85 |
lr = Lohnrechner(root) |
lr = Lohnrechner(root) |