JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/GPU/GUIeditor.H>
Editor panel for JeVois-Pro GUI.
This panel allows one to select one of several files, and to edit it.
Definition at line 46 of file GUIeditor.H.
Public Member Functions | |
GUIeditor (GUIhelper *helper, std::string const &imguiid, std::vector< EditorItem > &&fixeditems, std::string const &scanpath, std::string const &prefix, std::set< std::string > &&extensions) | |
Constructor. More... | |
virtual | ~GUIeditor () |
Destructor. More... | |
void | draw () |
Draw the editor into ImGui. More... | |
void | loadFile (std::filesystem::path const &fn) |
Load a file and set it as the current file. More... | |
void | refresh () |
Refresh list of files. More... | |
Protected Member Functions | |
void | saveFile () |
Save a file. More... | |
Related Functions | |
(Note that these are not member functions.) | |
enum | EditorSaveAction |
Helper enum for actions to execute after saving a config file. More... | |
jevois::GUIeditor::GUIeditor | ( | GUIhelper * | helper, |
std::string const & | imguiid, | ||
std::vector< EditorItem > && | fixeditems, | ||
std::string const & | scanpath, | ||
std::string const & | prefix, | ||
std::set< std::string > && | extensions | ||
) |
|
virtual |
Destructor.
Definition at line 46 of file GUIeditor.C.
void jevois::GUIeditor::draw | ( | ) |
Draw the editor into ImGui.
Definition at line 113 of file GUIeditor.C.
void jevois::GUIeditor::loadFile | ( | std::filesystem::path const & | fn | ) |
Load a file and set it as the current file.
Definition at line 362 of file GUIeditor.C.
void jevois::GUIeditor::refresh | ( | ) |
Refresh list of files.
Definition at line 50 of file GUIeditor.C.
|
protected |
Save a file.
Definition at line 496 of file GUIeditor.C.
References LINFO.
Referenced by GUIeditor().
|
related |
Helper enum for actions to execute after saving a config file.
Definition at line 34 of file GUIeditor.H.