version 3.3

VRS::Qt3WinApplication Class Reference

#include <vrs/qt3/qt3winapplication.h>

List of all members.

Public Member Functions

 Qt3WinApplication (int &argc, char **argv)
 Qt3WinApplication (int &argc, char **argv, bool GUIenabled)
 Qt3WinApplication (int &argc, char **argv, QApplication::Type type)
 Each constructor just calls the corresponding QApplication constructor.
void registerDevice (SO< Device > device)
virtual bool winEventFilter (MSG *msg)

Classes

class  Device


Detailed Description

Use Qt3WinApplication instead of QApplication if you need to process window events that can not be understood by QT. In a VRSQTWinApplication you can register devices, which get the windows events of the application.

NOTE: This class is Win32-specific!


Constructor & Destructor Documentation

VRS::Qt3WinApplication::Qt3WinApplication ( int &  argc,
char **  argv 
)

VRS::Qt3WinApplication::Qt3WinApplication ( int &  argc,
char **  argv,
bool  GUIenabled 
)

VRS::Qt3WinApplication::Qt3WinApplication ( int &  argc,
char **  argv,
QApplication::Type  type 
)

Each constructor just calls the corresponding QApplication constructor.


Member Function Documentation

void VRS::Qt3WinApplication::registerDevice ( SO< Device device  ) 

All windows events are first passed to all registered devices. If at least one device creates a VRS event, the message is not further passed to the QT event loop.

virtual bool VRS::Qt3WinApplication::winEventFilter ( MSG msg  )  [virtual]

Overloads the winEventFilter method of QApplication in order to pass events to registered devices.


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

Generated on Fri May 24 06:00:29 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact