community_5_lazygui_panels - grisuno/LazyOwn GitHub Wiki
lazygui/panels
Community 5 | 54 files | cohesion 0.94
Definition
This community groups 54 file(s) rooted at lazygui/panels with dominant language py (cohesion 0.94). Central symbols: AppConstants, AppPaths, AppSettings, Application, Backend, BackendConstants, BackendDescriptor, BackendFactory. Core file: tests/test_lazygui_backend.py (59 symbols). Documented purpose: Entry point for python -m lazygui. Delegates to :class:lazygui.app.Application so command-line invocation and programmatic embedding share the same boots.
Files
lazygui/panels (14 files)
lazygui/widgets (8 files)
lazygui/services (7 files)
lazygui/theme/palettes (7 files)
lazygui/config (5 files)
lazygui/theme (4 files)
lazygui/windows (4 files)
tests (3 files)
lazygui (2 files)
... and 34 more files in this community.
Key Symbols
main (function, lazygui/__main__.py:14) def main() - Bootstrap the GUI and run the Qt event loop.
Application (class, lazygui/app.py:33) class Application - Owns the QApplication instance and the lifetime of every subsystem.
__init__ (method, lazygui/app.py:36) def __init__(self, argv) - Build constants/settings/theme/backend/main-window.
run (method, lazygui/app.py:65) def run(self) - Show the main window, start the backend, and run the event loop.
_discover_credentials (method, lazygui/app.py:73) def _discover_credentials(self) - Attempt to load auto-generated credentials from the project root.
_sync_credentials_to_settings (method, lazygui/app.py:89) def _sync_credentials_to_settings(self, credentials) - Persist auto-discovered credentials into settings.
show_connect_dialog (method, lazygui/app.py:100) def show_connect_dialog(self) - Open the connection dialog and swap backends if accepted.
_build_initial_backend (method, lazygui/app.py:119) def _build_initial_backend(self) - Instantiate the backend remembered in settings or auto-discovered.
_resolve_teamserver_credentials (method, lazygui/app.py:150) def _resolve_teamserver_credentials(self) - Return (username, password) from the best available source.
_build_backend_from_request (method, lazygui/app.py:167) def _build_backend_from_request(self, request) - Instantiate a backend based on the dialog return value.
_swap_backend (method, lazygui/app.py:175) def _swap_backend(self, new_backend) - Tear down the previous backend and rebuild the panels around the new one.
_start_backend (method, lazygui/app.py:194) def _start_backend(self, backend) - Connect signal handlers and call start() on the backend.
_configure_qt_attributes (method, lazygui/app.py:213) def _configure_qt_attributes(self) - Set high-DPI policy before instantiating QApplication.
_configure_qt_application_metadata (method, lazygui/app.py:218) def _configure_qt_application_metadata(self) - Populate organization/application metadata used by QSettings.
_configure_logging (method, lazygui/app.py:224) def _configure_logging(self) - Install a basic log configuration directing INFO+ to stderr.
C2Credentials (class, lazygui/config/c2_credentials.py:24) class C2Credentials - Parsed credentials from the auto-generated file.
empty (method, lazygui/config/c2_credentials.py:33) def empty(cls) - Return a sentinel representing no credentials available.
load_c2_credentials_from_file (function, lazygui/config/c2_credentials.py:38) def load_c2_credentials_from_file(file_path) - Parse [.c2_credentials.txt](https://github.com/grisuno/LazyOwn/blob/bb49626e7e46fc85a736c1514cab43bd798f7b33/.c2_credentials.txt) and return username + password.
load_c2_credentials (function, lazygui/config/c2_credentials.py:71) def load_c2_credentials(project_root) - Resolve and parse the credentials file relative to project_root.
WindowConstants (class, lazygui/config/constants.py:18) class WindowConstants - Geometry defaults for top-level windows.
TimingConstants (class, lazygui/config/constants.py:34) class TimingConstants - Timer intervals expressed in milliseconds.
NetworkConstants (class, lazygui/config/constants.py:48) class NetworkConstants - Defaults for HTTP and WebSocket clients.
PtyConstants (class, lazygui/config/constants.py:86) class PtyConstants - Tunables for the local PTY backend.
FontConstants (class, lazygui/config/constants.py:99) class FontConstants - Font family fallbacks (theme tokens decide colours and sizes).
KeybindingConstants (class, lazygui/config/constants.py:124) class KeybindingConstants - Application-wide keyboard shortcuts in Qt sequence notation.
IdentifierConstants (class, lazygui/config/constants.py:142) class IdentifierConstants - Stable string identifiers for object names and settings keys.
ThemeConstants (class, lazygui/config/constants.py:161) class ThemeConstants - Constants relevant to theme registration.
BackendConstants (class, lazygui/config/constants.py:176) class BackendConstants - Identifiers for the available backend implementations.
PanelConstants (class, lazygui/config/constants.py:185) class PanelConstants - Identifiers and labels for dockable panels.
EventLogConstants (class, lazygui/config/constants.py:205) class EventLogConstants - Bounds for the event-log ring buffer.
Internal vs External Edges
- Internal resolved imports (EXTRACTED): 181
- Cross-boundary resolved imports (EXTRACTED): 13
Connections
- No cross-community bridges recorded. This community is self-contained.
Risks
Open Questions
- What would break if the most connected file in lazygui/panels changed?
- Should lazygui/panels be split, given cohesion 0.94?
Sources