17 const std::string &project_dir);
20 void set_can_generate(
bool v);
29 Gtk::ListBox *gerber_layers_box =
nullptr;
30 Gtk::Entry *npth_filename_entry =
nullptr;
31 Gtk::Entry *pth_filename_entry =
nullptr;
32 Gtk::Label *npth_filename_label =
nullptr;
33 Gtk::Label *pth_filename_label =
nullptr;
34 Gtk::Entry *prefix_entry =
nullptr;
35 Gtk::Entry *directory_entry =
nullptr;
37 Gtk::Button *generate_button =
nullptr;
38 Gtk::Button *directory_button =
nullptr;
39 Gtk::ComboBoxText *drill_mode_combo =
nullptr;
40 Gtk::TextView *log_textview =
nullptr;
41 Gtk::Switch *zip_output_switch =
nullptr;
42 bool can_export =
true;
43 void update_export_button();
45 Gtk::Entry *odb_filename_entry =
nullptr;
46 Gtk::Button *odb_filename_button =
nullptr;
47 Gtk::Box *odb_filename_box =
nullptr;
48 Gtk::Label *odb_filename_label =
nullptr;
50 Gtk::Entry *odb_directory_entry =
nullptr;
51 Gtk::Button *odb_directory_button =
nullptr;
52 Gtk::Box *odb_directory_box =
nullptr;
53 Gtk::Label *odb_directory_label =
nullptr;
55 Gtk::RadioButton *odb_format_tgz_rb =
nullptr;
56 Gtk::RadioButton *odb_format_directory_rb =
nullptr;
57 Gtk::RadioButton *odb_format_zip_rb =
nullptr;
59 Gtk::Entry *odb_job_name_entry =
nullptr;
61 Gtk::Stack *stack =
nullptr;
69 void prepare_chooser(Glib::RefPtr<Gtk::FileChooser> chooser)
override;
70 void prepare_filename(std::string &filename)
override;
74 ODBExportFileChooserFilename odb_export_filechooser_filename;
78 Gtk::Revealer *done_revealer =
nullptr;
79 Gtk::Label *done_label =
nullptr;
80 Gtk::Button *done_close_button =
nullptr;
83 Gtk::Revealer *odb_done_revealer =
nullptr;
84 Gtk::Label *odb_done_label =
nullptr;
85 Gtk::Button *odb_done_close_button =
nullptr;
88 Glib::RefPtr<Gtk::SizeGroup> sg_layer_name;
92 void update_drill_visibility();
93 void update_odb_visibility();
94 unsigned int n_layers = 0;