45 class ExplorerApplication
51 const std::string app_id;
53 float panel_ratio = 0.23;
54 float last_width = -1.0f;
61 std::map<std::string, std::vector<std::string>> group_definitions = {
62 {
"Recorders", {
"recorder",
"newrec_test_handler"}},
63 {
"Products", {
"dataset_handler",
"image_product_handler",
"punctiform_product_handler"}},
67 std::shared_ptr<handlers::Handler> curr_handler;
68 std::shared_ptr<handlers::Handler> processing_handler;
69 std::map<std::string, std::shared_ptr<handlers::Handler>> groups_handlers;
70 std::shared_ptr<handlers::Handler> master_handler;
71 std::shared_ptr<handlers::Handler> trash_handler;
74 widget::MenuItemFileOpen file_open_dialog;
77 std::string quickOpenString;
80 intptr_t satdump_logo_texture = 0;
81 std::string tip_of_the_day =
"The tip of the day is that this tip failed to load... Sorry about that.";
85 std::map<std::string, std::shared_ptr<handlers::Handler>> last_selected_handler;
88 void addHandler(std::shared_ptr<handlers::Handler> h,
bool open =
false,
bool is_processing =
false);
89 void tryOpenFileInExplorer(std::string path);
90 void tryOpenSomethingInExplorer(std::function<
void(ExplorerApplication *)> f);
93 ExplorerApplication();
94 ~ExplorerApplication();