mirror of
https://github.com/Omni-guides/Jackify.git
synced 2026-06-08 03:27:45 +02:00
Sync from development - prepare for v0.3.0
This commit is contained in:
22
jackify/frontends/gui/widgets/feature_placeholder.py
Normal file
22
jackify/frontends/gui/widgets/feature_placeholder.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
Placeholder widget for unimplemented feature screens.
|
||||
"""
|
||||
|
||||
from PySide6.QtWidgets import QWidget, QLabel, QVBoxLayout, QPushButton
|
||||
from PySide6.QtCore import Qt
|
||||
|
||||
|
||||
class FeaturePlaceholder(QWidget):
|
||||
"""Placeholder widget for features not yet implemented."""
|
||||
|
||||
def __init__(self, stacked_widget=None):
|
||||
super().__init__()
|
||||
layout = QVBoxLayout()
|
||||
label = QLabel("[Feature screen placeholder]")
|
||||
label.setAlignment(Qt.AlignCenter)
|
||||
layout.addWidget(label)
|
||||
back_btn = QPushButton("Back to Main Menu")
|
||||
if stacked_widget:
|
||||
back_btn.clicked.connect(lambda: stacked_widget.setCurrentIndex(0))
|
||||
layout.addWidget(back_btn)
|
||||
self.setLayout(layout)
|
||||
Reference in New Issue
Block a user