EditorFileOpener Class Reference

The EditorFileOpener class. More...

#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/editorfileopener.h>

+ Inheritance diagram for EditorFileOpener:

Public Member Functions

 EditorFileOpener (std::string configFile="")
 
void openFile (const std::string &editorName, const std::string &filepath, int lineNumber=0)
 
void openFileWithDefaultEditor (const std::string &filepath, int lineNumber=0)
 The default editor can be specified by the environment variable $ARMARX_EDITOR.
 
void setOpencommand (const std::string &editorName, const std::string &openCommandLine)
 
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () 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 EditorFileOpener class.

Definition at line 39 of file editorfileopener.h.

Constructor & Destructor Documentation

◆ EditorFileOpener()

EditorFileOpener ( std::string configFile = "")

Definition at line 40 of file editorfileopener.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ openFile()

void openFile ( const std::string & editorName,
const std::string & filepath,
int lineNumber = 0 )

Definition at line 85 of file editorfileopener.cpp.

+ Here is the caller graph for this function:

◆ openFileWithDefaultEditor()

void openFileWithDefaultEditor ( const std::string & filepath,
int lineNumber = 0 )

The default editor can be specified by the environment variable $ARMARX_EDITOR.

If the environment variable is not present, QtCreator is used.

Definition at line 130 of file editorfileopener.cpp.

+ Here is the call graph for this function:

◆ setOpencommand()

void setOpencommand ( const std::string & editorName,
const std::string & openCommandLine )

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