-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup of rename/move * Small bugfix * importlib.resources.files * Lift synchronise button up * Ruff * Ruff format * Pylint --------- Co-authored-by: Staiger, Christine <christine.staiger@wur.nl>
- Loading branch information
Showing
12 changed files
with
378 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Form implementation generated from reading ui file 'ibridgesgui/ui_files/renameItem.ui' | ||
# | ||
# Created by: PyQt6 UI code generator 6.4.2 | ||
# | ||
# WARNING: Any manual changes made to this file will be lost when pyuic6 is | ||
# run again. Do not edit this file unless you know what you are doing. | ||
|
||
|
||
from PyQt6 import QtCore, QtGui, QtWidgets | ||
|
||
|
||
class Ui_renameItem(object): | ||
def setupUi(self, renameItem): | ||
createCollection.setObjectName("createCollection") | ||
createCollection.resize(500, 200) | ||
createCollection.setMinimumSize(QtCore.QSize(500, 200)) | ||
createCollection.setMaximumSize(QtCore.QSize(500, 200)) | ||
createCollection.setStyleSheet("QWidget\n" | ||
"{\n" | ||
" color: rgb(86, 184, 139);\n" | ||
" background-color: rgb(54, 54, 54);\n" | ||
" font: 16pt\n" | ||
"}\n" | ||
"\n" | ||
"QLineEdit\n" | ||
"{\n" | ||
" background-color: rgb(85, 87, 83);\n" | ||
" border-color: rgb(217, 174, 23)\n" | ||
"}\n" | ||
"\n" | ||
"QLabel#error_label\n" | ||
"{\n" | ||
" color: rgb(217, 174, 23);\n" | ||
"}\n" | ||
"\n" | ||
"") | ||
self.verticalLayout = QtWidgets.QVBoxLayout(createCollection) | ||
self.verticalLayout.setObjectName("verticalLayout") | ||
self.label = QtWidgets.QLabel(parent=createCollection) | ||
self.label.setObjectName("label") | ||
self.verticalLayout.addWidget(self.label) | ||
self.horizontalLayout = QtWidgets.QHBoxLayout() | ||
self.horizontalLayout.setObjectName("horizontalLayout") | ||
self.item_path_label = QtWidgets.QLabel(parent=createCollection) | ||
self.item_path_label.setText("") | ||
self.item_path_label.setObjectName("item_path_label") | ||
self.horizontalLayout.addWidget(self.item_path_label) | ||
self.verticalLayout.addLayout(self.horizontalLayout) | ||
self.label_2 = QtWidgets.QLabel(parent=createCollection) | ||
self.label_2.setObjectName("label_2") | ||
self.verticalLayout.addWidget(self.label_2) | ||
self.item_path_input = QtWidgets.QLineEdit(parent=createCollection) | ||
self.item_path_input.setObjectName("item_path_input") | ||
self.verticalLayout.addWidget(self.item_path_input) | ||
self.error_label = QtWidgets.QLabel(parent=createCollection) | ||
self.error_label.setStyleSheet("") | ||
self.error_label.setText("") | ||
self.error_label.setObjectName("error_label") | ||
self.verticalLayout.addWidget(self.error_label) | ||
spacerItem = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum) | ||
self.verticalLayout.addItem(spacerItem) | ||
self.buttonBox = QtWidgets.QDialogButtonBox(parent=createCollection) | ||
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) | ||
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) | ||
self.buttonBox.setObjectName("buttonBox") | ||
self.verticalLayout.addWidget(self.buttonBox) | ||
|
||
self.retranslateUi(createCollection) | ||
self.buttonBox.accepted.connect(createCollection.accept) # type: ignore | ||
self.buttonBox.rejected.connect(createCollection.reject) # type: ignore | ||
QtCore.QMetaObject.connectSlotsByName(createCollection) | ||
|
||
def retranslateUi(self, createCollection): | ||
_translate = QtCore.QCoreApplication.translate | ||
createCollection.setWindowTitle(_translate("createCollection", "Rename/Move")) | ||
self.label.setText(_translate("createCollection", "Rename or move:")) | ||
self.label_2.setText(_translate("createCollection", "to new location:")) |
Oops, something went wrong.