Gui::GUISingleApplication Class Reference

#include <GuiApplication.h>

Classes

class  Private
 

Signals

void messageReceived (const QList< QByteArray > &)
 

Public Member Functions

 GUISingleApplication (int &argc, char **argv)
 
bool isRunning () const
 
bool sendMessage (const QByteArray &message, int timeout=5000)
 
virtual ~GUISingleApplication ()
 
- Public Member Functions inherited from Gui::GUIApplication
 GUIApplication (int &argc, char **argv)
 
bool notify (QObject *receiver, QEvent *event)
 Make forwarding events exception-safe and get more detailed information where an unhandled exception comes from. More...
 
virtual ~GUIApplication ()
 
- Public Member Functions inherited from Gui::GUIApplicationNativeEventAware
 GUIApplicationNativeEventAware (int &argc, char *argv[])
 
void initSpaceball (QMainWindow *window)
 
bool isSpaceballPresent () const
 
void postButtonEvent (int buttonNumber, int buttonPress)
 
void postMotionEvent (std::vector< int > motionDataArray)
 
bool processSpaceballEvent (QObject *object, QEvent *event)
 
void setSpaceballPresent (bool present)
 
 ~GUIApplicationNativeEventAware ()
 

Additional Inherited Members

- Public Slots inherited from Gui::GUIApplication
void commitData (QSessionManager &manager)
 
- Public Attributes inherited from Gui::GUIApplication
boost::shared_ptr< Base::SystemExitExceptioncaughtException
 Pointer to exceptions caught in Qt event handler. More...
 
- Protected Member Functions inherited from Gui::GUIApplication
bool event (QEvent *event)
 

Constructor & Destructor Documentation

◆ GUISingleApplication()

GUISingleApplication::GUISingleApplication ( int &  argc,
char **  argv 
)
explicit

◆ ~GUISingleApplication()

GUISingleApplication::~GUISingleApplication ( )
virtual

Member Function Documentation

◆ isRunning()

bool GUISingleApplication::isRunning ( ) const

◆ messageReceived

void Gui::GUISingleApplication::messageReceived ( const QList< QByteArray > &  )
signal

◆ sendMessage()

bool GUISingleApplication::sendMessage ( const QByteArray &  message,
int  timeout = 5000 
)

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/GuiApplication.h
  • Sources/FreeCAD/src/Gui/GuiApplication.cpp