18 const std::string &project_dir);
21 void set_can_generate(
bool v);
30 Gtk::ListBox *gerber_layers_box =
nullptr;
31 Gtk::Entry *npth_filename_entry =
nullptr;
32 Gtk::Entry *pth_filename_entry =
nullptr;
33 Gtk::Label *npth_filename_label =
nullptr;
34 Gtk::Label *pth_filename_label =
nullptr;
35 Gtk::Entry *prefix_entry =
nullptr;
36 Gtk::Entry *directory_entry =
nullptr;
38 Gtk::Button *generate_button =
nullptr;
39 Gtk::Button *directory_button =
nullptr;
40 Gtk::ComboBoxText *drill_mode_combo =
nullptr;
41 Gtk::TextView *log_textview =
nullptr;
42 Gtk::Switch *zip_output_switch =
nullptr;
43 bool can_export =
true;
44 void update_export_button();
46 Gtk::Box *blind_buried_box =
nullptr;
47 Gtk::ListBox *blind_buried_drills_box =
nullptr;
49 Gtk::Entry *odb_filename_entry =
nullptr;
50 Gtk::Button *odb_filename_button =
nullptr;
51 Gtk::Box *odb_filename_box =
nullptr;
52 Gtk::Label *odb_filename_label =
nullptr;
54 Gtk::Entry *odb_directory_entry =
nullptr;
55 Gtk::Button *odb_directory_button =
nullptr;
56 Gtk::Box *odb_directory_box =
nullptr;
57 Gtk::Label *odb_directory_label =
nullptr;
59 Gtk::RadioButton *odb_format_tgz_rb =
nullptr;
60 Gtk::RadioButton *odb_format_directory_rb =
nullptr;
61 Gtk::RadioButton *odb_format_zip_rb =
nullptr;
63 Gtk::Entry *odb_job_name_entry =
nullptr;
65 Gtk::Stack *stack =
nullptr;
73 void prepare_chooser(Glib::RefPtr<Gtk::FileChooser> chooser)
override;
74 void prepare_filename(std::string &filename)
override;
78 ODBExportFileChooserFilename odb_export_filechooser_filename;
82 Gtk::Revealer *done_revealer =
nullptr;
83 Gtk::Label *done_label =
nullptr;
84 Gtk::Button *done_close_button =
nullptr;
87 Gtk::Revealer *odb_done_revealer =
nullptr;
88 Gtk::Label *odb_done_label =
nullptr;
89 Gtk::Button *odb_done_close_button =
nullptr;
92 Glib::RefPtr<Gtk::SizeGroup> sg_layer_name;
93 Glib::RefPtr<Gtk::SizeGroup> sg_drill_span_name;
97 void update_drill_visibility();
98 void update_odb_visibility();
100 void update_blind_buried_drills();
101 void reload_drills();
103 unsigned int n_layers = 0;