Skip to main content

egui_charts/ui/
mod.rs

1//! Chart toolbars, panels, dialogs and trading controls for host applications.
2//!
3//! Place the components in your egui layout and apply their returned actions to
4//! the chart or host services. The components share [`crate::ui_kit`] controls and
5//! the active theme; market data, account connections and storage come from the host.
6
7// Application state trait for UI synchronization
8pub mod app_state;
9pub use app_state::{ChartAppState, Control};
10
11// Shared UI domain model
12pub mod model;
13
14// Toolbars
15pub mod drawing_toolbar;
16pub mod floating_toolbar;
17pub mod timeframe_toolbar;
18pub mod top_toolbar;
19
20// Panels and sidebars
21pub mod widget_bar;
22
23// Chart controls
24pub mod chart_controls;
25pub mod replay;
26pub use replay::{floating as floating_replay_control, status as replay_status};
27
28// Dialogs
29pub mod dialogs;
30
31// Icons
32pub mod icons;
33
34// Standalone components
35pub mod connection_status;
36pub mod context_menu;
37pub mod export;
38pub mod financials;
39pub mod ideas;
40pub mod multi_chart;
41pub mod profile;
42mod share_controls;
43pub mod strategy_report;
44pub mod study_editor;
45pub mod symbol_header;
46pub mod trading;
47
48pub use context_menu::trade_profile::trade_profile_menu;
49#[cfg(test)]
50mod accessibility_tests;