#include <config_dialog.h>
Public Member Functions | |
ConfigDialog () | |
Constructor. More... | |
std::string | GetFile () const |
Get the file path entered by the user. More... | |
bool | GetHide () const |
Get the hide menu option. More... | |
void | SetFile (const std::string &file) |
Populate the file path line edit. More... | |
void | SetHide (const bool hide) |
Set the hide menu option. More... | |
~ConfigDialog () | |
Destructor. More... | |
Private Slots | |
void | OnBrowse () |
Callback when the browse button is pressed. More... | |
Private Attributes | |
QLineEdit * | file_edit_ |
Holds the file path. More... | |
QCheckBox * | hide_box_ |
Holds the boolean for whether to hide the menu. More... | |
Definition at line 43 of file config_dialog.h.
rqt_rviz::ConfigDialog::ConfigDialog | ( | ) |
Constructor.
Definition at line 42 of file config_dialog.cpp.
rqt_rviz::ConfigDialog::~ConfigDialog | ( | ) |
Destructor.
Definition at line 94 of file config_dialog.cpp.
std::string rqt_rviz::ConfigDialog::GetFile | ( | ) | const |
Get the file path entered by the user.
Definition at line 106 of file config_dialog.cpp.
bool rqt_rviz::ConfigDialog::GetHide | ( | ) | const |
Get the hide menu option.
Definition at line 116 of file config_dialog.cpp.
|
privateslot |
Callback when the browse button is pressed.
Definition at line 98 of file config_dialog.cpp.
void rqt_rviz::ConfigDialog::SetFile | ( | const std::string & | file | ) |
Populate the file path line edit.
Definition at line 111 of file config_dialog.cpp.
void rqt_rviz::ConfigDialog::SetHide | ( | const bool | hide | ) |
Set the hide menu option.
Definition at line 121 of file config_dialog.cpp.
|
private |
Holds the file path.
Definition at line 76 of file config_dialog.h.
|
private |
Holds the boolean for whether to hide the menu.
Definition at line 79 of file config_dialog.h.