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