forked from M-Labs/thermostat
Increase icon resolution
This commit is contained in:
parent
7ea9752b0f
commit
333a759d85
@ -27,7 +27,7 @@
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset>
|
||||
<normaloff>thermostat-icon-256x256.png</normaloff>thermostat-icon-256x256.png</iconset>
|
||||
<normaloff>thermostat-icon-640x640.png</normaloff>thermostat-icon-640x640.png</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="main_widget">
|
||||
<property name="sizePolicy">
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 51 KiB |
BIN
pytec/thermostat-icon-640x640.png
Normal file
BIN
pytec/thermostat-icon-640x640.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 244 KiB |
@ -16,7 +16,7 @@ class Ui_MainWindow(object):
|
||||
MainWindow.setMinimumSize(QtCore.QSize(1280, 720))
|
||||
MainWindow.setMaximumSize(QtCore.QSize(3840, 2160))
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap("thermostat-icon-256x256.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
|
||||
icon.addPixmap(QtGui.QPixmap("thermostat-icon-640x640.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
|
||||
MainWindow.setWindowIcon(icon)
|
||||
self.main_widget = QtWidgets.QWidget(parent=MainWindow)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
|
||||
|
Loading…
Reference in New Issue
Block a user