Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 51 → Rev 52

/tilgungsplan/trunk/src/tilgungsplanwidgetbase.ui
126,7 → 126,7
</rect>
</property>
<property name="value">
<number>9999</number>
<number>100000</number>
</property>
<property name="minValue">
<number>1</number>
277,460 → 277,6
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox4</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>510</y>
<width>660</width>
<height>140</height>
</rect>
</property>
<property name="title">
<string>Ergebnisse</string>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel14</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>109</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Gesamtbel.</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>90</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Ratenhöhe</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Letzte Rate</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel5_3</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>93</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Summe Zinsen</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_5_2</cstring>
</property>
<property name="geometry">
<rect>
<x>630</x>
<y>20</y>
<width>16</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>%</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7</cstring>
</property>
<property name="geometry">
<rect>
<x>257</x>
<y>21</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_3</cstring>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>50</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_4</cstring>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_5</cstring>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>110</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_6</cstring>
</property>
<property name="geometry">
<rect>
<x>620</x>
<y>50</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_7</cstring>
</property>
<property name="geometry">
<rect>
<x>620</x>
<y>80</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_8</cstring>
</property>
<property name="geometry">
<rect>
<x>620</x>
<y>110</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel13</cstring>
</property>
<property name="geometry">
<rect>
<x>310</x>
<y>20</y>
<width>97</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Effektivzinssatz</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="geometry">
<rect>
<x>310</x>
<y>50</y>
<width>130</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Annuitätenzuschuss</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel8_2</cstring>
</property>
<property name="geometry">
<rect>
<x>310</x>
<y>80</y>
<width>160</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Summe Annuitätenzusch.</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel9_2</cstring>
</property>
<property name="geometry">
<rect>
<x>310</x>
<y>110</y>
<width>110</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zinsenzuschuss</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_GesBelast</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>20</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgRate</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>50</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgLRate</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>80</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgZinsen</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>110</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_EffZi</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>20</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgSumAnnZusch</cstring>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>80</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgZiZusch</cstring>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>110</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgAnnZusch</cstring>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>50</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox5</cstring>
</property>
<property name="geometry">
1443,6 → 989,25
</property>
</widget>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_Rate</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Raten&amp;vorgabe</string>
</property>
<property name="accel">
<string>Alt+V</string>
</property>
</widget>
</widget>
<widget class="QGroupBox">
<property name="name">
1608,229 → 1173,523
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox3</cstring>
<cstring>groupBox4</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<y>510</y>
<width>660</width>
<height>150</height>
<height>140</height>
</rect>
</property>
<property name="title">
<string>Zinssatz</string>
<string>Ergebnisse</string>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel10</cstring>
<cstring>textLabel14</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>73</width>
<width>109</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zinssatz</string>
<string>Gesamtbel.</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel11</cstring>
<cstring>textLabel3</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>90</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Ratenhöhe</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>gültig ab</string>
<string>Letzte Rate</string>
</property>
</widget>
<widget class="KDateWidget">
<widget class="QLabel">
<property name="name">
<cstring>kDateWidget_ZiGiltAb</cstring>
<cstring>textLabel5_3</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>50</y>
<width>216</width>
<height>23</height>
<x>10</x>
<y>110</y>
<width>93</width>
<height>20</height>
</rect>
</property>
<property name="date">
<date>
<year>2008</year>
<month>1</month>
<day>1</day>
</date>
<property name="text">
<string>Summe Zinsen</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel12</cstring>
<cstring>textLabel1_5_2</cstring>
</property>
<property name="geometry">
<rect>
<x>370</x>
<x>630</x>
<y>20</y>
<width>73</width>
<width>16</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zuschuss</string>
<string>%</string>
</property>
</widget>
<widget class="QCheckBox">
<widget class="QLabel">
<property name="name">
<cstring>checkBox_Rate</cstring>
<cstring>textLabel7_3</cstring>
</property>
<property name="geometry">
<rect>
<x>370</x>
<y>120</y>
<width>120</width>
<x>260</x>
<y>50</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Raten&amp;vorgabe</string>
<string>EUR</string>
</property>
<property name="accel">
<string>Alt+V</string>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_4</cstring>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QCheckBox">
<widget class="QLabel">
<property name="name">
<cstring>checkBox_Runden</cstring>
<cstring>textLabel7_5</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>80</width>
<x>260</x>
<y>110</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>R&amp;unden</string>
<string>EUR</string>
</property>
<property name="accel">
<string>Alt+U</string>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_6</cstring>
</property>
<property name="geometry">
<rect>
<x>620</x>
<y>50</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QCheckBox">
<widget class="QLabel">
<property name="name">
<cstring>checkBox_RechUltimo</cstring>
<cstring>textLabel7_7</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>140</width>
<x>620</x>
<y>80</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Bere&amp;chnen Ultimo</string>
<string>EUR</string>
</property>
<property name="accel">
<string>Alt+C</string>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7_8</cstring>
</property>
<property name="geometry">
<rect>
<x>620</x>
<y>110</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>EUR</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_5</cstring>
<cstring>textLabel13</cstring>
</property>
<property name="geometry">
<rect>
<x>630</x>
<x>310</x>
<y>20</y>
<width>16</width>
<width>97</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>%</string>
<string>Effektivzinssatz</string>
</property>
</widget>
<widget class="QCheckBox">
<widget class="QLabel">
<property name="name">
<cstring>checkBox_ZiChange</cstring>
<cstring>textLabel6</cstring>
</property>
<property name="geometry">
<rect>
<x>500</x>
<y>120</y>
<width>140</width>
<x>310</x>
<y>50</y>
<width>130</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&amp;Zinssatzänderung</string>
<string>Annuitätenzuschuss</string>
</property>
<property name="accel">
<string>Alt+Z</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel5_2</cstring>
<cstring>textLabel8_2</cstring>
</property>
<property name="geometry">
<rect>
<x>370</x>
<x>310</x>
<y>80</y>
<width>87</width>
<width>160</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Ann.Zuschuss</string>
<string>Summe Annuitätenzusch.</string>
</property>
</widget>
<widget class="KDoubleNumInput">
<widget class="QLabel">
<property name="name">
<cstring>kDoubleNumInput_AnnZuschuss</cstring>
<cstring>textLabel9_2</cstring>
</property>
<property name="geometry">
<rect>
<x>500</x>
<x>310</x>
<y>110</y>
<width>110</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zinsenzuschuss</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_GesBelast</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>20</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgRate</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>50</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgLRate</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>80</y>
<width>120</width>
<height>25</height>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="maxValue">
<number>1e+07</number>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgZinsen</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>110</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_EffZi</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>20</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgSumAnnZusch</cstring>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>80</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgZiZusch</cstring>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>110</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>lineEdit_ErgAnnZusch</cstring>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>50</y>
<width>140</width>
<height>23</height>
</rect>
</property>
<property name="alignment">
<set>AlignRight</set>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3_3</cstring>
<cstring>textLabel7</cstring>
</property>
<property name="geometry">
<rect>
<x>370</x>
<y>50</y>
<width>65</width>
<x>260</x>
<y>20</y>
<width>30</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zuschuss</string>
<string>EUR</string>
</property>
</widget>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox3</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>660</width>
<height>150</height>
</rect>
</property>
<property name="title">
<string>Zinssatz</string>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel10</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>73</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zinssatz</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
<property name="geometry">
<rect>
<x>630</x>
<y>20</y>
<width>16</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>%</string>
</property>
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>kDoubleNumInput_AnnZuschuss</cstring>
</property>
<property name="geometry">
<rect>
<x>500</x>
<y>80</y>
<width>120</width>
<height>25</height>
</rect>
</property>
<property name="maxValue">
<number>1e+07</number>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel6_3_2</cstring>
</property>
<property name="geometry">
1863,20 → 1722,90
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>kDoubleNumInput_ZuschFix</cstring>
<cstring>kDoubleNumInput_Zinssatz</cstring>
</property>
<property name="geometry">
<rect>
<x>500</x>
<y>50</y>
<x>110</x>
<y>20</y>
<width>120</width>
<height>25</height>
</rect>
</property>
<property name="maxValue">
<number>2e+07</number>
<number>100</number>
</property>
<property name="precision">
<number>3</number>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3_3</cstring>
</property>
<property name="geometry">
<rect>
<x>410</x>
<y>50</y>
<width>65</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zuschuss</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel12</cstring>
</property>
<property name="geometry">
<rect>
<x>410</x>
<y>20</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Zuschuss</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>radioButton_ZuschF</cstring>
</property>
<property name="geometry">
<rect>
<x>390</x>
<y>50</y>
<width>16</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>radioButton_ZuschP</cstring>
</property>
<property name="geometry">
<rect>
<x>390</x>
<y>20</y>
<width>16</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string></string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>kDoubleNumInput_ZiZuschuss</cstring>
1899,24 → 1828,133
<number>3</number>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel5_2</cstring>
</property>
<property name="geometry">
<rect>
<x>400</x>
<y>80</y>
<width>87</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Ann.Zuschuss</string>
</property>
</widget>
<widget class="KDateWidget">
<property name="name">
<cstring>kDateWidget_ZiGiltAb</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>80</y>
<width>216</width>
<height>23</height>
</rect>
</property>
<property name="date">
<date>
<year>2008</year>
<month>1</month>
<day>1</day>
</date>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel11</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>gültig ab</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_ZiChange</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>140</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&amp;Zinssatzänderung</string>
</property>
<property name="accel">
<string>Alt+Z</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_RechUltimo</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>140</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Bere&amp;chnen Ultimo</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_Runden</cstring>
</property>
<property name="geometry">
<rect>
<x>400</x>
<y>120</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>R&amp;unden</string>
</property>
<property name="accel">
<string>Alt+U</string>
</property>
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>kDoubleNumInput_Zinssatz</cstring>
<cstring>kDoubleNumInput_ZuschFix</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>20</y>
<x>500</x>
<y>50</y>
<width>120</width>
<height>25</height>
</rect>
</property>
<property name="maxValue">
<number>100</number>
<number>2e+07</number>
</property>
<property name="precision">
<number>3</number>
</property>
</widget>
</widget>
</widget>
2581,6 → 2619,18
<receiver>Tilgungsplan</receiver>
<slot>txRaSepSlot()</slot>
</connection>
<connection>
<sender>radioButton_ZuschP</sender>
<signal>toggled(bool)</signal>
<receiver>Tilgungsplan</receiver>
<slot>rbZuschPSlot()</slot>
</connection>
<connection>
<sender>radioButton_ZuschF</sender>
<signal>toggled(bool)</signal>
<receiver>Tilgungsplan</receiver>
<slot>rbZuschFSlot()</slot>
</connection>
</connections>
<tabstops>
<tabstop>kDoubleNumInput_Betrag</tabstop>
2588,15 → 2638,17
<tabstop>comboBox_verzart</tabstop>
<tabstop>kDoubleNumInput_Fixspesen</tabstop>
<tabstop>kDoubleNumInput_Zinssatz</tabstop>
<tabstop>checkBox_Runden</tabstop>
<tabstop>checkBox_ZiChange</tabstop>
<tabstop>checkBox_RechUltimo</tabstop>
<tabstop>radioButton_ZuschP</tabstop>
<tabstop>kDoubleNumInput_ZiZuschuss</tabstop>
<tabstop>radioButton_ZuschF</tabstop>
<tabstop>kDoubleNumInput_ZuschFix</tabstop>
<tabstop>kDoubleNumInput_AnnZuschuss</tabstop>
<tabstop>checkBox_Rate</tabstop>
<tabstop>checkBox_ZiChange</tabstop>
<tabstop>checkBox_Runden</tabstop>
<tabstop>kIntNumInput_AnzRaten</tabstop>
<tabstop>kDoubleNumInput_Rate</tabstop>
<tabstop>checkBox_Rate</tabstop>
<tabstop>comboBox_Ratart</tabstop>
<tabstop>checkBox_RaJan</tabstop>
<tabstop>checkBox_RaFeb</tabstop>
2678,6 → 2730,8
<slot>numAnnZuschSlot()</slot>
<slot>mnInputZiSlot()</slot>
<slot>numSpesenSlot()</slot>
<slot>rbZuschPSlot()</slot>
<slot>rbZuschFSlot()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
2694,7 → 2748,6
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>kdatewidget.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
2701,6 → 2754,7
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>kdatewidget.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
</includehints>
/tilgungsplan/trunk/src/Makefile.in
57,14 → 57,14
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_tilgungsplan_OBJECTS = helper.$(OBJEXT) main.$(OBJEXT) \
tilgungsplan.$(OBJEXT) tilgungsplanwidget.$(OBJEXT) \
tprech.$(OBJEXT) ziaendwidget.$(OBJEXT)
tilgrech.$(OBJEXT) tilgungsplan.$(OBJEXT) \
tilgungsplanwidget.$(OBJEXT) ziaendwidget.$(OBJEXT)
#>- tilgungsplan_OBJECTS = $(am_tilgungsplan_OBJECTS)
#>+ 6
tilgungsplan_final_OBJECTS = tilgungsplan.all_cpp.o
tilgungsplan_nofinal_OBJECTS = helper.$(OBJEXT) main.$(OBJEXT) \
tilgungsplan.$(OBJEXT) tilgungsplanwidget.$(OBJEXT) \
tprech.$(OBJEXT) ziaendwidget.$(OBJEXT) tilgungsplanwidgetbase.$(OBJEXT) zinssatzaenderung.$(OBJEXT)
tilgrech.$(OBJEXT) tilgungsplan.$(OBJEXT) \
tilgungsplanwidget.$(OBJEXT) ziaendwidget.$(OBJEXT) tilgungsplanwidgetbase.$(OBJEXT) zinssatzaenderung.$(OBJEXT)
@KDE_USE_FINAL_FALSE@tilgungsplan_OBJECTS = $(tilgungsplan_nofinal_OBJECTS)
@KDE_USE_FINAL_TRUE@tilgungsplan_OBJECTS = $(tilgungsplan_final_OBJECTS)
am__DEPENDENCIES_1 =
365,13 → 365,11
KDE_ICON = AUTO
 
