Modified mainwindow ui

This commit is contained in:
Marcel Kapfer 2020-05-03 17:21:12 +02:00
parent 5611f30002
commit bbb20f3d2c
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
2 changed files with 24 additions and 4 deletions

View file

@ -46,18 +46,22 @@ class Ui_MainWindow(object):
self.l_url.setObjectName("l_url") self.l_url.setObjectName("l_url")
self.y_basics.addWidget(self.l_url, 2, 2, 1, 1) self.y_basics.addWidget(self.l_url, 2, 2, 1, 1)
self.e_servings = QtWidgets.QLineEdit(self.t_basics) self.e_servings = QtWidgets.QLineEdit(self.t_basics)
self.e_servings.setText("")
self.e_servings.setObjectName("e_servings") self.e_servings.setObjectName("e_servings")
self.y_basics.addWidget(self.e_servings, 1, 1, 1, 1) self.y_basics.addWidget(self.e_servings, 1, 1, 1, 1)
self.e_url = QtWidgets.QLineEdit(self.t_basics) self.e_url = QtWidgets.QLineEdit(self.t_basics)
self.e_url.setText("")
self.e_url.setObjectName("e_url") self.e_url.setObjectName("e_url")
self.y_basics.addWidget(self.e_url, 2, 3, 1, 1) self.y_basics.addWidget(self.e_url, 2, 3, 1, 1)
self.l_recipe_name = QtWidgets.QLabel(self.t_basics) self.l_recipe_name = QtWidgets.QLabel(self.t_basics)
self.l_recipe_name.setObjectName("l_recipe_name") self.l_recipe_name.setObjectName("l_recipe_name")
self.y_basics.addWidget(self.l_recipe_name, 0, 0, 1, 1) self.y_basics.addWidget(self.l_recipe_name, 0, 0, 1, 1)
self.e_time = QtWidgets.QLineEdit(self.t_basics) self.e_time = QtWidgets.QLineEdit(self.t_basics)
self.e_time.setText("")
self.e_time.setObjectName("e_time") self.e_time.setObjectName("e_time")
self.y_basics.addWidget(self.e_time, 1, 3, 1, 1) self.y_basics.addWidget(self.e_time, 1, 3, 1, 1)
self.e_recipe_name = QtWidgets.QLineEdit(self.t_basics) self.e_recipe_name = QtWidgets.QLineEdit(self.t_basics)
self.e_recipe_name.setText("")
self.e_recipe_name.setObjectName("e_recipe_name") self.e_recipe_name.setObjectName("e_recipe_name")
self.y_basics.addWidget(self.e_recipe_name, 0, 1, 1, 3) self.y_basics.addWidget(self.e_recipe_name, 0, 1, 1, 3)
self.l_servings = QtWidgets.QLabel(self.t_basics) self.l_servings = QtWidgets.QLabel(self.t_basics)

View file

@ -92,10 +92,18 @@
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QLineEdit" name="e_servings"/> <widget class="QLineEdit" name="e_servings">
<property name="text">
<string/>
</property>
</widget>
</item> </item>
<item row="2" column="3"> <item row="2" column="3">
<widget class="QLineEdit" name="e_url"/> <widget class="QLineEdit" name="e_url">
<property name="text">
<string/>
</property>
</widget>
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="l_recipe_name"> <widget class="QLabel" name="l_recipe_name">
@ -105,10 +113,18 @@
</widget> </widget>
</item> </item>
<item row="1" column="3"> <item row="1" column="3">
<widget class="QLineEdit" name="e_time"/> <widget class="QLineEdit" name="e_time">
<property name="text">
<string/>
</property>
</widget>
</item> </item>
<item row="0" column="1" colspan="3"> <item row="0" column="1" colspan="3">
<widget class="QLineEdit" name="e_recipe_name"/> <widget class="QLineEdit" name="e_recipe_name">
<property name="text">
<string/>
</property>
</widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="l_servings"> <widget class="QLabel" name="l_servings">