rust_widgets 2.4.0

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 60+ widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT

//! View widgets module.
//!
//! Contains list, tree, table, and property view widgets.
pub mod data_grid;
pub mod data_source;
/// Recursive filter trees shared by `DataGrid` and any query-builder UI.
pub mod filter_expr;
/// GridTable — feature-rich virtualized table with grid lines, headers, sorting, and selection.
#[cfg(not(alloc_frugal))]
pub mod grid_table;
#[cfg(not(alloc_frugal))]
pub mod image_gallery;
pub mod list_view;
#[cfg(not(alloc_frugal))]
pub mod properties_panel;
#[cfg(not(alloc_frugal))]
pub mod property_grid;
/// Renders a recursive filter as editable condition rows.
#[cfg(not(alloc_frugal))]
pub mod query_builder;
pub mod table_widget;
pub mod tree_table;
pub mod tree_view;
pub mod virtual_list;
pub mod virtual_table;
// Re-export view widgets
pub use data_grid::{ColumnFilter, DataGrid, SortSpec};
pub use data_source::{
    IncrementalTableDataSource, ListModelDataSource, TableModelDataSource, TreeModelDataSource,
};
pub use filter_expr::{FilterCondition, FilterExpr, FilterOperator};
#[cfg(not(alloc_frugal))]
pub use grid_table::{GridTableSelectionMode, GridTableSortSpec, GridTableWidget};
#[cfg(not(alloc_frugal))]
pub use image_gallery::{GalleryImage, ImageGallery};
pub use list_view::ListView;
#[cfg(not(alloc_frugal))]
pub use properties_panel::{PropertiesPanel, PropertyEntry, PropertyValue};
#[cfg(not(alloc_frugal))]
pub use property_grid::{PropertyGrid, PropertyItem};
#[cfg(not(alloc_frugal))]
pub use query_builder::{FilterConjunction, FilterField, QueryBuilder, QueryBuilderRow};
pub use table_widget::TableWidget;
pub use tree_table::{TreeTable, TreeTableModel};
pub use tree_view::TreeView;
pub use virtual_list::VirtualList;
pub use virtual_table::VirtualTable;