Skip to content

Commit

Permalink
Add icons
Browse files Browse the repository at this point in the history
  • Loading branch information
egeakman committed Jun 25, 2022
1 parent 8919f20 commit a6546dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file added icons/icon.ico
Binary file not shown.
Binary file added icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import sys
from ui import ui_design
from PyQt6.QtWidgets import QApplication, QMainWindow, QWidget
from PyQt6.QtWidgets import QApplication, QMainWindow
from PyQt6 import QtGui


class MainWindow(QMainWindow):
def __init__(self, parent=None):
super(MainWindow, self).__init__(parent)
self.setWindowTitle("Gcode 2 Zaxe")
self.setWindowIcon(QtGui.QIcon("icons/icon.png"))
self.setStyleSheet("background-color: rgba(210, 210, 210, 0.8);")

self.startMainMenu()
Expand Down

0 comments on commit a6546dd

Please sign in to comment.