GUI
This commit is contained in:
16
analyzer/gui/__init__.py
Normal file
16
analyzer/gui/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""
|
||||
GUI module for StreamLens Ethernet Traffic Analyzer
|
||||
"""
|
||||
|
||||
try:
|
||||
from PySide6.QtWidgets import QApplication
|
||||
GUI_AVAILABLE = True
|
||||
except ImportError:
|
||||
GUI_AVAILABLE = False
|
||||
print("Warning: PySide6 not available. GUI mode disabled.")
|
||||
|
||||
__all__ = ['GUI_AVAILABLE']
|
||||
|
||||
if GUI_AVAILABLE:
|
||||
from .main_window import StreamLensMainWindow
|
||||
__all__.append('StreamLensMainWindow')
|
||||
Reference in New Issue
Block a user