From 03b9e44b13ba6ed660c147635b15376cabcafcd1 Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Wed, 24 Jan 2024 13:49:25 +0200 Subject: [PATCH] Ui: Delete unused pathedit ui --- rare/ui/utils/__init__.py | 0 rare/ui/utils/pathedit.py | 45 --------------------------------- rare/ui/utils/pathedit.ui | 53 --------------------------------------- 3 files changed, 98 deletions(-) delete mode 100644 rare/ui/utils/__init__.py delete mode 100644 rare/ui/utils/pathedit.py delete mode 100644 rare/ui/utils/pathedit.ui diff --git a/rare/ui/utils/__init__.py b/rare/ui/utils/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/rare/ui/utils/pathedit.py b/rare/ui/utils/pathedit.py deleted file mode 100644 index f83147dc..00000000 --- a/rare/ui/utils/pathedit.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'rare/ui/utils/pathedit.ui' -# -# Created by: PyQt5 UI code generator 5.15.4 -# -# 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, QtWidgets - - -class Ui_PathEdit(object): - def setupUi(self, PathEdit): - PathEdit.setObjectName("PathEdit") - PathEdit.resize(385, 30) - PathEdit.setWindowTitle("PathEdit") - self.layout_pathedit = QtWidgets.QHBoxLayout(PathEdit) - self.layout_pathedit.setContentsMargins(0, 0, 0, 0) - self.layout_pathedit.setObjectName("layout_pathedit") - self.text_edit = QtWidgets.QLineEdit(PathEdit) - self.text_edit.setMinimumSize(QtCore.QSize(300, 0)) - self.text_edit.setObjectName("text_edit") - self.layout_pathedit.addWidget(self.text_edit) - self.path_select = QtWidgets.QToolButton(PathEdit) - self.path_select.setObjectName("path_select") - self.layout_pathedit.addWidget(self.path_select) - - self.retranslateUi(PathEdit) - - def retranslateUi(self, PathEdit): - _translate = QtCore.QCoreApplication.translate - self.text_edit.setPlaceholderText(_translate("PathEdit", "Default")) - self.path_select.setText(_translate("PathEdit", "Browse...")) - - -if __name__ == "__main__": - import sys - app = QtWidgets.QApplication(sys.argv) - PathEdit = QtWidgets.QWidget() - ui = Ui_PathEdit() - ui.setupUi(PathEdit) - PathEdit.show() - sys.exit(app.exec_()) diff --git a/rare/ui/utils/pathedit.ui b/rare/ui/utils/pathedit.ui deleted file mode 100644 index 5de84e4b..00000000 --- a/rare/ui/utils/pathedit.ui +++ /dev/null @@ -1,53 +0,0 @@ - - - PathEdit - - - - 0 - 0 - 385 - 30 - - - - PathEdit - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 300 - 0 - - - - Default - - - - - - - Browse... - - - - - - - -