77class SOQT_DLL_API SoQt
81 static QWidget *
init(
const char * appname,
const char * classname =
"SoQt");
82 static QWidget *
init(
int & argc,
char ** argv,
83 const char * appname,
const char * classname =
"SoQt");
84 static void init(QWidget * toplevelwidget);
88 static void done(
void);
93 static void show(QWidget *
const widget);
94 static void hide(QWidget *
const widget);
96 static void setWidgetSize(QWidget *
const widget,
const SbVec2s size);
101 const char * string1,
102 const char * string2 = NULL);
121 static SbBool
isCompatible(
unsigned int major,
unsigned int minor);
124 static ABIType getABIType(
void);
126 static void lockGL(
void);
127 static void unlockGL(
void);
145 static void doIdleTasks(
void);
150 static void nextEvent(XtAppContext, XEvent *);
151 static Boolean dispatchEvent(XEvent * event);
152 static XtAppContext getAppContext(
void);
153 static Display * getDisplay(
void);
154 static XmString encodeString(
const char *
const str);
155 static char * decodeString(XmString xstring);
156 static void getPopupArgs(Display * display,
int screen,
157 ArgList args,
int * n);
159 static void registerColormapLoad(Widget widget, Widget shell);
160 static void addColormapToShell(Widget widget, Widget shell);
161 static void removeColormapFromShell(Widget widget, Widget shell);
163 static void addExtensionEventHandler(Widget widget,
164 int eventType, XtEventHandler proc,
165 XtPointer clientData);
166 static void removeExtensionEventHandler(Widget widget,
167 int eventType, XtEventHandler proc,
168 XtPointer clientData);
171 static void getExtensionEventHandler(XEvent * event, Widget & widget,
172 XtEventHandler & proc,
173 XtPointer & clientData);
178 friend class SoGtkComponent;
179 enum SoGtkComponentAction { CREATION, DESTRUCTION, CHANGE };
180 typedef void SoGtkComponentActionCallback(SoGtkComponent *, SoGtk::SoGtkComponentAction,
void *);
182 static void addComponentActionCallback(SoGtkComponentActionCallback *,
void *);
183 static void removeComponentActionCallback(SoGtkComponentActionCallback *,
void *);
185 static int getComponents(SbPList & components);
188 static void invokeComponentActionCallbacks(SoGtkComponent * component,
189 SoGtkComponentAction action);
191 static gint componentCreation(SoGtkComponent * component);
192 static gint componentDestruction(SoGtkComponent * component);
193 static gint componentChange(SoGtkComponent * component);
196 static gint timerSensorCB(gpointer data);
197 static gint idleSensorCB(gpointer data);
198 static gint delaySensorCB(gpointer data);
200 static GtkWidget * mainWidget;
201 static SbPList * components;
202 static SbPList * component_callbacks;
static QWidget * init(const char *appname, const char *classname="SoQt")
Definition SoQtCommon.cpp:173
static void getVersionInfo(int *major=NULL, int *minor=NULL, int *micro=NULL)
Definition SoQtCommon.cpp:317