parameters_tab.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. """
  2. Parameters & Settings Tab
  3. Placeholder for future configuration and settings functionality.
  4. """
  5. from PyQt5.QtWidgets import QWidget, QVBoxLayout, QLabel
  6. from PyQt5.QtCore import Qt
  7. from PyQt5.QtGui import QFont
  8. from resources.styles import COLORS
  9. class ParametersTab(QWidget):
  10. """Placeholder tab for system parameters and settings."""
  11. def __init__(self, parent=None):
  12. super().__init__(parent)
  13. self.init_ui()
  14. def init_ui(self):
  15. """Initialize the UI components."""
  16. layout = QVBoxLayout(self)
  17. layout.setContentsMargins(40, 40, 40, 40)
  18. # Icon
  19. icon_label = QLabel("⚙️")
  20. icon_label.setFont(QFont("Arial", 80))
  21. icon_label.setAlignment(Qt.AlignCenter)
  22. layout.addWidget(icon_label)
  23. # Title
  24. title = QLabel("Parameters & Settings")
  25. title.setFont(QFont("Arial", 24, QFont.Bold))
  26. title.setAlignment(Qt.AlignCenter)
  27. layout.addWidget(title)
  28. # Message
  29. message = QLabel("This feature is coming in a future update!\n\n"
  30. "Here you'll be able to:\n"
  31. "• Adjust AI model thresholds\n"
  32. "• Configure camera settings\n"
  33. "• Manage system preferences\n"
  34. "• Calibrate detection parameters")
  35. message.setFont(QFont("Arial", 14))
  36. message.setAlignment(Qt.AlignCenter)
  37. message.setStyleSheet(f"color: {COLORS['text_secondary']}; line-height: 1.6;")
  38. layout.addWidget(message)
  39. layout.addStretch()