Morphed all QListViews to QListWidgets

This commit is contained in:
Marcel Kapfer 2020-04-30 21:34:35 +02:00
parent 09ce159d36
commit 0dd70e8461
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
2 changed files with 18 additions and 18 deletions

View file

@ -74,7 +74,7 @@ class Ui_MainWindow(object):
self.verticalLayout_9.addLayout(self.y_basics)
self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
self.v_categories = QtWidgets.QListView(self.t_basics)
self.v_categories = QtWidgets.QListWidget(self.t_basics)
self.v_categories.setObjectName("v_categories")
self.horizontalLayout_16.addWidget(self.v_categories)
self.verticalLayout_8 = QtWidgets.QVBoxLayout()
@ -108,7 +108,7 @@ class Ui_MainWindow(object):
self.t_ingredients.setObjectName("t_ingredients")
self.horizontalLayout_14 = QtWidgets.QHBoxLayout(self.t_ingredients)
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.v_ingredients = QtWidgets.QListView(self.t_ingredients)
self.v_ingredients = QtWidgets.QListWidget(self.t_ingredients)
self.v_ingredients.setObjectName("v_ingredients")
self.horizontalLayout_14.addWidget(self.v_ingredients)
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
@ -150,7 +150,7 @@ class Ui_MainWindow(object):
self.t_utensils.setObjectName("t_utensils")
self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.t_utensils)
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
self.v_utensils = QtWidgets.QListView(self.t_utensils)
self.v_utensils = QtWidgets.QListWidget(self.t_utensils)
self.v_utensils.setObjectName("v_utensils")
self.horizontalLayout_11.addWidget(self.v_utensils)
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
@ -194,7 +194,7 @@ class Ui_MainWindow(object):
self.b_step_add.setObjectName("b_step_add")
self.horizontalLayout_9.addWidget(self.b_step_add)
self.verticalLayout_5.addLayout(self.horizontalLayout_9)
self.v_steps = QtWidgets.QListView(self.t_steps)
self.v_steps = QtWidgets.QListWidget(self.t_steps)
self.v_steps.setObjectName("v_steps")
self.verticalLayout_5.addWidget(self.v_steps)
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
@ -224,7 +224,7 @@ class Ui_MainWindow(object):
self.b_note_add.setObjectName("b_note_add")
self.horizontalLayout_7.addWidget(self.b_note_add)
self.verticalLayout_4.addLayout(self.horizontalLayout_7)
self.v_notes = QtWidgets.QListView(self.t_notes)
self.v_notes = QtWidgets.QListWidget(self.t_notes)
self.v_notes.setObjectName("v_notes")
self.verticalLayout_4.addWidget(self.v_notes)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
@ -254,7 +254,7 @@ class Ui_MainWindow(object):
self.e_tip_add.setObjectName("e_tip_add")
self.horizontalLayout_5.addWidget(self.e_tip_add)
self.verticalLayout_2.addLayout(self.horizontalLayout_5)
self.v_tips = QtWidgets.QListView(self.t_tips)
self.v_tips = QtWidgets.QListWidget(self.t_tips)
self.v_tips.setObjectName("v_tips")
self.verticalLayout_2.addWidget(self.v_tips)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
@ -284,7 +284,7 @@ class Ui_MainWindow(object):
self.b_variation_add.setObjectName("b_variation_add")
self.horizontalLayout_3.addWidget(self.b_variation_add)
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
self.v_variations = QtWidgets.QListView(self.t_variations)
self.v_variations = QtWidgets.QListWidget(self.t_variations)
self.v_variations.setObjectName("v_variations")
self.verticalLayout_3.addWidget(self.v_variations)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
@ -314,7 +314,7 @@ class Ui_MainWindow(object):
self.b_rating_add.setObjectName("b_rating_add")
self.horizontalLayout_2.addWidget(self.b_rating_add)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.v_ratings = QtWidgets.QListView(self.t_rating)
self.v_ratings = QtWidgets.QListWidget(self.t_rating)
self.v_ratings.setObjectName("v_ratings")
self.verticalLayout.addWidget(self.v_ratings)
self.horizontalLayout = QtWidgets.QHBoxLayout()
@ -347,7 +347,7 @@ class Ui_MainWindow(object):
self.menuBar.addAction(self.menuMen.menuAction())
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
self.tabWidget.setCurrentIndex(7)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.e_recipe_name, self.e_servings)
MainWindow.setTabOrder(self.e_servings, self.e_time)

View file

@ -68,7 +68,7 @@
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>7</number>
</property>
<widget class="QWidget" name="t_basics">
<attribute name="title">
@ -139,7 +139,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_16">
<item>
<widget class="QListView" name="v_categories"/>
<widget class="QListWidget" name="v_categories"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
@ -213,7 +213,7 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QListView" name="v_ingredients"/>
<widget class="QListWidget" name="v_ingredients"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
@ -302,7 +302,7 @@
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QListView" name="v_utensils"/>
<widget class="QListWidget" name="v_utensils"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
@ -401,7 +401,7 @@
</layout>
</item>
<item>
<widget class="QListView" name="v_steps"/>
<widget class="QListWidget" name="v_steps"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_10">
@ -469,7 +469,7 @@
</layout>
</item>
<item>
<widget class="QListView" name="v_notes"/>
<widget class="QListWidget" name="v_notes"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
@ -537,7 +537,7 @@
</layout>
</item>
<item>
<widget class="QListView" name="v_tips"/>
<widget class="QListWidget" name="v_tips"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
@ -605,7 +605,7 @@
</layout>
</item>
<item>
<widget class="QListView" name="v_variations"/>
<widget class="QListWidget" name="v_variations"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
@ -673,7 +673,7 @@
</layout>
</item>
<item>
<widget class="QListView" name="v_ratings"/>
<widget class="QListWidget" name="v_ratings"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">