# the application source, library search path, and link libraries
#>- tilgungsplan_SOURCES = helper.cpp main.cpp tilgungsplan.cpp \
#>- tilgungsplanwidget.cpp tilgungsplanwidgetbase.ui tprech.cpp ziaendwidget.cpp \
#>- zinssatzaenderung.ui
#>+ 3
tilgungsplan_SOURCES=helper.cpp main.cpp tilgungsplan.cpp \
tilgungsplanwidget.cpp tprech.cpp ziaendwidget.cpp \
tilgungsplanwidgetbase.cpp zinssatzaenderung.cpp
#>- tilgungsplan_SOURCES = helper.cpp main.cpp tilgrech.cpp tilgungsplan.cpp \
#>- tilgungsplanwidget.cpp tilgungsplanwidgetbase.ui ziaendwidget.cpp zinssatzaenderung.ui
#>+ 2
tilgungsplan_SOURCES=helper.cpp main.cpp tilgrech.cpp tilgungsplan.cpp \
tilgungsplanwidget.cpp ziaendwidget.cpp tilgungsplanwidgetbase.cpp zinssatzaenderung.cpp
 
tilgungsplan_LDFLAGS = $(KDE_RPATH) $(all_libraries)
tilgungsplan_LDADD = $(LIB_KDEUI)
471,9 → 469,9
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/helper.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilgrech.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilgungsplan.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilgungsplanwidget.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tprech.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ziaendwidget.Po@am__quote@
 
