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
 
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
 
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.
 
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.
 
Viewer3DWidgetPtr getViewerWidget ()
 Provides access to a viewer widget, if existent.
 
void loadPlugin (QString filePath)
 loads a plugin with the given file path
 
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.
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set.
 
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 LogSenderPtr & getLogSender () const
 Retrieve log sender.
 
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.

Constructor & Destructor Documentation

◆ ArmarXMainWindow()

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

◆ ~ArmarXMainWindow()

~ArmarXMainWindow ( )
override

Member Function Documentation

◆ addToRecentlyOpenedFileList()

void addToRecentlyOpenedFileList ( QString configFilepath)

◆ appendFileToWindowTitle

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

◆ closeEvent()

void closeEvent ( QCloseEvent * event)
override

emits the closeRequest signal

◆ closeRequest

void closeRequest ( )
signal

emitted, when the main window should be closed

◆ existsWidget()

bool existsWidget ( const QString & widgetName)

◆ 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

◆ getFavoriteWidgets()

QStringList getFavoriteWidgets ( )

◆ getLibraryPathFromPackage()

QString getLibraryPathFromPackage ( const QString & packageName)

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

◆ loadGuiConfig

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

◆ loadPlugin()

void loadPlugin ( QString filePath)

loads a plugin with the given file path

◆ loadPluginsFromPackage

void loadPluginsFromPackage ( const QString & packageName)
slot

◆ updateRecentlyOpenedFileList()

void updateRecentlyOpenedFileList ( )

◆ updateSceneList

void updateSceneList ( QMap< QString, Viewer3DInfo > )
signal

Friends And Related Symbol Documentation

◆ Viewer3DWidget

friend class Viewer3DWidget
friend

◆ WidgetNameDialog

friend class WidgetNameDialog
friend

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