Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
Editor Class Reference

#include <editor.h>

List of all members.

Public Slots

void slotElementTypeHovered (ArenaElement *element)
void slotExport ()
void slotExportSdf ()
void slotItemMountPointChanged (int index)
void slotNew ()
void slotOpen ()
void slotRemove ()
void slotRotateClockwise ()
void slotRotateCounterClockwise ()
void slotSave ()
void slotSaveAs ()
void slotSelectionChanged ()
void slotShowDocumentation ()

Public Member Functions

 Editor (QWidget *parent=0)
void loadConfig (const QString &configFile)
bool loadingSuccessful ()
 ~Editor ()

Private Slots

void slotModified ()

Private Member Functions

void askToSaveChangesIfModified ()
void closeEvent (QCloseEvent *event)
QString findRosPackage (const QString &name)
bool parseRosPackageDirsFromCommandLineArguments ()
void setCurrentArenaFile (QString fileName)

Private Attributes

Arenam_arena
ArenaScenem_arenaScene
ArenaViewm_arenaView
ArenaControllerm_controller
QString m_currentArenaFile
QString m_exportDir
QString m_hector_arena_elements_package_dir
QString m_hector_arena_gui_package_dir
QString m_hector_arena_worlds_package_dir
bool m_loadingSuccessful
QString m_openSaveDir
ArenaElementTypeRegistrym_typeRegistry
ArenaElementTypeScenem_typeScene
Ui::MainWindow * m_ui
QString m_windowTitlePrefix

Detailed Description

Definition at line 22 of file editor.h.


Constructor & Destructor Documentation

Editor::Editor ( QWidget *  parent = 0)

Definition at line 29 of file editor.cpp.

Definition at line 265 of file editor.cpp.


Member Function Documentation

Definition at line 391 of file editor.cpp.

void Editor::closeEvent ( QCloseEvent *  event) [private]

Definition at line 489 of file editor.cpp.

QString Editor::findRosPackage ( const QString &  name) [private]

Returns a path to the specified ROS package. The returned is empty if package wasn't found.

Definition at line 148 of file editor.cpp.

void Editor::loadConfig ( const QString &  configFile)

Definition at line 235 of file editor.cpp.

bool Editor::loadingSuccessful ( ) [inline]

Definition at line 32 of file editor.h.

Tries to determine ROS package dirs of hector_arena_gui and hector_arena_elements packages from command line arguments

Definition at line 188 of file editor.cpp.

void Editor::setCurrentArenaFile ( QString  fileName) [private]

Definition at line 481 of file editor.cpp.

void Editor::slotElementTypeHovered ( ArenaElement element) [slot]

Definition at line 475 of file editor.cpp.

void Editor::slotExport ( ) [slot]

Definition at line 449 of file editor.cpp.

void Editor::slotExportSdf ( ) [slot]

Definition at line 459 of file editor.cpp.

void Editor::slotItemMountPointChanged ( int  index) [slot]

Definition at line 376 of file editor.cpp.

void Editor::slotModified ( ) [private, slot]

Definition at line 401 of file editor.cpp.

void Editor::slotNew ( ) [slot]

Definition at line 406 of file editor.cpp.

void Editor::slotOpen ( ) [slot]

Definition at line 415 of file editor.cpp.

void Editor::slotRemove ( ) [slot]

Definition at line 293 of file editor.cpp.

void Editor::slotRotateClockwise ( ) [slot]

Definition at line 275 of file editor.cpp.

Definition at line 284 of file editor.cpp.

void Editor::slotSave ( ) [slot]

Definition at line 428 of file editor.cpp.

void Editor::slotSaveAs ( ) [slot]

Definition at line 438 of file editor.cpp.

Definition at line 303 of file editor.cpp.

Definition at line 469 of file editor.cpp.


Member Data Documentation

Arena* Editor::m_arena [private]

Definition at line 77 of file editor.h.

Definition at line 80 of file editor.h.

Definition at line 81 of file editor.h.

Definition at line 78 of file editor.h.

QString Editor::m_currentArenaFile [private]

Definition at line 76 of file editor.h.

QString Editor::m_exportDir [private]

Definition at line 74 of file editor.h.

Definition at line 85 of file editor.h.

Definition at line 84 of file editor.h.

Definition at line 86 of file editor.h.

Definition at line 72 of file editor.h.

QString Editor::m_openSaveDir [private]

Definition at line 75 of file editor.h.

Definition at line 82 of file editor.h.

Definition at line 79 of file editor.h.

Ui::MainWindow* Editor::m_ui [private]

Definition at line 70 of file editor.h.

QString Editor::m_windowTitlePrefix [private]

Definition at line 89 of file editor.h.


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


hector_nist_arena_designer
Author(s): Stefan Kohlbrecher , Johannes Simon
autogenerated on Wed May 15 2019 05:00:31