HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_qt.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_qt_h__
10 #define __HOM_qt_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 
16 class HOM_FloatingPanel;
17 
18 SWIGOUT(%rename(qt) HOM_qt;)
20 {
21 public:
22  virtual ~HOM_qt()
23  {}
24 
25  virtual std::string __repr__() = 0;
26 
27  virtual void* _mainWindow() = 0;
28  virtual void* _floatingPanelWindow(HOM_FloatingPanel *panel) = 0;
29 
30  virtual void* _createWindow() = 0;
31  virtual void* _createDialog() = 0;
32  virtual void* _createMenu() = 0;
33  virtual void* _createIcon(const char* icon_name, int width, int height) = 0;
34 
35  virtual void* _getColor(const char* color_name) = 0;
36 
37  virtual std::string styleSheet() = 0;
38 
39  virtual std::map<std::string, int> qtKeyToUIKey(int qtKey,
40  int qtKeymodifiers) = 0;
41  virtual std::string qtKeyToString(int qtKey,
42  int qtKeymodifiers,
43  std::string qtkeystring) = 0;
44 
45  virtual double inchesToPixels(double inches) = 0;
46  virtual double pixelsToInches(double pixels) = 0;
47 
48  virtual void skipClosingMenusForCurrentButtonPress() = 0;
49 };
50 
51 #endif
virtual ~HOM_qt()
Definition: HOM_qt.h:22
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
Definition: glcorearb.h:107
GLint GLsizei width
Definition: glcorearb.h:102
Definition: HOM_qt.h:19
#define HOM_API
Definition: HOM_API.h:13
GLint GLsizei GLsizei height
Definition: glcorearb.h:102
virtual std::string __repr__()=0