.cpp.o:
755,7 → 753,7
-rm -f ziaendwidget.moc tilgungsplanwidget.moc tilgungsplan.moc
 
#>+ 2
KDE_DIST=350px-CO1EURO_50.JPG Makefile.in down.png helper.h tilgungsplan.desktop tilgungsplan.lsm tilgrech.cpp zinssatzaenderung.ui tilgungsplanwidgetbase.ui tprech.h tilgungsplanui.rc tilgplan.h hi16-app-tilgungsplan.png up.png Makefile.am hi32-app-tilgungsplan.png
KDE_DIST=350px-CO1EURO_50.JPG Makefile.in down.png helper.h tilgungsplan.desktop tilgungsplan.lsm zinssatzaenderung.ui tilgungsplanwidgetbase.ui tprech.h tilgungsplanui.rc tilgplan.h hi16-app-tilgungsplan.png up.png Makefile.am tprech.cpp hi32-app-tilgungsplan.png
 
#>+ 5
clean-ui:
816,11 → 814,11
 
 
#>+ 11
tilgungsplan.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/helper.cpp $(srcdir)/main.cpp $(srcdir)/tilgungsplan.cpp $(srcdir)/tilgungsplanwidget.cpp $(srcdir)/tprech.cpp $(srcdir)/ziaendwidget.cpp tilgungsplanwidgetbase.cpp zinssatzaenderung.cpp tilgungsplanwidget.moc ziaendwidget.moc zinssatzaenderung.moc tilgungsplan.moc tilgungsplanwidgetbase.moc
tilgungsplan.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/helper.cpp $(srcdir)/main.cpp $(srcdir)/tilgrech.cpp $(srcdir)/tilgungsplan.cpp $(srcdir)/tilgungsplanwidget.cpp $(srcdir)/ziaendwidget.cpp tilgungsplanwidgetbase.cpp zinssatzaenderung.cpp tilgungsplanwidget.moc ziaendwidget.moc zinssatzaenderung.moc tilgungsplan.moc tilgungsplanwidgetbase.moc
@echo 'creating tilgungsplan.all_cpp.cpp ...'; \
rm -f tilgungsplan.all_cpp.files tilgungsplan.all_cpp.final; \
echo "#define KDE_USE_FINAL 1" >> tilgungsplan.all_cpp.final; \
for file in helper.cpp main.cpp tilgungsplan.cpp tilgungsplanwidget.cpp tprech.cpp ziaendwidget.cpp tilgungsplanwidgetbase.cpp zinssatzaenderung.cpp ; do \
for file in helper.cpp main.cpp tilgrech.cpp tilgungsplan.cpp tilgungsplanwidget.cpp ziaendwidget.cpp tilgungsplanwidgetbase.cpp zinssatzaenderung.cpp ; do \
echo "#include \"$$file\"" >> tilgungsplan.all_cpp.files; \
test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> tilgungsplan.all_cpp.final; \
done; \
855,9 → 853,9
$(srcdir)/helper.cpp: tilgungsplanwidgetbase.h zinssatzaenderung.h
$(srcdir)/main.cpp: tilgungsplanwidgetbase.h zinssatzaenderung.h
tilgungsplanwidget.lo: tilgungsplanwidget.moc
$(srcdir)/tprech.cpp: tilgungsplanwidgetbase.h zinssatzaenderung.h
$(srcdir)/tilgungsplanwidget.cpp: tilgungsplanwidgetbase.h zinssatzaenderung.h
tilgungsplanwidget.o: tilgungsplanwidget.moc
$(srcdir)/tilgrech.cpp: tilgungsplanwidgetbase.h zinssatzaenderung.h
nmcheck:
nmcheck-am: nmcheck
$(srcdir)/tilgungsplan.cpp: tilgungsplanwidgetbase.h zinssatzaenderung.h
/tilgungsplan/trunk/src/tilgungsplan.cpp
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
18,7 → 17,6
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
 
