status
This commit is contained in:
parent
b906a1a04c
commit
a35ef4a153
12
gui/init.py
12
gui/init.py
|
@ -3,17 +3,7 @@ from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout
|
||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
from PyQt5.QtGui import QColor, QPalette
|
from PyQt5.QtGui import QColor, QPalette
|
||||||
from gui.robot import ChangeRobot
|
from gui.robot import ChangeRobot
|
||||||
|
from gui.status import Status
|
||||||
class Status(QWidget):
|
|
||||||
def __init__(self, **kwargs):
|
|
||||||
super().__init__()
|
|
||||||
self.initUI()
|
|
||||||
|
|
||||||
def initUI(self):
|
|
||||||
palette = self.palette()
|
|
||||||
palette.setColor(QPalette.Window, QColor(144, 238, 144)) # LightGreen
|
|
||||||
self.setAutoFillBackground(True)
|
|
||||||
self.setPalette(palette)
|
|
||||||
|
|
||||||
class RightPanel(QWidget):
|
class RightPanel(QWidget):
|
||||||
def __init__(self, panels):
|
def __init__(self, panels):
|
||||||
|
|
Loading…
Reference in New Issue