1 #ifndef SOQT_FULLVIEWER_H 2 #define SOQT_FULLVIEWER_H 29 #include <Inventor/Qt/viewers/SoQtViewer.h> 41 BUILD_DECORATION = 0x01,
43 BUILD_ALL = (BUILD_DECORATION | BUILD_POPUP)
46 void setDecoration(
const SbBool on);
47 SbBool isDecoration(
void)
const;
49 void setPopupMenuEnabled(
const SbBool on);
50 SbBool isPopupMenuEnabled(
void)
const;
52 QWidget * getAppPushButtonParent(
void)
const;
53 void addAppPushButton(QWidget * newButton);
54 void insertAppPushButton(QWidget * newButton,
int index);
55 void removeAppPushButton(QWidget * oldButton);
56 int findAppPushButton(QWidget * oldButton)
const;
57 int lengthAppPushButton(
void)
const;
59 QWidget * getRenderAreaWidget(
void)
const;
76 QWidget * buildWidget(QWidget * parent);
78 virtual void buildDecoration(QWidget * parent);
79 virtual QWidget * buildLeftTrim(QWidget * parent);
80 virtual QWidget * buildBottomTrim(QWidget * parent);
81 virtual QWidget * buildRightTrim(QWidget * parent);
82 QWidget * buildAppButtons(QWidget * parent);
83 QWidget * buildViewerButtons(QWidget * parent);
84 virtual void createViewerButtons(QWidget * parent, SbPList * buttonlist);
86 virtual void buildPopupMenu(
void);
87 virtual void setPopupMenuString(
const char * title);
88 virtual void openPopupMenu(
const SbVec2s position);
90 virtual void leftWheelStart(
void);
91 virtual void leftWheelMotion(
float);
92 virtual void leftWheelFinish(
void);
93 float getLeftWheelValue(
void)
const;
94 void setLeftWheelValue(
const float value);
96 virtual void bottomWheelStart(
void);
97 virtual void bottomWheelMotion(
float);
98 virtual void bottomWheelFinish(
void);
99 float getBottomWheelValue(
void)
const;
100 void setBottomWheelValue(
const float value);
102 virtual void rightWheelStart(
void);
103 virtual void rightWheelMotion(
float);
104 virtual void rightWheelFinish(
void);
105 float getRightWheelValue(
void)
const;
106 void setRightWheelValue(
const float value);
108 void setLeftWheelString(
const char *
const name);
109 QWidget * getLeftWheelLabelWidget(
void)
const;
110 void setBottomWheelString(
const char *
const name);
111 QWidget * getBottomWheelLabelWidget(
void)
const;
112 void setRightWheelString(
const char *
const name);
113 const char * getRightWheelString()
const;
114 QWidget * getRightWheelLabelWidget(
void)
const;
146 class SoQtFullViewerP * pimpl;
148 friend class SoGuiFullViewerP;
149 friend class SoQtFullViewerP;
155 #ifdef __COIN_SOXT__ // FIXME: get rid of non-templatized code. 20020108 mortene. 157 Widget buildFunctionsSubmenu(Widget popup);
158 Widget buildDrawStyleSubmenu(Widget popup);
162 SbPList * viewerButtonWidgets;
163 #endif // __COIN_SOXT__ 168 #endif // ! SOQT_FULLVIEWER_H virtual SbBool processSoEvent(const SoEvent *const event)
Definition: SoQtViewer.cpp:3642
float leftWheelVal
Definition: SoQtFullViewer.h:129
QWidget * leftDecoration
Definition: SoQtFullViewer.h:123
BuildFlag
Definition: SoQtFullViewer.h:39
The SoQtViewer class is the top level base viewer class.This is an abstract class, which adds the following features to it's SoQtRenderArea superclass: convenient methods for camera handling, an automatic headlight configuration.
Definition: SoQtViewer.h:81
float bottomWheelVal
Definition: SoQtFullViewer.h:137
float rightWheelVal
Definition: SoQtFullViewer.h:133
QWidget * leftWheelLabel
Definition: SoQtFullViewer.h:127
QWidget * bottomWheelLabel
Definition: SoQtFullViewer.h:135
QWidget * bottomDecoration
Definition: SoQtFullViewer.h:125
QWidget * bottomWheel
Definition: SoQtFullViewer.h:121
QWidget * rightDecoration
Definition: SoQtFullViewer.h:124
virtual void sizeChanged(const SbVec2s &size)
Definition: SoQtViewer.cpp:3633
virtual void setViewing(SbBool enable)
Definition: SoQtViewer.cpp:2129
SoQtPopupMenu * prefmenu
Definition: SoQtFullViewer.h:139
QWidget * rightWheel
Definition: SoQtFullViewer.h:120
char * leftWheelStr
Definition: SoQtFullViewer.h:128
char * rightWheelStr
Definition: SoQtFullViewer.h:132
QWidget * leftWheel
Definition: SoQtFullViewer.h:119
char * bottomWheelStr
Definition: SoQtFullViewer.h:136
The SoQtCursor class is used to set cursors for GUI components.The class provides both a set of pre-d...
Definition: SoQtCursor.h:32
virtual void setComponentCursor(const SoQtCursor &cursor)
Definition: SoQtComponent.cpp:962
QWidget * rightWheelLabel
Definition: SoQtFullViewer.h:131
The SoQtFullViewer class adds some user interface components to the viewer canvas.The SoQtFullViewer is an abstract viewer class which extends it's superclass (the basic SoQtViewer class) with two major user interface additions:
Definition: SoQtFullViewer.h:35