Public Member Functions | Private Slots | Private Attributes | List of all members
rqt_rviz::ConfigDialog Class Reference

#include <config_dialog.h>

Inheritance diagram for rqt_rviz::ConfigDialog:
Inheritance graph
[legend]

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...
 

Detailed Description

Definition at line 43 of file config_dialog.h.

Constructor & Destructor Documentation

◆ ConfigDialog()

rqt_rviz::ConfigDialog::ConfigDialog ( )

Constructor.

Definition at line 42 of file config_dialog.cpp.

◆ ~ConfigDialog()

rqt_rviz::ConfigDialog::~ConfigDialog ( )

Destructor.

Definition at line 94 of file config_dialog.cpp.

Member Function Documentation

◆ GetFile()

std::string rqt_rviz::ConfigDialog::GetFile ( ) const

Get the file path entered by the user.

Definition at line 106 of file config_dialog.cpp.

◆ GetHide()

bool rqt_rviz::ConfigDialog::GetHide ( ) const

Get the hide menu option.

Definition at line 116 of file config_dialog.cpp.

◆ OnBrowse

void rqt_rviz::ConfigDialog::OnBrowse ( )
privateslot

Callback when the browse button is pressed.

Definition at line 98 of file config_dialog.cpp.

◆ SetFile()

void rqt_rviz::ConfigDialog::SetFile ( const std::string &  file)

Populate the file path line edit.

Definition at line 111 of file config_dialog.cpp.

◆ SetHide()

void rqt_rviz::ConfigDialog::SetHide ( const bool  hide)

Set the hide menu option.

Definition at line 121 of file config_dialog.cpp.

Member Data Documentation

◆ file_edit_

QLineEdit* rqt_rviz::ConfigDialog::file_edit_
private

Holds the file path.

Definition at line 76 of file config_dialog.h.

◆ hide_box_

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.


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


rqt_rviz
Author(s): Dorian Scholz
autogenerated on Mon Feb 28 2022 23:40:05