16 lines
388 B
Python
16 lines
388 B
Python
"""
|
|
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') |