# --- NUOVO FILE: src/pages/fullscreen_table_page/__init__.py --- import logging import pandas as pd from PyQt6.QtWidgets import QWidget, QVBoxLayout from .detail_table_widget import DetailTableWidget logger = logging.getLogger(__name__) class FullScreenTablePage(QWidget): """ Una pagina semplice che mostra una DetailTableWidget a schermo intero. """ def __init__(self, main_window, data: pd.DataFrame, theme: dict): super().__init__() self.main_window = main_window self.data = data self.theme = theme self.init_ui() logger.info("📄 FullScreenTablePage creata.") def init_ui(self): layout = QVBoxLayout(self) layout.setContentsMargins(0, 0, 0, 0) # Occupa tutto lo spazio table = DetailTableWidget() table.set_theme(self.theme) table.populate(self.data) layout.addWidget(table)