10class StepExportWindow :
public Gtk::Window,
public Changeable {
12 StepExportWindow(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x,
class IDocumentBoard &c,
13 const std::string &project_dir);
14 static StepExportWindow *create(Gtk::Window *p,
class IDocumentBoard &c,
const std::string &project_dir);
16 void set_can_export(
bool v);
22 Gtk::HeaderBar *header =
nullptr;
23 Gtk::Entry *filename_entry =
nullptr;
24 Gtk::Button *filename_button =
nullptr;
25 Gtk::Button *export_button =
nullptr;
26 Gtk::Switch *include_3d_models_switch =
nullptr;
27 Gtk::Box *min_dia_box =
nullptr;
29 Gtk::Entry *prefix_entry =
nullptr;
31 Gtk::TextView *log_textview =
nullptr;
32 Gtk::Spinner *spinner =
nullptr;
33 bool can_export =
true;
34 void update_export_button();
35 Glib::RefPtr<Gtk::TextTag> tag;
39 void prepare_chooser(Glib::RefPtr<Gtk::FileChooser> chooser)
override;
40 void prepare_filename(std::string &filename)
override;
42 MyExportFileChooser export_filechooser;
44 Glib::Dispatcher export_dispatcher;
45 std::mutex msg_queue_mutex;
46 std::deque<std::string> msg_queue;
47 bool export_running =
false;
49 void set_is_busy(
bool v);