Ui: Delete unused pathedit ui
This commit is contained in:
parent
f321736dde
commit
03b9e44b13
|
@ -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_())
|
|
@ -1,53 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>PathEdit</class>
|
||||
<widget class="QWidget" name="PathEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>385</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string notr="true">PathEdit</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="layout_pathedit">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="text_edit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>300</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Default</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="path_select">
|
||||
<property name="text">
|
||||
<string>Browse...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Loading…
Reference in a new issue