1#ifndef SOQT_FULLVIEWER_H
2#define SOQT_FULLVIEWER_H
38#include <Inventor/Qt/viewers/SoQtViewer.h>
50 BUILD_DECORATION = 0x01,
52 BUILD_ALL = (BUILD_DECORATION | BUILD_POPUP)
55 void setDecoration(
const SbBool on);
56 SbBool isDecoration(
void)
const;
58 void setPopupMenuEnabled(
const SbBool on);
59 SbBool isPopupMenuEnabled(
void)
const;
61 QWidget * getAppPushButtonParent(
void)
const;
62 void addAppPushButton(QWidget * newButton);
63 void insertAppPushButton(QWidget * newButton,
int index);
64 void removeAppPushButton(QWidget * oldButton);
65 int findAppPushButton(QWidget * oldButton)
const;
66 int lengthAppPushButton(
void)
const;
68 QWidget * getRenderAreaWidget(
void)
const;
85 QWidget * buildWidget(QWidget * parent);
87 virtual void buildDecoration(QWidget * parent);
88 virtual QWidget * buildLeftTrim(QWidget * parent);
89 virtual QWidget * buildBottomTrim(QWidget * parent);
90 virtual QWidget * buildRightTrim(QWidget * parent);
91 QWidget * buildAppButtons(QWidget * parent);
92 QWidget * buildViewerButtons(QWidget * parent);
93 virtual void createViewerButtons(QWidget * parent, SbPList * buttonlist);
95 virtual void buildPopupMenu(
void);
96 virtual void setPopupMenuString(
const char * title);
97 virtual void openPopupMenu(
const SbVec2s position);
99 virtual void leftWheelStart(
void);
100 virtual void leftWheelMotion(
float);
101 virtual void leftWheelFinish(
void);
102 float getLeftWheelValue(
void)
const;
103 void setLeftWheelValue(
const float value);
105 virtual void bottomWheelStart(
void);
106 virtual void bottomWheelMotion(
float);
107 virtual void bottomWheelFinish(
void);
108 float getBottomWheelValue(
void)
const;
109 void setBottomWheelValue(
const float value);
111 virtual void rightWheelStart(
void);
112 virtual void rightWheelMotion(
float);
113 virtual void rightWheelFinish(
void);
114 float getRightWheelValue(
void)
const;
115 void setRightWheelValue(
const float value);
117 void setLeftWheelString(
const char *
const name);
118 QWidget * getLeftWheelLabelWidget(
void)
const;
119 void setBottomWheelString(
const char *
const name);
120 QWidget * getBottomWheelLabelWidget(
void)
const;
121 void setRightWheelString(
const char *
const name);
122 const char * getRightWheelString()
const;
123 QWidget * getRightWheelLabelWidget(
void)
const;
155 class SoQtFullViewerP * pimpl;
157 friend class SoGuiFullViewerP;
158 friend class SoQtFullViewerP;
166 Widget buildFunctionsSubmenu(Widget popup);
167 Widget buildDrawStyleSubmenu(Widget popup);
171 SbPList * viewerButtonWidgets;
virtual void setComponentCursor(const SoQtCursor &cursor)
Definition SoQtComponent.cpp:971
The SoQtCursor class is used to set cursors for GUI components.
Definition SoQtCursor.h:41
The SoQtFullViewer class adds some user interface components to the viewer canvas.
Definition SoQtFullViewer.h:44
char * rightWheelStr
Definition SoQtFullViewer.h:141
QWidget * leftWheel
Definition SoQtFullViewer.h:128
QWidget * leftDecoration
Definition SoQtFullViewer.h:132
QWidget * leftWheelLabel
Definition SoQtFullViewer.h:136
float rightWheelVal
Definition SoQtFullViewer.h:142
QWidget * bottomWheelLabel
Definition SoQtFullViewer.h:144
SoQtPopupMenu * prefmenu
Definition SoQtFullViewer.h:148
float bottomWheelVal
Definition SoQtFullViewer.h:146
QWidget * rightWheel
Definition SoQtFullViewer.h:129
BuildFlag
Definition SoQtFullViewer.h:48
QWidget * rightWheelLabel
Definition SoQtFullViewer.h:140
QWidget * bottomWheel
Definition SoQtFullViewer.h:130
float leftWheelVal
Definition SoQtFullViewer.h:138
QWidget * rightDecoration
Definition SoQtFullViewer.h:133
QWidget * bottomDecoration
Definition SoQtFullViewer.h:134
char * leftWheelStr
Definition SoQtFullViewer.h:137
char * bottomWheelStr
Definition SoQtFullViewer.h:145
The SoQtViewer class is the top level base viewer class.
Definition SoQtViewer.h:90
virtual void sizeChanged(const SbVec2s &size)
Definition SoQtViewer.cpp:3651
virtual SbBool processSoEvent(const SoEvent *const event)
Definition SoQtViewer.cpp:3660
virtual void setViewing(SbBool enable)
Definition SoQtViewer.cpp:2147