#include <kmainwindow.h>
#include <klocale.h>
 
/tilgungsplan/trunk/src/zinssatzaenderung.ui
40,59 → 40,6
<property name="modal">
<bool>true</bool>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton_Save</cstring>
</property>
<property name="geometry">
<rect>
<x>50</x>
<y>360</y>
<width>130</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Speichern</string>
</property>
<property name="accel">
<string>Alt+S</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Speichert den Inhalt der Tabelle</string>
</property>
<property name="whatsThis" stdset="0">
<string>Der Button speichert den Inhalt der Tabelle und schliesst die Dialogbox</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton_Cancel</cstring>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>360</y>
<width>130</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Schliessen</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
<property name="toolTip" stdset="0">
<string>Schliesst den Dialog. Alle Eingaben werden verworfen!</string>
</property>
<property name="whatsThis" stdset="0">
<string>Der Button schliesst die Dialogbox und verwirft alle durchgeführten Änderungen.</string>
</property>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>groupBox7</cstring>
190,52 → 137,71
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>kDoubleNumInput_Zinssatz</cstring>
<cstring>kDoubleNumInput_Rate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>50</y>
<y>80</y>
<width>120</width>
<height>25</height>
</rect>
</property>
<property name="maxValue">
<number>100</number>
<number>2e+07</number>
</property>
<property name="suffix">
<string></string>
</property>
<property name="precision">
<number>3</number>
</property>
<property name="toolTip" stdset="0">
<string>Neuer Zinssatz der ab dem angegebenen Datum gilt</string>
<string>Neu Rate, welche ab dem angegebenen Datum gilt, wenn "Ratenvorgabe" aktiviert ist.</string>
</property>
<property name="whatsThis" stdset="0">
<string>Eingabefeld für einen Zinnsatz im Bereich 0 bis 100%</string>
<string>Eingabefeld zur Erfassung der Ratenhöhe. Der Inhalt wird nur dann in der Berechnung berücksichtigt, wenn "Ratenvorgabe" aktiviert wurde.</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_Rate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>110</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Ratenvorgabe</string>
</property>
<property name="toolTip" stdset="0">
<string>Definiert, dass die angegebene Rate ab dem Datum fix verwendet werden soll.</string>
</property>
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>kDoubleNumInput_Rate</cstring>
<cstring>kDoubleNumInput_Zinssatz</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>80</y>
<y>50</y>
<width>120</width>
<height>25</height>
</rect>
</property>
<property name="maxValue">
<number>2e+07</number>
<number>100</number>
</property>
<property name="suffix">
<string></string>
</property>
<property name="precision">
<number>3</number>
</property>
<property name="toolTip" stdset="0">
<string>Neu Rate, welche ab dem angegebenen Datum gilt, wenn "Ratenvorgabe" aktiviert ist.</string>
<string>Neuer Zinssatz der ab dem angegebenen Datum gilt</string>
</property>
<property name="whatsThis" stdset="0">
<string>Eingabefeld zur Erfassung der Ratenhöhe. Der Inhalt wird nur dann in der Berechnung berücksichtigt, wenn "Ratenvorgabe" aktiviert wurde.</string>
<string>Eingabefeld für einen Zinnsatz im Bereich 0 bis 100%</string>
</property>
</widget>
<widget class="KDateWidget">
250,6 → 216,13
<height>23</height>
</rect>
</property>
<property name="date">
<date>
<year>2008</year>
<month>1</month>
<day>1</day>
</date>
</property>
<property name="toolTip" stdset="0">
<string>Datum, an dem die Zinssatz-/Ratenänderung stattfinden soll.</string>
</property>
259,25 → 232,6
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_Rate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>110</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Ratenvorgabe</string>
</property>
<property name="toolTip" stdset="0">
<string>Definiert, dass die angegebene Rate ab dem Datum fix verwendet werden soll.</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>checkBox_KalkRate</cstring>
</property>
<property name="geometry">
291,6 → 245,9
<property name="text">
<string>Rate neu berechnen</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="KListView">
380,6 → 337,35
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton_Insert</cstring>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>160</y>
<width>100</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Einfügen</string>
<comment>Einfügen</comment>
</property>
<property name="accel">
<string>Alt+E</string>
</property>
<property name="stdItem" stdset="0">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>Inhalt der Eingabezeilen der Tabelle hinzufügen</string>
</property>
<property name="whatsThis" stdset="0">
<string>Button zum Hinzufügen des Inhalts der Eingabezeilen zur Tabelle unten</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton_Remove</cstring>
</property>
<property name="geometry">
393,6 → 379,9
<property name="text">
<string>Entfernen</string>
</property>
<property name="accel">
<string>Alt+N</string>
</property>
<property name="toolTip" stdset="0">
<string>Markierte Zeile der Tabelle entfernen</string>
</property>
402,31 → 391,55
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton_Insert</cstring>
<cstring>kPushButton_Cancel</cstring>
</property>
<property name="geometry">
<rect>
<x>80</x>
<y>160</y>
<width>100</width>
<x>260</x>
<y>360</y>
<width>130</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Einfügen</string>
<comment>Einfügen</comment>
<string>Schliessen</string>
</property>
<property name="accel">
<string></string>
<string>Alt+C</string>
</property>
<property name="stdItem" stdset="0">
<number>0</number>
<property name="toolTip" stdset="0">
<string>Schliesst den Dialog. Alle Eingaben werden verworfen!</string>
</property>
<property name="whatsThis" stdset="0">
<string>Der Button schliesst die Dialogbox und verwirft alle durchgeführten Änderungen.</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton_Save</cstring>
</property>
<property name="geometry">
<rect>
<x>50</x>
<y>360</y>
<width>130</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Speichern</string>
</property>
<property name="accel">
<string>Alt+S</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Inhalt der Eingabezeilen der Tabelle hinzufügen</string>
<string>Speichert den Inhalt der Tabelle</string>
</property>
<property name="whatsThis" stdset="0">
<string>Button zum Hinzufügen des Inhalts der Eingabezeilen zur Tabelle unten</string>
<string>Der Button speichert den Inhalt der Tabelle und schliesst die Dialogbox</string>
</property>
</widget>
</widget>
515,8 → 528,6
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
525,5 → 536,7
<includehint>klistview.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
</includehints>
</UI>
/tilgungsplan/trunk/src/tilgungsplanwidget.cpp
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
18,6 → 17,10
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
#ifndef _ZINSAENDERUNG
#define _ZINSAENDERUNG
#endif
 
