Improve output step with individual operation summary rows
This commit is contained in:
@@ -16,19 +16,19 @@ pub fn build_output_page(state: &AppState) -> adw::NavigationPage {
|
||||
.margin_end(24)
|
||||
.build();
|
||||
|
||||
// Operation summary - dynamically updated when this step is shown
|
||||
// Operation summary - dynamically rebuilt when this step is shown
|
||||
let summary_group = adw::PreferencesGroup::builder()
|
||||
.title("Operation Summary")
|
||||
.description("Review your processing settings before starting")
|
||||
.build();
|
||||
|
||||
let summary_row = adw::ActionRow::builder()
|
||||
.title("No operations configured")
|
||||
.subtitle("Go back and configure your workflow settings")
|
||||
let summary_box = gtk::ListBox::builder()
|
||||
.selection_mode(gtk::SelectionMode::None)
|
||||
.css_classes(["boxed-list"])
|
||||
.build();
|
||||
summary_row.add_prefix(>k::Image::from_icon_name("dialog-information-symbolic"));
|
||||
summary_box.set_widget_name("ops-summary-list");
|
||||
|
||||
summary_group.add(&summary_row);
|
||||
summary_group.add(&summary_box);
|
||||
content.append(&summary_group);
|
||||
|
||||
// Output directory
|
||||
|
||||
Reference in New Issue
Block a user