Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
moveit_setup_assistant::LoadPathWidget Class Reference

#include <header_widget.h>

Inheritance diagram for moveit_setup_assistant::LoadPathWidget:
Inheritance graph
[legend]

Signals

void pathChanged (const QString &path)
 
void pathEditingFinished ()
 

Public Member Functions

std::string getPath () const
 Returns the file path in std::string format. More...
 
QString getQPath () const
 Returns the file path in QString format. More...
 
 LoadPathWidget (const QString &title, const QString &instructions, QWidget *parent, const bool dir_only=false, const bool load_only=false)
 Constructor. More...
 
void setPath (const QString &path)
 Set the path with QString. More...
 
void setPath (const std::string &path)
 Set the path with std string. More...
 

Private Slots

void btn_file_dialog ()
 Load the file dialog. More...
 

Private Attributes

bool dir_only_
 
bool load_only_
 
QLineEdit * path_box_
 

Detailed Description

Definition at line 65 of file header_widget.h.

Constructor & Destructor Documentation

moveit_setup_assistant::LoadPathWidget::LoadPathWidget ( const QString &  title,
const QString &  instructions,
QWidget *  parent,
const bool  dir_only = false,
const bool  load_only = false 
)

Constructor.

Definition at line 91 of file header_widget.cpp.

Member Function Documentation

void moveit_setup_assistant::LoadPathWidget::btn_file_dialog ( )
privateslot

Load the file dialog.

Definition at line 144 of file header_widget.cpp.

std::string moveit_setup_assistant::LoadPathWidget::getPath ( ) const

Returns the file path in std::string format.

Definition at line 184 of file header_widget.cpp.

QString moveit_setup_assistant::LoadPathWidget::getQPath ( ) const

Returns the file path in QString format.

Definition at line 176 of file header_widget.cpp.

void moveit_setup_assistant::LoadPathWidget::pathChanged ( const QString &  path)
signal
void moveit_setup_assistant::LoadPathWidget::pathEditingFinished ( )
signal
void moveit_setup_assistant::LoadPathWidget::setPath ( const QString &  path)

Set the path with QString.

Definition at line 192 of file header_widget.cpp.

void moveit_setup_assistant::LoadPathWidget::setPath ( const std::string &  path)

Set the path with std string.

Definition at line 200 of file header_widget.cpp.

Member Data Documentation

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.


The documentation for this class was generated from the following files:


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Sun Oct 18 2020 13:19:28