HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 void* _getCursor(const char *cursor_name) = 0;
38 
39  virtual std::string styleSheet() = 0;
40 
41  virtual std::map<std::string, int> qtKeyToUIKey(int qtKey,
42  int qtKeymodifiers) = 0;
43  virtual std::string qtKeyToString(int qtKey,
44  int qtKeymodifiers,
45  std::string qtkeystring) = 0;
46 
47  virtual double inchesToPixels(double inches) = 0;
48  virtual double pixelsToInches(double pixels) = 0;
49 
50  virtual void skipClosingMenusForCurrentButtonPress() = 0;
51 
52  // Supported mime-types for drag-and-drop.
53  virtual std::string _channelPathMimeType() = 0;
54  virtual std::string _chopTrackPathMimeType() = 0;
55  virtual std::string _galleryEntryNameMimeType() = 0;
56  virtual std::string _itemPathMimeType() = 0;
57  virtual std::string _nodeFlagPathMimeType() = 0;
58  virtual std::string _nodePathMimeType() = 0;
59  virtual std::string _orboltNodeTypeNameMimeType() = 0;
60  virtual std::string _paneTabNameMimeType() = 0;
61  virtual std::string _parmPathMimeType() = 0;
62  virtual std::string _persistentHandleNameMimeType() = 0;
63  virtual std::string _primitivePathMimeType() = 0;
64  virtual std::string _shelfNameMimeType() = 0;
65  virtual std::string _shelfToolNameMimeType() = 0;
66  virtual std::string _takeNameMimeType() = 0;
67  virtual std::string _usdPrimitivePathMimeType() = 0;
68  virtual std::string _usdPrimitivePythonMimeType() = 0;
69  virtual std::string _usdPropertyPathMimeType() = 0;
70  virtual std::string _usdPropertyPythonMimeType() = 0;
71 };
72 
73 #endif
virtual ~HOM_qt()
Definition: HOM_qt.h:22
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1252
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
Definition: glew.h:1252
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
Definition: HOM_qt.h:19
#define HOM_API
Definition: HOM_API.h:13
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const void * pixels
Definition: glew.h:1254
GLsizei const GLchar *const * string
Definition: glew.h:1844