7:def armor_display_profile(): 9: "ARMOR_DISPLAY_PROFILE", 32:ARMOR_DISPLAY_PROFILE = armor_display_profile() 34:if ARMOR_DISPLAY_PROFILE == "laptop": 50: QStackedWidget, 58:from modules.laptop_dashboard import LaptopDashboard 70:from modules.global_prompt_bar import GlobalPromptBar 73:class ArmorStationStack(QStackedWidget): 82: def keyPressEvent(self, event): 90: self.setCurrentIndex(0) 93: super().keyPressEvent(event) 95: def mousePressEvent(self, event): 99: super().mousePressEvent(event) 101: def mouseReleaseEvent(self, event): 125: super().mouseReleaseEvent(event) 133: self.setCurrentIndex(next_index) 141: self.setCurrentIndex(previous_index) 154: if ARMOR_DISPLAY_PROFILE == "laptop": 166: if ARMOR_DISPLAY_PROFILE == "laptop": 167: home_page = LaptopDashboard( 195: self.stack.addWidget(page) 203: if ARMOR_DISPLAY_PROFILE == "laptop": 204: self.prompt_bar = GlobalPromptBar( 210: layout.addWidget( 214: layout.addWidget( 224: QMainWindow, QWidget, QStackedWidget { 231: window.showFullScreen()