1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
| from PyQt5 import QtCore, QtGui, QtWidgets import sys class Ui_widget(object): def setupUi(self, widget): widget.setObjectName("widget") widget.setEnabled(True) widget.resize(416, 667) widget.setFixedSize(widget.width(), widget.height()) self.label = QtWidgets.QLabel(widget) self.label.setGeometry(QtCore.QRect(30, 10, 191, 17)) self.label.setObjectName("label") self.lineEdit = QtWidgets.QLineEdit(widget) self.lineEdit.setGeometry(QtCore.QRect(0, 35, 301, 21)) self.lineEdit.setObjectName("lineEdit") self.label_2 = QtWidgets.QLabel(widget) self.label_2.setGeometry(QtCore.QRect(0, 60, 391, 21)) self.label_2.setObjectName("label_2") self.pushButton_run = QtWidgets.QPushButton(widget) self.pushButton_run.setGeometry(QtCore.QRect(310, 30, 89, 31)) self.pushButton_run.setObjectName("pushButton_run") self.label_3 = QtWidgets.QLabel(widget) self.label_3.setGeometry(QtCore.QRect(90, 170, 211, 20)) self.label_3.setObjectName("label_3")
self.gridLayoutWidget = QtWidgets.QWidget(widget) self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 200, 401, 451)) self.gridLayoutWidget.setObjectName("gridLayoutWidget") self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget) names=['优酷','土豆','爱奇艺','芒果','乐视','腾讯','搜狐','PPTV','360视','暴风影音','M1905','咪咕视频', '音悦台','哔哩哔哩','华数TV','网易公开课','新浪视频','范特西','M3U8','私有云','韩国DAUM' ,'品善网','开眼视频' ,'优米网','好看视频','美拍','2MM','凤凰视频','Naver','糖豆网','秒拍','快手','17173','梨视频','中国蓝','第一视频' ,'爱拍视频','汽车之家','ECHOMV','东方头条','今日头条','阳光宽频','西瓜视频','酷6视频','CCTV央视','27盘','91广场舞', '爆米花','火猫直播','酷狗MV','酷狗MV','QQ音乐MV','酷狗直播','酷狗LIVE','天天看看','激动网','斗鱼视频','斗鱼直播', '虎牙视频','虎牙直播','熊猫星颜','熊猫直播','战旗视频','战旗直播','龙珠视频','龙珠直播','来疯直播','触手视频','触手直播','花椒直播','花椒视频' ,'全民直播','全民视频','CC直播','CC视频','印客直播','YY神曲','YY回放','YY小','一直播','NOW直播' ]
posittions=[(i,j)for i in range(19) for j in range(5)]
for posittions,name in zip(posittions,names): label=QtWidgets.QLabel(name) label.setStyleSheet("font:10pt;color:rgb(0,0, 255);font-weight:40px;") self.gridLayout.addWidget(label,*posittions) self.gridLayout.setContentsMargins(0, 1, 2, 0) self.gridLayout.setObjectName("gridLayout")
self.pushButton_switch = QtWidgets.QPushButton(widget) self.pushButton_switch.setGeometry(QtCore.QRect(100, 110, 171, 31)) self.pushButton_switch.setObjectName("pushButton_switch")
self.retranslateUi(widget) QtCore.QMetaObject.connectSlotsByName(widget)
def retranslateUi(self, widget): _translate = QtCore.QCoreApplication.translate widget.setWindowTitle(_translate("widget", "VIP会员-新")) self.label.setText(_translate("widget", "视频网页最上面网址(链接):")) self.label_2.setText(_translate("widget", "复制VIP视频的地址到↑↑↑上栏中点击立即播放就行了")) self.pushButton_run.setText(_translate("widget", "开始播放")) self.pushButton_run.setStyleSheet("color:rgb(255,0,0)") self.label_3.setText(_translate("widget", "↓↓现支持以下免费播放↓↓")) self.pushButton_switch.setText(_translate("widget", "如果不能播放用力点我")) self.pushButton_switch.setStyleSheet("background: rgb(0,191,255);color:rgb(128,0,0)") self.pushButton_run.setStyleSheet ("background: rgb(0,191,255);color:rgb(128,0,0)")
|