Added mene item to clear fields
This commit is contained in:
parent
2b9e2292fa
commit
cb139c6fbf
2 changed files with 28 additions and 15 deletions
|
@ -2,9 +2,10 @@
|
||||||
|
|
||||||
# Form implementation generated from reading ui file 'ui_mainwindow.ui'
|
# Form implementation generated from reading ui file 'ui_mainwindow.ui'
|
||||||
#
|
#
|
||||||
# Created by: PyQt5 UI code generator 5.14.2
|
# Created by: PyQt5 UI code generator 5.15.0
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||||
|
# run again. Do not edit this file unless you know what you are doing.
|
||||||
|
|
||||||
|
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||||
|
@ -49,10 +50,6 @@ class Ui_MainWindow(object):
|
||||||
self.e_servings.setText("")
|
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.setText("")
|
|
||||||
self.e_url.setObjectName("e_url")
|
|
||||||
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)
|
||||||
|
@ -75,6 +72,10 @@ class Ui_MainWindow(object):
|
||||||
self.e_rating_overall.setProperty("value", 3)
|
self.e_rating_overall.setProperty("value", 3)
|
||||||
self.e_rating_overall.setObjectName("e_rating_overall")
|
self.e_rating_overall.setObjectName("e_rating_overall")
|
||||||
self.y_basics.addWidget(self.e_rating_overall, 2, 1, 1, 1)
|
self.y_basics.addWidget(self.e_rating_overall, 2, 1, 1, 1)
|
||||||
|
self.e_url = QtWidgets.QLineEdit(self.t_basics)
|
||||||
|
self.e_url.setText("")
|
||||||
|
self.e_url.setObjectName("e_url")
|
||||||
|
self.y_basics.addWidget(self.e_url, 2, 3, 1, 1)
|
||||||
self.verticalLayout_9.addLayout(self.y_basics)
|
self.verticalLayout_9.addLayout(self.y_basics)
|
||||||
self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
|
self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
|
||||||
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
|
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
|
||||||
|
@ -361,15 +362,19 @@ class Ui_MainWindow(object):
|
||||||
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
|
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
|
||||||
MainWindow.setCentralWidget(self.centralwidget)
|
MainWindow.setCentralWidget(self.centralwidget)
|
||||||
self.menuBar = QtWidgets.QMenuBar(MainWindow)
|
self.menuBar = QtWidgets.QMenuBar(MainWindow)
|
||||||
self.menuBar.setGeometry(QtCore.QRect(0, 0, 800, 30))
|
self.menuBar.setGeometry(QtCore.QRect(0, 0, 800, 28))
|
||||||
self.menuBar.setObjectName("menuBar")
|
self.menuBar.setObjectName("menuBar")
|
||||||
self.menuMen = QtWidgets.QMenu(self.menuBar)
|
self.menuMen = QtWidgets.QMenu(self.menuBar)
|
||||||
self.menuMen.setObjectName("menuMen")
|
self.menuMen.setObjectName("menuMen")
|
||||||
MainWindow.setMenuBar(self.menuBar)
|
MainWindow.setMenuBar(self.menuBar)
|
||||||
|
self.ma_clear_fields = QtWidgets.QAction(MainWindow)
|
||||||
|
self.ma_clear_fields.setObjectName("ma_clear_fields")
|
||||||
self.ma_close = QtWidgets.QAction(MainWindow)
|
self.ma_close = QtWidgets.QAction(MainWindow)
|
||||||
self.ma_close.setObjectName("ma_close")
|
self.ma_close.setObjectName("ma_close")
|
||||||
self.ma_information = QtWidgets.QAction(MainWindow)
|
self.ma_information = QtWidgets.QAction(MainWindow)
|
||||||
self.ma_information.setObjectName("ma_information")
|
self.ma_information.setObjectName("ma_information")
|
||||||
|
self.menuMen.addAction(self.ma_clear_fields)
|
||||||
|
self.menuMen.addSeparator()
|
||||||
self.menuMen.addAction(self.ma_information)
|
self.menuMen.addAction(self.ma_information)
|
||||||
self.menuMen.addSeparator()
|
self.menuMen.addSeparator()
|
||||||
self.menuMen.addAction(self.ma_close)
|
self.menuMen.addAction(self.ma_close)
|
||||||
|
@ -454,5 +459,6 @@ class Ui_MainWindow(object):
|
||||||
self.b_rating_remove.setText(_translate("MainWindow", "Entfernen"))
|
self.b_rating_remove.setText(_translate("MainWindow", "Entfernen"))
|
||||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.t_rating), _translate("MainWindow", "Bewertung"))
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.t_rating), _translate("MainWindow", "Bewertung"))
|
||||||
self.menuMen.setTitle(_translate("MainWindow", "Me&nü"))
|
self.menuMen.setTitle(_translate("MainWindow", "Me&nü"))
|
||||||
|
self.ma_clear_fields.setText(_translate("MainWindow", "Eingaben löschen"))
|
||||||
self.ma_close.setText(_translate("MainWindow", "&Schließen"))
|
self.ma_close.setText(_translate("MainWindow", "&Schließen"))
|
||||||
self.ma_information.setText(_translate("MainWindow", "Informationen"))
|
self.ma_information.setText(_translate("MainWindow", "Informationen"))
|
||||||
|
|
|
@ -98,13 +98,6 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="3">
|
|
||||||
<widget class="QLineEdit" name="e_url">
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</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">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -150,6 +143,13 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="2" column="3">
|
||||||
|
<widget class="QLineEdit" name="e_url">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -792,19 +792,26 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>800</width>
|
<width>800</width>
|
||||||
<height>30</height>
|
<height>28</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuMen">
|
<widget class="QMenu" name="menuMen">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Me&nü</string>
|
<string>Me&nü</string>
|
||||||
</property>
|
</property>
|
||||||
|
<addaction name="ma_clear_fields"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
<addaction name="ma_information"/>
|
<addaction name="ma_information"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="ma_close"/>
|
<addaction name="ma_close"/>
|
||||||
</widget>
|
</widget>
|
||||||
<addaction name="menuMen"/>
|
<addaction name="menuMen"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
<action name="ma_clear_fields">
|
||||||
|
<property name="text">
|
||||||
|
<string>Eingaben löschen</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<action name="ma_close">
|
<action name="ma_close">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Schließen</string>
|
<string>&Schließen</string>
|
||||||
|
|
Reference in a new issue