1
#ifndef SOQTFULLVIEWERP_H
2
#define SOQTFULLVIEWERP_H
4
/**************************************************************************\
6
* This file is part of the Coin 3D visualization library.
7
* Copyright (C) 1998-2003 by Systems in Motion. All rights reserved.
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* ("GPL") version 2 as published by the Free Software Foundation.
12
* See the file LICENSE.GPL at the root directory of this source
13
* distribution for additional information about the GNU GPL.
15
* For using Coin with software that can not be combined with the GNU
16
* GPL, and for taking advantage of the additional benefits of our
17
* support services, please contact Systems in Motion about acquiring
18
* a Coin Professional Edition License.
20
* See <URL:http://www.coin3d.org> for more information.
22
* Systems in Motion, Teknobyen, Abels Gate 5, 7030 Trondheim, NORWAY.
23
* <URL:http://www.sim.no>.
25
\**************************************************************************/
28
#error this is a private header file
29
#endif /* !SOQT_INTERNAL */
31
#include <Inventor/Qt/viewers/SoGuiFullViewerP.h>
43
// ************************************************************************
45
// This class contains private data and methods used within the
46
// SoQtFullViewer class.
48
class SoQtFullViewerP : public QObject, public SoGuiFullViewerP
53
SoQtFullViewerP(SoQtFullViewer * publ);
58
void leftWheelPressed(void);
59
void leftWheelChanged(float value);
60
void leftWheelReleased(void);
61
void rightWheelPressed(void);
62
void rightWheelChanged(float value);
63
void rightWheelReleased(void);
64
void bottomWheelPressed(void);
65
void bottomWheelChanged(float value);
66
void bottomWheelReleased(void);
69
void interactbuttonClicked();
70
void viewbuttonClicked();
71
void homebuttonClicked();
72
void sethomebuttonClicked();
73
void viewallbuttonClicked();
74
void seekbuttonClicked();
77
void selectedViewing();
78
void selectedDecoration();
79
void selectedHeadlight();
82
void increaseInteractiveCount();
83
void decreaseInteractiveCount();
86
static void setThumbWheelValue(void * wheel, float val);
88
void showDecorationWidgets(SbBool onOff);
90
void layoutAppButtons(QWidget * form);
92
// Return pointer to pushbutton in right-side decoration bar.
93
QPushButton * getViewerbutton(const int idx)
95
return (QPushButton *)this->viewerbuttons->get(idx);
98
QWidget * viewerwidget, * canvas;
99
QWidget * interactbutton, * viewbutton;
103
QLayout * mainlayout;
104
QLayout * appbuttonlayout;
105
QWidget * appbuttonform;
106
SbPList * appbuttonlist;
107
SbPList * viewerbuttons;
110
// ************************************************************************
112
#endif // ! SOQTFULLVIEWERP_H