#include <klineedit.h>
#include <kmessagebox.h>
#include <klocale.h>
25,6 → 28,7
#include <kcombobox.h>
#include <knuminput.h>
#include <qcheckbox.h>
#include <qradiobutton.h>
 
#include <stdlib.h>
#include <iostream.h>
64,6 → 68,9
checkBox_RaOkt->setChecked(TRUE);
checkBox_RaNov->setChecked(TRUE);
checkBox_RaDez->setChecked(TRUE);
#ifndef _ZINSAENDERUNG
checkBox_ZiChange->setProperty("enabled", QVariant("FALSE"));
#endif
}
 
tilgungsplanWidget::~tilgungsplanWidget()
81,8 → 88,16
// Zuweisen der Inhalte der Widgets zur internen Parameterstruktur.
TpPars.effformel = 0.0;
TpPars.gewicht = 0.0;
TpPars.tageb = comboBox_tageber->currentItem();
TpPars.verzart = comboBox_verzart->currentItem();
TpPars.tageb = comboBox_tageber->currentItem() + 1;
 
switch (comboBox_verzart->currentItem())
{
case 0: TpPars.verzart = 0; break; // Dekursiv
case 1: TpPars.verzart = 3; break; // Antizipativ
case 2: TpPars.verzart = 7; break; // Dekursiv; Zinsen am Beg.d. Absclussp.
case 3: TpPars.verzart = 4; break; // Unverzinst
}
 
