ArmarXMainWindow Class Reference

The ArmarXMainWindow class. More...

#include <ArmarXGui/applications/ArmarXGui/ArmarXMainWindow.h>

+ Inheritance diagram for ArmarXMainWindow:

Public Slots

void appendFileToWindowTitle (const QString &filepath="")
 
void loadGuiConfig (QString configFilepath="", bool showAsOpenGuiConfig=true)
 
void loadPluginsFromPackage (const QString &packageName)
 

Signals

void closeRequest ()
 emitted, when the main window should be closed More...
 
void updateSceneList (QMap< QString, Viewer3DInfo >)
 

Public Member Functions

void addToRecentlyOpenedFileList (QString configFilepath)
 
 ArmarXMainWindow (const armarx::ManagedIceObjectRegistryInterfacePtr &registry, const std::vector< std::string > &packages, const QString &configToLoad, bool disablePreloading)
 
void closeEvent (QCloseEvent *event) override
 emits the closeRequest signal More...
 
bool existsWidget (const QString &widgetName)
 
std::vector< std::string > getDefaultPackageNames ()
 getDefaultPackageNames returns the names of all packages which are searched for plugins when the ArmarXGuiApp is started. More...
 
QStringList getFavoriteWidgets ()
 
QString getLibraryPathFromPackage (const QString &packageName)
 
std::shared_ptr< std::recursive_mutex > getMutex3D ()
 Provides access to the coin3d mutex. Use this mutex to protect access to the 3d scene. More...
 
Viewer3DWidgetPtr getViewerWidget ()
 Provides access to a viewer widget, if existent. More...
 
void loadPlugin (QString filePath)
 loads a plugin with the given file path More...
 
void updateRecentlyOpenedFileList ()
 
 ~ArmarXMainWindow () override
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Friends

class Viewer3DWidget
 
class WidgetNameDialog
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

The ArmarXMainWindow class.

Definition at line 76 of file ArmarXMainWindow.h.

Constructor & Destructor Documentation

◆ ArmarXMainWindow()

ArmarXMainWindow ( const armarx::ManagedIceObjectRegistryInterfacePtr registry,
const std::vector< std::string > &  packages,
const QString &  configToLoad,
bool  disablePreloading 
)

Definition at line 108 of file ArmarXMainWindow.cpp.

+ Here is the call graph for this function:

◆ ~ArmarXMainWindow()

~ArmarXMainWindow ( )
override

Definition at line 261 of file ArmarXMainWindow.cpp.

Member Function Documentation

◆ addToRecentlyOpenedFileList()

void addToRecentlyOpenedFileList ( QString  configFilepath)

Definition at line 604 of file ArmarXMainWindow.cpp.

+ Here is the caller graph for this function:

◆ appendFileToWindowTitle

void appendFileToWindowTitle ( const QString &  filepath = "")
slot

Definition at line 878 of file ArmarXMainWindow.cpp.

+ Here is the caller graph for this function:

◆ closeEvent()

void closeEvent ( QCloseEvent *  event)
override

emits the closeRequest signal

Definition at line 547 of file ArmarXMainWindow.cpp.

◆ closeRequest

void closeRequest ( )
signal

emitted, when the main window should be closed

+ Here is the caller graph for this function:

◆ existsWidget()

bool existsWidget ( const QString &  widgetName)

Definition at line 519 of file ArmarXMainWindow.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDefaultPackageNames()

std::vector< std::string > getDefaultPackageNames ( )

getDefaultPackageNames returns the names of all packages which are searched for plugins when the ArmarXGuiApp is started.

Returns
vector of strings containing the names of the default packages

Definition at line 623 of file ArmarXMainWindow.cpp.

+ Here is the caller graph for this function:

◆ getFavoriteWidgets()

QStringList getFavoriteWidgets ( )

Definition at line 400 of file ArmarXMainWindow.cpp.

+ Here is the caller graph for this function:

◆ getLibraryPathFromPackage()

QString getLibraryPathFromPackage ( const QString &  packageName)

Definition at line 389 of file ArmarXMainWindow.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMutex3D()

std::shared_ptr<std::recursive_mutex> getMutex3D ( )

Provides access to the coin3d mutex. Use this mutex to protect access to the 3d scene.

Returns

◆ getViewerWidget()

Viewer3DWidgetPtr getViewerWidget ( )

Provides access to a viewer widget, if existent.

Definition at line 629 of file ArmarXMainWindow.cpp.

◆ loadGuiConfig

void loadGuiConfig ( QString  configFilepath = "",
bool  showAsOpenGuiConfig = true 
)
slot

Definition at line 643 of file ArmarXMainWindow.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadPlugin()

void loadPlugin ( QString  filePath)

loads a plugin with the given file path

Definition at line 526 of file ArmarXMainWindow.cpp.

+ Here is the call graph for this function:

◆ loadPluginsFromPackage

void loadPluginsFromPackage ( const QString &  packageName)
slot

Definition at line 436 of file ArmarXMainWindow.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateRecentlyOpenedFileList()

void updateRecentlyOpenedFileList ( )

Definition at line 1478 of file ArmarXMainWindow.cpp.

+ Here is the caller graph for this function:

◆ updateSceneList

void updateSceneList ( QMap< QString, Viewer3DInfo )
signal

Friends And Related Function Documentation

◆ Viewer3DWidget

friend class Viewer3DWidget
friend

Definition at line 275 of file ArmarXMainWindow.h.

◆ WidgetNameDialog

friend class WidgetNameDialog
friend

Definition at line 274 of file ArmarXMainWindow.h.


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