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 btnFileDialog ()
 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

◆ LoadPathWidget()

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 124 of file header_widget.cpp.

Member Function Documentation

◆ btnFileDialog

void moveit_setup_assistant::LoadPathWidget::btnFileDialog ( )
privateslot

Load the file dialog.

Definition at line 177 of file header_widget.cpp.

◆ getPath()

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

Returns the file path in std::string format.

Definition at line 217 of file header_widget.cpp.

◆ getQPath()

QString moveit_setup_assistant::LoadPathWidget::getQPath ( ) const

Returns the file path in QString format.

Definition at line 209 of file header_widget.cpp.

◆ pathChanged

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

◆ pathEditingFinished

void moveit_setup_assistant::LoadPathWidget::pathEditingFinished ( )
signal

◆ setPath() [1/2]

void moveit_setup_assistant::LoadPathWidget::setPath ( const QString &  path)

Set the path with QString.

Definition at line 225 of file header_widget.cpp.

◆ setPath() [2/2]

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

Set the path with std string.

Definition at line 233 of file header_widget.cpp.

Member Data Documentation

◆ dir_only_

bool moveit_setup_assistant::LoadPathWidget::dir_only_
private

Definition at line 71 of file header_widget.h.

◆ load_only_

bool moveit_setup_assistant::LoadPathWidget::load_only_
private

Definition at line 73 of file header_widget.h.

◆ path_box_

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 Sat May 3 2025 02:28:05