TpPars.ratenart = comboBox_Ratart->currentItem();
TpPars.valuta = comboBox_valuta->currentItem();
TpPars.zssoll = kDoubleNumInput_Zinssatz->value();
138,7 → 153,11
TpPars.runden = checkBox_Runden->isChecked();
TpPars.mehrfach = FALSE;
TpPars.laufstop = FALSE;
#ifdef _ZINSAENDERUNG
TpPars.ziaend = checkBox_ZiChange->isChecked();
#else
TpPars.ziaend = FALSE;
#endif
TpPars.effekt = TRUE;
TpPars.fixrate = checkBox_Rate->isChecked();
 
212,8 → 231,12
lineEdit_ErgSumAnnZusch->clear();
return;
}
// cout << "Effektivzinssätze: " << TpPars.effformel << ", " << TpPars.gewicht << endl;
PointNumber(TpPars.effformel, 3, &hv0[0]);
 
if (TpPars.effformel > 0.0)
PointNumber(TpPars.effformel, 3, &hv0[0]);
else
PointNumber(TpPars.gewicht, 3, &hv0[0]);
 
lineEdit_EffZi->clear();
lineEdit_EffZi->insert(hv0);
 
341,13 → 364,8
void tilgungsplanWidget::mnInputZiSlot()
{
ziaendWidget *dlg = new ziaendWidget(this, "ziaendWidgetBase", TRUE, 0);
QString zia;
 
if (dlg->exec() == QDialog::Accepted)
zia = QString::fromUtf8(".zinstbl.dat");
else
zia = QString::fromUtf8("");
 
dlg->exec();
delete dlg;
}
 
