source: trunk/examples/demo/opengl/glworkspace.h

Last change on this file was 160, checked in by dmik, 19 years ago

Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.

  • Property svn:keywords set to Id
File size: 736 bytes
Line 
1#ifndef GLWORKSPACE_H
2#define GLWORKSPACE_H
3
4#include <qmainwindow.h>
5
6class QWorkspace;
7class QPrinter;
8
9class GLWorkspace : public QMainWindow
10{
11 Q_OBJECT
12public:
13 GLWorkspace( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
14 ~GLWorkspace();
15
16protected:
17 void setupSceneActions();
18
19protected slots:
20 void newWirebox();
21 void newGear();
22 void newTexture();
23 void newNurbs();
24 void filePrint( int x, int y );
25 void filePrintWindowRes();
26 void filePrintLowRes();
27 void filePrintMedRes();
28 void filePrintHighRes();
29 bool filePrintSetup();
30 void fileClose();
31
32private:
33 QWorkspace *workspace;
34 QPrinter *printer;
35};
36
37#endif //GLWORKSPACE_H
Note: See TracBrowser for help on using the repository browser.