| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- """
- Parameters & Settings Tab
- Placeholder for future configuration and settings functionality.
- """
- from PyQt5.QtWidgets import QWidget, QVBoxLayout, QLabel
- from PyQt5.QtCore import Qt
- from PyQt5.QtGui import QFont
- from resources.styles import COLORS
- class ParametersTab(QWidget):
- """Placeholder tab for system parameters and settings."""
-
- def __init__(self, parent=None):
- super().__init__(parent)
- self.init_ui()
-
- def init_ui(self):
- """Initialize the UI components."""
- layout = QVBoxLayout(self)
- layout.setContentsMargins(40, 40, 40, 40)
-
- # Icon
- icon_label = QLabel("⚙️")
- icon_label.setFont(QFont("Arial", 80))
- icon_label.setAlignment(Qt.AlignCenter)
- layout.addWidget(icon_label)
-
- # Title
- title = QLabel("Parameters & Settings")
- title.setFont(QFont("Arial", 24, QFont.Bold))
- title.setAlignment(Qt.AlignCenter)
- layout.addWidget(title)
-
- # Message
- message = QLabel("This feature is coming in a future update!\n\n"
- "Here you'll be able to:\n"
- "• Adjust AI model thresholds\n"
- "• Configure camera settings\n"
- "• Manage system preferences\n"
- "• Calibrate detection parameters")
- message.setFont(QFont("Arial", 14))
- message.setAlignment(Qt.AlignCenter)
- message.setStyleSheet(f"color: {COLORS['text_secondary']}; line-height: 1.6;")
- layout.addWidget(message)
-
- layout.addStretch()
|