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

rqt_rviz::ConfigDialog::ConfigDialog ( )

Constructor.

Definition at line 42 of file config_dialog.cpp.

rqt_rviz::ConfigDialog::~ConfigDialog ( )

Destructor.

Definition at line 94 of file config_dialog.cpp.

Member Function Documentation

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

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.

Member Data Documentation

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.


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


rqt_rviz
Author(s): Dorian Scholz
autogenerated on Fri Feb 1 2019 03:57:23