[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/kgllib/extras/kgllib
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2008-07-24 18:25:29
Message-ID: 1216923929.857967.9253.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 837453 by rivol:

Add brief apidox for WidgetProxy

 M  +10 -0     widgetproxy.h  


--- trunk/playground/libs/kgllib/extras/kgllib/widgetproxy.h #837452:837453
@@ -28,6 +28,16 @@
 {
 class GLWidget;
 
+/**
+ * @brief Embeds QWidgets in GLWidget
+ *
+ * WidgetProxy class allows easy embedding of QWidget subclasses inside a
+ *  GLWidget. It tries to be as transparent as possible, continuing to use the
+ *  GLWidget for rendering and doing smart event forwarding.
+ * Mouse events are sent to the widget that is under the cursor. Keyboard
+ *  events are sent to the widget that has focus. When user clicks outside any
+ *  embedded QWidgets then focus is given to the GLWidget.
+ **/
 class WidgetProxy : public QGraphicsView
 {
 public:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic