微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 硬件工程师文库 > 基于Dragonboard 410c的智能魔镜设计(8)——python脚本实现UI原型

基于Dragonboard 410c的智能魔镜设计(8)——python脚本实现UI原型

时间:02-08 来源:互联网 点击:

ctName("forecast_2_date")

self.gridLayout_3.addWidget(self.forecast_2_date, 0, 0, 1, 1)

self.forecast_2_type = QtWidgets.QLabel(self.layoutWidget)

self.forecast_2_type.setMinimumSize(QtCore.QSize(78, 75))

self.forecast_2_type.setText("")

self.forecast_2_type.setScaledContents(True)

self.forecast_2_type.setObjectName("forecast_2_type")

self.gridLayout_3.addWidget(self.forecast_2_type, 1, 0, 1, 1)

self.forecast_2_temp = QtWidgets.QLabel(self.layoutWidget)

self.forecast_2_temp.setMinimumSize(QtCore.QSize(75, 20))

self.forecast_2_temp.setMaximumSize(QtCore.QSize(200, 40))

FONT = QtGui.QFont()

FONT.setFamily("微软雅黑")

FONT.setPointSize(8)

self.forecast_2_temp.setFont(FONT)

self.forecast_2_temp.setText("")

self.forecast_2_temp.setAlignment(QtCore.Qt.AlignCenter)

self.forecast_2_temp.setObjectName("forecast_2_temp")

self.gridLayout_3.addWidget(self.forecast_2_temp, 2, 0, 1, 1)

self.horizontalLayout.addLayout(self.gridLayout_3)

self.gridLayout_4 = QtWidgets.QGridLayout()

self.gridLayout_4.setContentsMargins(11, 11, 11, 11)

self.gridLayout_4.setSpacing(6)

self.gridLayout_4.setObjectName("gridLayout_4")

self.forecast_3_date = QtWidgets.QLabel(self.layoutWidget)

self.forecast_3_date.setMinimumSize(QtCore.QSize(75, 20))

self.forecast_3_date.setMaximumSize(QtCore.QSize(200, 40))

FONT = QtGui.QFont()

FONT.setFamily("微软雅黑")

FONT.setPointSize(8)

self.forecast_3_date.setFont(FONT)

self.forecast_3_date.setText("")

self.forecast_3_date.setAlignment(QtCore.Qt.AlignCenter)

self.forecast_3_date.setObjectName("forecast_3_date")

self.gridLayout_4.addWidget(self.forecast_3_date, 0, 0, 1, 1)

self.forecast_3_type = QtWidgets.QLabel(self.layoutWidget)

self.forecast_3_type.setMinimumSize(QtCore.QSize(78, 75))

self.forecast_3_type.setText("")

self.forecast_3_type.setScaledContents(True)

self.forecast_3_type.setObjectName("forecast_3_type")

self.gridLayout_4.addWidget(self.forecast_3_type, 1, 0, 1, 1)

self.forecast_3_temp = QtWidgets.QLabel(self.layoutWidget)

self.forecast_3_temp.setMinimumSize(QtCore.QSize(75, 20))

self.forecast_3_temp.setMaximumSize(QtCore.QSize(200, 40))

FONT = QtGui.QFont()

FONT.setFamily("微软雅黑")

FONT.setPointSize(8)

self.forecast_3_temp.setFont(FONT)

self.forecast_3_temp.setText("")

self.forecast_3_temp.setAlignment(QtCore.Qt.AlignCenter)

self.forecast_3_temp.setObjectName("forecast_3_temp")

self.gridLayout_4.addWidget(self.forecast_3_temp, 2, 0, 1, 1)

self.horizontalLayout.addLayout(self.gridLayout_4)

self.gridLayout_5 = QtWidgets.QGridLayout()

self.gridLayout_5.setContentsMargins(11, 11, 11, 11)

self.gridLayout_5.setSpacing(6)

self.gridLayout_5.setObjectName("gridLayout_5")

self.forecast_4_date = QtWidgets.QLabel(self.layoutWidget)

self.forecast_4_date.setMinimumSize(QtCore.QSize(75, 20))

self.forecast_4_date.setMaximumSize(QtCore.QSize(200, 40))

FONT = QtGui.QFont()

FONT.setFamily("微软雅黑")

FONT.setPointSize(8)

self.forecast_4_date.setFont(FONT)

self.forecast_4_date.setText("")

self.forecast_4_date.setAlignment(QtCore.Qt.AlignCenter)

self.forecast_4_date.setObjectName("forecast_4_date")

self.gridLayout_5.addWidget(self.forecast_4_date, 0, 0, 1, 1)

self.forecast_4_temp = QtWidgets.QLabel(self.layoutWidget)

self.forecast_4_temp.setMinimumSize(QtCore.QSize(75, 20))

self.forecast_4_temp.setM

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top