375,6 → 393,38
void tilgungsplanWidget::numFixspesenSlot()
{}
 
void tilgungsplanWidget::rbZuschPSlot()
{
if (radioButton_ZuschP->isChecked())
{
kDoubleNumInput_ZiZuschuss->setProperty("enabled", QVariant("TRUE"));
kDoubleNumInput_ZuschFix->setProperty("enabled", QVariant("FALSE"));
radioButton_ZuschF->setChecked(FALSE);
}
else
{
kDoubleNumInput_ZiZuschuss->setProperty("enabled", QVariant("FALSE"));
kDoubleNumInput_ZuschFix->setProperty("enabled", QVariant("TRUE"));
radioButton_ZuschF->setChecked(TRUE);
}
}
 
void tilgungsplanWidget::rbZuschFSlot()
{
if (radioButton_ZuschF->isChecked())
{
kDoubleNumInput_ZiZuschuss->setProperty("enabled", QVariant("FALSE"));
kDoubleNumInput_ZuschFix->setProperty("enabled", QVariant("TRUE"));
radioButton_ZuschP->setChecked(FALSE);
}
else
{
kDoubleNumInput_ZiZuschuss->setProperty("enabled", QVariant("TRUE"));
kDoubleNumInput_ZuschFix->setProperty("enabled", QVariant("FALSE"));
radioButton_ZuschP->setChecked(TRUE);
}
}
 
void tilgungsplanWidget::cbRundenSlot()
{}
 
/tilgungsplan/trunk/src/tilgungsplan.h
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
/tilgungsplan/trunk/src/ziaendwidget.cpp
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
29,7 → 28,7
#include <qdir.h>
#include <qlistview.h>
 
