Skip to content

Commit

Permalink
comentario interesante
Browse files Browse the repository at this point in the history
  • Loading branch information
MonterosThiago committed Nov 7, 2023
1 parent 6c8d500 commit e08aab1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/ESTRUCTURA2/InterfazGrafica/cHospitalApp.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from PyQt6.QtCore import Qt, QTimer
from PyQt6.QtGui import QPainter, QColor, QBrush
from PyQt6.QtGui import QPainter, QColor, QBrush, QScreen
from PyQt6.QtWidgets import QApplication, QMainWindow, QWidget, QHBoxLayout, QPushButton, QVBoxLayout, QSpinBox, QLabel, QGridLayout, QComboBox, QSizePolicy

from src.ESTRUCTURA2.InterfazGrafica.cPainter import cPainter


class cHospitalApp(QMainWindow):
CantActualEnfermeros= 0

Expand All @@ -13,14 +11,19 @@ def __init__(self):
self.initUI()

def initUI(self):
self.altura = 600
self.ancho = 1600
self.ejex = 100
self.ejey = 100
self.altura = 500
self.ancho = 1100
self.ejex = 10
self.ejey = 50

self.botonPausarApretado = False

self.setGeometry(self.ejex, self.ejey, self.ancho, self.altura)
''' screen = QApplication.primaryScreen()
screen_geometry = screen.availableGeometry()
width, height = screen_geometry.width(), screen_geometry.height()
self.setGeometry(width // 5, height // 5, width , height )'''
self.setGeometry(self.ejex, self.ejey, self.ancho, self.altura )
self.setWindowTitle('SIMULACION')

###creamos los botones, labels, etc
Expand Down

0 comments on commit e08aab1

Please sign in to comment.