Skip to content

Commit e6c75b3

Browse files
authored
Adaptation
Adaptation of code for distribution purposes
1 parent 285e0ee commit e6c75b3

File tree

8 files changed

+1187
-1006
lines changed

8 files changed

+1187
-1006
lines changed

Qt_ui/generator.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</property>
1616
<property name="windowIcon">
1717
<iconset resource="src.qrc">
18-
<normaloff>:/icons/icons/windowIcon.png</normaloff>:/icons/icons/windowIcon.png</iconset>
18+
<normaloff>:/icons/icons/icon.ico</normaloff>:/icons/icons/icon.ico</iconset>
1919
</property>
2020
<widget class="QWidget" name="centralwidget">
2121
<layout class="QVBoxLayout" name="verticalLayout">

Qt_ui/icons/icon.ico

14.7 KB
Binary file not shown.

Qt_ui/mainGUI.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</property>
1616
<property name="windowIcon">
1717
<iconset resource="src.qrc">
18-
<normaloff>:/icons/icons/windowIcon.png</normaloff>:/icons/icons/windowIcon.png</iconset>
18+
<normaloff>:/icons/icons/icon.ico</normaloff>:/icons/icons/icon.ico</iconset>
1919
</property>
2020
<property name="styleSheet">
2121
<string notr="true">background-color: rgb(225, 225, 225);</string>

Qt_ui/sheetGUI.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</property>
1616
<property name="windowIcon">
1717
<iconset resource="src.qrc">
18-
<normaloff>:/icons/icons/windowIcon.png</normaloff>:/icons/icons/windowIcon.png</iconset>
18+
<normaloff>:/icons/icons/icon.ico</normaloff>:/icons/icons/icon.ico</iconset>
1919
</property>
2020
<property name="styleSheet">
2121
<string notr="true">background-color: rgb(225, 225, 225);</string>

Qt_ui/src.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<RCC>
22
<qresource prefix="icons">
33
<file>icons/windowIcon.png</file>
4+
<file>icons/icon.ico</file>
45
<file>icons/code.svg</file>
56
<file>icons/info.svg</file>
67
<file>icons/logo.png</file>

generator.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
# Form implementation generated from reading ui file 'generator.ui'
44
#
5-
# Created by: PyQt5 UI code generator 5.13.0
5+
# Created by: PyQt5 UI code generator 5.15.1
66
#
7-
# WARNING! All changes made in this file will be lost!
7+
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8+
# run again. Do not edit this file unless you know what you are doing.
89

910

1011
from PyQt5 import QtCore, QtGui, QtWidgets
@@ -15,7 +16,7 @@ def setupUi(self, CodeGenerator):
1516
CodeGenerator.setObjectName("CodeGenerator")
1617
CodeGenerator.resize(800, 333)
1718
icon = QtGui.QIcon()
18-
icon.addPixmap(QtGui.QPixmap(":/icons/icons/windowIcon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
19+
icon.addPixmap(QtGui.QPixmap(":/icons/icons/icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1920
CodeGenerator.setWindowIcon(icon)
2021
self.centralwidget = QtWidgets.QWidget(CodeGenerator)
2122
self.centralwidget.setObjectName("centralwidget")

mainGUI.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
# Form implementation generated from reading ui file 'mainGUI.ui'
44
#
5-
# Created by: PyQt5 UI code generator 5.13.0
5+
# Created by: PyQt5 UI code generator 5.15.1
66
#
7-
# WARNING! All changes made in this file will be lost!
7+
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8+
# run again. Do not edit this file unless you know what you are doing.
89

910

1011
from PyQt5 import QtCore, QtGui, QtWidgets
@@ -15,7 +16,7 @@ def setupUi(self, MainWindow):
1516
MainWindow.setObjectName("MainWindow")
1617
MainWindow.resize(1081, 600)
1718
icon = QtGui.QIcon()
18-
icon.addPixmap(QtGui.QPixmap(":/icons/icons/windowIcon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
19+
icon.addPixmap(QtGui.QPixmap(":/icons/icons/icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1920
MainWindow.setWindowIcon(icon)
2021
MainWindow.setStyleSheet("background-color: rgb(225, 225, 225);")
2122
self.centralwidget = QtWidgets.QWidget(MainWindow)

src_rc.py

Lines changed: 1175 additions & 997 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)