#include <iostream.h>
//#include <iostream.h>
 
#include "ziaendwidget.h"
#include "tilgplan.h"
54,6 → 53,7
kListView_Table->setColumnAlignment(3, Qt::AlignCenter);
kListView_Table->setColumnWidth(4, 60);
kListView_Table->setColumnAlignment(4, Qt::AlignCenter);
kListView_Table->setSortColumn(0);
 
hdir.append("/.zinsaend.dat");
zaf.setName(hdir);
71,8 → 71,8
rv[0] = (Zi.FixRate) ? 'F' : 'N';
ber[0] = (Zi.Rate) ? 'B' : 'N';
rv[1] = ber[1] = 0;
cout << datum << ", " << prz << ", " << rate << ", " << rv << ", " << ber << endl;
QListViewItem *element = new QListViewItem(kListView_Table, i18n(datum), i18n(prz), i18n(rate), i18n(rv), i18n(ber));
 
QListViewItem *element = new QListViewItem(kListView_Table, QString(datum), QString(prz), QString(rate), QString(rv), QString(ber));
kListView_Table->insertItem(element);
}
 
142,8 → 142,8
Zi.Datum = get_date ((char *)item->text(0).ascii());
Zi.Zins = item->text(1).toDouble();
Zi.NewRate = item->text(2).toDouble();
Zi.Rate = (!strcmp(item->text(3).ascii(), "N")) ? 0 : 1;
Zi.FixRate = (!strcmp(item->text(4).ascii(), "N")) ? 0 : 1;
Zi.FixRate = (!strcmp(item->text(3).ascii(), "N")) ? 0 : 1;
Zi.Rate = (!strcmp(item->text(4).ascii(), "N")) ? 0 : 1;
 
write (fd, &Zi, sizeof(ZIAEND));
}
/tilgungsplan/trunk/src/helper.cpp
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
67,7 → 66,7
long get_date (char *sdate)
{
int tag,mon,year,i,j,pos,len,punkt;
char zw[21],hv0[21];
char zw[21];
char *beg,*end;
 
if (sdate == NULL || strlen (sdate) < 6)
177,7 → 176,7
long get_gebos_date (char *sdate, int kenn)
{
int tag,mon,year,i,j,pos,len,punkt;
char zw[21],hv0[21];
char zw[21];
char *beg,*end;
 
if (!kenn)
/tilgungsplan/trunk/src/tilgungsplanwidget.h
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
22,7 → 21,7
#define TILGUNGSPLANWIDGET_H
 
#include "tilgungsplanwidgetbase.h"
#include "tprech.h"
#include "tilgplan.h"
 
class tilgungsplanWidget : public tilgungsplanWidgetBase
{
91,6 → 90,8
virtual void fileNew();
virtual void lbValutaSlot();
virtual void cbAbschlSlot();
virtual void rbZuschPSlot();
virtual void rbZuschFSlot();
 
protected:
/*$PROTECTED_FUNCTIONS$*/
/tilgungsplan/trunk/src/ziaendwidget.h
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
/tilgungsplan/trunk/src/main.cpp
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
28,7 → 27,7
static const char description[] =
I18N_NOOP("A KDE KPart Application");
 
static const char version[] = "0.1";
static const char version[] = "0.2";
 
static KCmdLineOptions options[] =
{
/tilgungsplan/trunk/src/helper.h
1,11 → 1,10
/***************************************************************************
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* Copyright (C) 2007 by Andreas Theofilu *
* andreas@TheoSys.at *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* the Free Software Foundation version 3 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
/tilgungsplan/trunk/src/Makefile.am
22,9 → 22,8
bin_PROGRAMS = tilgungsplan
 
# the application source, library search path, and link libraries
tilgungsplan_SOURCES = helper.cpp main.cpp tilgungsplan.cpp \
tilgungsplanwidget.cpp tilgungsplanwidgetbase.ui tprech.cpp ziaendwidget.cpp \
zinssatzaenderung.ui
tilgungsplan_SOURCES = helper.cpp main.cpp tilgrech.cpp tilgungsplan.cpp \
tilgungsplanwidget.cpp tilgungsplanwidgetbase.ui ziaendwidget.cpp zinssatzaenderung.ui
tilgungsplan_LDFLAGS = $(KDE_RPATH) $(all_libraries)
tilgungsplan_LDADD = $(LIB_KDEUI)