mirror of
https://github.com/aykhans/FileRobot.git
synced 2025-04-17 03:23:14 +00:00
40 lines
1.8 KiB
Python
40 lines
1.8 KiB
Python
from PyQt6 import QtCore, QtGui, QtWidgets
|
||
|
||
|
||
class Ui_Form(object):
|
||
def setupUi(self, Form):
|
||
Form.setObjectName("Form")
|
||
Form.resize(451, 269)
|
||
Form.setMinimumSize(QtCore.QSize(451, 269))
|
||
Form.setMaximumSize(QtCore.QSize(451, 269))
|
||
self.textBrowser = QtWidgets.QTextBrowser(Form)
|
||
self.textBrowser.setGeometry(QtCore.QRect(0, 0, 451, 269))
|
||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
|
||
sizePolicy.setHorizontalStretch(0)
|
||
sizePolicy.setVerticalStretch(0)
|
||
sizePolicy.setHeightForWidth(self.textBrowser.sizePolicy().hasHeightForWidth())
|
||
self.textBrowser.setSizePolicy(sizePolicy)
|
||
self.textBrowser.setObjectName("textBrowser")
|
||
|
||
self.retranslateUi(Form)
|
||
QtCore.QMetaObject.connectSlotsByName(Form)
|
||
|
||
def retranslateUi(self, Form):
|
||
_translate = QtCore.QCoreApplication.translate
|
||
Form.setWindowTitle(_translate("Form", "Tapılan Fayllar"))
|
||
self.textBrowser.setHtml(_translate("Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
|
||
"p, li { white-space: pre-wrap; }\n"
|
||
"</style></head><body style=\" font-family:\'Segoe UI\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>"))
|
||
|
||
|
||
if __name__ == "__main__":
|
||
import sys
|
||
app = QtWidgets.QApplication(sys.argv)
|
||
Form = QtWidgets.QWidget()
|
||
ui = Ui_Form()
|
||
ui.setupUi(Form)
|
||
Form.show()
|
||
sys.exit(app.exec())
|