Skip to content

Commit

Permalink
Merge pull request #93 from Josh-Voyles/hoa
Browse files Browse the repository at this point in the history
Resolved: #73 Resolved: #74 enable HOA, connect back end, build tests…
  • Loading branch information
YouKnowJoey authored Jun 18, 2024
2 parents f35d3ff + c628b37 commit d55cf8e
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 116 deletions.
98 changes: 49 additions & 49 deletions home-choice-pro/resources/main_window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="text">
<string>Monthly Payment:</string>
<string>Monthly Budget:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
Expand Down Expand Up @@ -999,7 +999,7 @@ QPushButton:hover {
</layout>
</item>
<item>
<spacer name="scrollSpacerV4">
<spacer name="scrollSpacerV8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand Down Expand Up @@ -1134,7 +1134,7 @@ QPushButton:hover {
</layout>
</item>
<item>
<spacer name="scrollSpacerV5">
<spacer name="scrollSpacerV4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -1147,9 +1147,9 @@ QPushButton:hover {
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="propertyTaxLayout">
<layout class="QHBoxLayout" name="HOALayout">
<item>
<spacer name="propertyTaxSpaceH1">
<spacer name="HOASpacerH1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1165,7 +1165,7 @@ QPushButton:hover {
</spacer>
</item>
<item>
<widget class="QLabel" name="propertyTaxLabel">
<widget class="QLabel" name="HOALabel">
<property name="minimumSize">
<size>
<width>200</width>
Expand All @@ -1176,18 +1176,18 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="text">
<string>Property Tax:</string>
<string>Expected HOA:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>propertyTaxEdit</cstring>
<cstring>HOAEdit</cstring>
</property>
</widget>
</item>
<item>
<spacer name="propertyTaxSpaceH2">
<spacer name="HOASpacerH2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1203,9 +1203,9 @@ QPushButton:hover {
</spacer>
</item>
<item>
<widget class="QLineEdit" name="propertyTaxEdit">
<widget class="QLineEdit" name="HOAEdit">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
Expand Down Expand Up @@ -1234,17 +1234,17 @@ QPushButton:hover {
</widget>
</item>
<item>
<widget class="QLabel" name="propertyTaxDollarLabel">
<widget class="QLabel" name="dollarMOLabel">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>$</string>
<string>$/mo</string>
</property>
</widget>
</item>
<item>
<spacer name="propertyTaxSpaceH3">
<spacer name="HOASpacerH3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1259,7 +1259,7 @@ QPushButton:hover {
</layout>
</item>
<item>
<spacer name="scrollSpacerV6">
<spacer name="scrollSpacerV5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -1272,9 +1272,9 @@ QPushButton:hover {
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="PMILayout">
<layout class="QHBoxLayout" name="propertyTaxLayout">
<item>
<spacer name="PMISpacerH1">
<spacer name="propertyTaxSpaceH1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1289,8 +1289,8 @@ QPushButton:hover {
</property>
</spacer>
</item>
<item alignment="Qt::AlignRight">
<widget class="QLabel" name="PMILabel">
<item>
<widget class="QLabel" name="propertyTaxLabel">
<property name="minimumSize">
<size>
<width>200</width>
Expand All @@ -1301,18 +1301,18 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="text">
<string>PMI:</string>
<string>Property Tax:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>PMIEdit</cstring>
<cstring>propertyTaxEdit</cstring>
</property>
</widget>
</item>
<item>
<spacer name="PMISpacerH2">
<spacer name="propertyTaxSpaceH2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1328,7 +1328,7 @@ QPushButton:hover {
</spacer>
</item>
<item>
<widget class="QLineEdit" name="PMIEdit">
<widget class="QLineEdit" name="propertyTaxEdit">
<property name="enabled">
<bool>false</bool>
</property>
Expand Down Expand Up @@ -1359,17 +1359,17 @@ QPushButton:hover {
</widget>
</item>
<item>
<widget class="QLabel" name="PMIPercentLabel">
<widget class="QLabel" name="propertyTaxDollarLabel">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>%</string>
<string>$</string>
</property>
</widget>
</item>
<item>
<spacer name="PMISpacerH3">
<spacer name="propertyTaxSpaceH3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1384,7 +1384,7 @@ QPushButton:hover {
</layout>
</item>
<item>
<spacer name="scrollSpacerV7">
<spacer name="scrollSpacerV6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -1397,9 +1397,9 @@ QPushButton:hover {
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="insuranceLayout">
<layout class="QHBoxLayout" name="PMILayout">
<item>
<spacer name="insuranceSpacerH1">
<spacer name="PMISpacerH1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1414,8 +1414,8 @@ QPushButton:hover {
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="insuranceLabel">
<item alignment="Qt::AlignRight">
<widget class="QLabel" name="PMILabel">
<property name="minimumSize">
<size>
<width>200</width>
Expand All @@ -1426,18 +1426,18 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="text">
<string>Insurance:</string>
<string>PMI:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>insuranceEdit</cstring>
<cstring>PMIEdit</cstring>
</property>
</widget>
</item>
<item>
<spacer name="insuranceSpacerH2">
<spacer name="PMISpacerH2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1453,7 +1453,7 @@ QPushButton:hover {
</spacer>
</item>
<item>
<widget class="QLineEdit" name="insuranceEdit">
<widget class="QLineEdit" name="PMIEdit">
<property name="enabled">
<bool>false</bool>
</property>
Expand Down Expand Up @@ -1484,17 +1484,17 @@ QPushButton:hover {
</widget>
</item>
<item>
<widget class="QLabel" name="insDollarYearLabel">
<widget class="QLabel" name="PMIPercentLabel">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>$/yr</string>
<string>%</string>
</property>
</widget>
</item>
<item>
<spacer name="insuranceSpacerH3">
<spacer name="PMISpacerH3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1509,7 +1509,7 @@ QPushButton:hover {
</layout>
</item>
<item>
<spacer name="scrollSpacerV8">
<spacer name="scrollSpacerV7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
Expand All @@ -1522,9 +1522,9 @@ QPushButton:hover {
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="HOALayout">
<layout class="QHBoxLayout" name="insuranceLayout">
<item>
<spacer name="HOASpacerH1">
<spacer name="insuranceSpacerH1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1540,7 +1540,7 @@ QPushButton:hover {
</spacer>
</item>
<item>
<widget class="QLabel" name="HOALabel">
<widget class="QLabel" name="insuranceLabel">
<property name="minimumSize">
<size>
<width>200</width>
Expand All @@ -1551,18 +1551,18 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="text">
<string>HOA</string>
<string>Insurance:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>HOAEdit</cstring>
<cstring>insuranceEdit</cstring>
</property>
</widget>
</item>
<item>
<spacer name="HOASpacerH2">
<spacer name="insuranceSpacerH2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand All @@ -1578,7 +1578,7 @@ QPushButton:hover {
</spacer>
</item>
<item>
<widget class="QLineEdit" name="HOAEdit">
<widget class="QLineEdit" name="insuranceEdit">
<property name="enabled">
<bool>false</bool>
</property>
Expand Down Expand Up @@ -1609,17 +1609,17 @@ QPushButton:hover {
</widget>
</item>
<item>
<widget class="QLabel" name="dollarMOLabel">
<widget class="QLabel" name="insDollarYearLabel">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>$/mo</string>
<string>$/yr</string>
</property>
</widget>
</item>
<item>
<spacer name="HOASpacerH3">
<spacer name="insuranceSpacerH3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
Expand Down
Loading

0 comments on commit d55cf8e

Please sign in to comment.