#include <header_widget.h>
Public Member Functions | |
const std::string | getPath () |
Returns the file path in std::string format. | |
const QString | getQPath () |
Returns the file path in QString format. | |
LoadPathWidget (const std::string &title, const std::string &instructions, const bool dir_only=false, const bool load_only=false, QWidget *parent=0) | |
Constructor. | |
void | setPath (const QString &path) |
Set the path with QString. | |
void | setPath (const std::string &path) |
Set the path with std string. | |
Private Slots | |
void | btn_file_dialog () |
Load the file dialog. | |
Private Attributes | |
bool | dir_only_ |
bool | load_only_ |
QLineEdit * | path_box_ |
Definition at line 65 of file header_widget.h.
moveit_setup_assistant::LoadPathWidget::LoadPathWidget | ( | const std::string & | title, |
const std::string & | instructions, | ||
const bool | dir_only = false , |
||
const bool | load_only = false , |
||
QWidget * | parent = 0 |
||
) |
Constructor.
Definition at line 91 of file header_widget.cpp.
void moveit_setup_assistant::LoadPathWidget::btn_file_dialog | ( | ) | [private, slot] |
Load the file dialog.
Definition at line 142 of file header_widget.cpp.
const std::string moveit_setup_assistant::LoadPathWidget::getPath | ( | ) |
Returns the file path in std::string format.
Definition at line 182 of file header_widget.cpp.
const QString moveit_setup_assistant::LoadPathWidget::getQPath | ( | ) |
Returns the file path in QString format.
Definition at line 174 of file header_widget.cpp.
void moveit_setup_assistant::LoadPathWidget::setPath | ( | const QString & | path | ) |
Set the path with QString.
Definition at line 190 of file header_widget.cpp.
void moveit_setup_assistant::LoadPathWidget::setPath | ( | const std::string & | path | ) |
Set the path with std string.
Definition at line 198 of file header_widget.cpp.
bool moveit_setup_assistant::LoadPathWidget::dir_only_ [private] |
Definition at line 71 of file header_widget.h.
bool moveit_setup_assistant::LoadPathWidget::load_only_ [private] |
Definition at line 73 of file header_widget.h.
QLineEdit* moveit_setup_assistant::LoadPathWidget::path_box_ [private] |
Definition at line 75 of file header_widget.h.