Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusted the labels #1537

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
242 changes: 121 additions & 121 deletions flo2d/ui/conduit_attributes.ui
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>379</width>
<height>663</height>
<width>365</width>
<height>740</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
Expand All @@ -37,24 +37,33 @@
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_3">
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Manning</string>
<item row="8" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_max_flow">
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_8">
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Initial Flow</string>
<string>Length</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<item row="2" column="1" colspan="3">
<widget class="QLabel" name="conduit_outlet">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="text">
<string>Length</string>
<string>-</string>
</property>
</widget>
</item>
Expand All @@ -65,56 +74,55 @@
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Outfall</string>
<item row="5" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_inlet_offset">
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Outlet Offset</string>
<item row="4" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_manning">
<property name="decimals">
<number>3</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="conduit_name"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Inlet Offset</string>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.010000000000000</double>
</property>
<property name="value">
<double>0.010000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
<item row="1" column="1" colspan="3">
<widget class="QLabel" name="conduit_inlet">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximumSize">
<property name="minimumSize">
<size>
<width>200</width>
<height>16777215</height>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="text">
<string>Name</string>
<string>-</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Inlet</string>
<item row="6" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_outlet_offset">
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="conduit_name"/>
</item>
<item row="0" column="2">
<widget class="QToolButton" name="zoom_in_btn">
<property name="text">
Expand All @@ -126,100 +134,102 @@
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QToolButton" name="zoom_out_btn">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normaloff>../img/zoom_out.svg</normaloff>../img/zoom_out.svg</iconset>
<item row="7" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_init_flow">
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3">
<widget class="QLabel" name="conduit_inlet">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Manning</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>-</string>
<string>Outlet Offset</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3">
<widget class="QLabel" name="conduit_outlet">
<property name="enabled">
<bool>false</bool>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Inlet</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>-</string>
<string>Name</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_length">
<property name="maximum">
<double>100000.000000000000000</double>
<item row="0" column="3">
<widget class="QToolButton" name="zoom_out_btn">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset>
<normaloff>../img/zoom_out.svg</normaloff>../img/zoom_out.svg</iconset>
</property>
</widget>
</item>
<item row="4" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_manning">
<property name="decimals">
<number>3</number>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.010000000000000</double>
</property>
<property name="value">
<double>0.010000000000000</double>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Outfall</string>
</property>
</widget>
</item>
<item row="5" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_inlet_offset">
<item row="3" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_length">
<property name="maximum">
<double>100000.000000000000000</double>
</property>
</widget>
</item>
<item row="6" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_outlet_offset">
<property name="maximum">
<double>100000.000000000000000</double>
<item row="7" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Initial Flow</string>
</property>
</widget>
</item>
<item row="7" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_init_flow">
<property name="maximum">
<double>100000.000000000000000</double>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Inlet Offset</string>
</property>
</widget>
</item>
<item row="8" column="1" colspan="3">
<widget class="QDoubleSpinBox" name="conduit_max_flow">
<property name="maximum">
<double>100000.000000000000000</double>
<item row="9" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>Flap Gate</string>
</property>
</widget>
</item>
<item row="9" column="1" colspan="3">
<widget class="QComboBox" name="losses_flapgate"/>
</item>
</layout>
</item>
</layout>
Expand Down Expand Up @@ -382,17 +392,10 @@
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_5">
<item row="3" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>Flapgate Losses</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>Outlet Losses</string>
<string>Exit Loss Coeff.</string>
</property>
</widget>
</item>
Expand All @@ -411,14 +414,7 @@
</size>
</property>
<property name="text">
<string>Inlet Losses</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Average Losses</string>
<string>Entry Loss Coeff.</string>
</property>
</widget>
</item>
Expand All @@ -442,7 +438,14 @@
</property>
</widget>
</item>
<item row="2" column="1">
<item row="2" column="0" rowspan="2">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Avg. Loss Coeff.</string>
</property>
</widget>
</item>
<item row="2" column="1" rowspan="2">
<widget class="QDoubleSpinBox" name="losses_average">
<property name="maximum">
<double>1.000000000000000</double>
Expand All @@ -452,9 +455,6 @@
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="losses_flapgate"/>
</item>
</layout>
</item>
</layout>
Expand Down
Loading