HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Pane.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_Pane_h__
10 #define __HOM_Pane_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_EnumValue.h"
17 #include "HOM_PaneTab.h"
18 
19 #include <string>
20 #include <vector>
21 
22 class HOM_Desktop;
23 class HOM_FloatingPanel;
24 
25 SWIGOUT(%rename(Pane) HOM_Pane;)
26 
28 {
29 public:
31  { HOM_CONSTRUCT_OBJECT(this) }
32  HOM_Pane(const HOM_Pane &)
33  { HOM_CONSTRUCT_OBJECT(this) }
34  virtual ~HOM_Pane()
35  { HOM_DESTRUCT_OBJECT(this) }
36 
37  virtual std::string __repr__() = 0;
38 
39  SWIGOUT(%newobject desktop;)
40  virtual HOM_Desktop *desktop() = 0;
41 
42  SWIGOUT(%warnfilter(321) id;)
43  virtual int id() = 0;
44 
45  virtual bool isMaximized() = 0;
46 
47  SWIGOUT(%newobject floatingPanel;)
48  virtual HOM_FloatingPanel *floatingPanel() = 0;
49 
50  virtual void setIsMaximized( bool on ) = 0;
51 
52  virtual std::vector<HOM_ElemPtr<HOM_PaneTab> > tabs() = 0;
53 
54  SWIGPYTHONOUT(%newobject createTab;)
55  virtual HOM_PaneTab *createTab(HOM_EnumValue &type,
56  const char* python_panel_interface = nullptr) = 0;
57 
58  SWIGOUT(%newobject currentTab;)
59  virtual HOM_PaneTab *currentTab() = 0;
60 
61  SWIGOUT(%newobject tabOfType;)
62  virtual HOM_PaneTab *tabOfType(HOM_EnumValue &type, int index = 0) = 0;
63 
64  SWIGOUT(%newobject splitHorizontally;)
65  virtual HOM_Pane *splitHorizontally() = 0;
66 
67  SWIGOUT(%newobject splitVertically;)
68  virtual HOM_Pane *splitVertically() = 0;
69 
70  SWIGOUT(%newobject getSplitParent;)
71  virtual HOM_Pane *getSplitParent() = 0;
72 
73  SWIGOUT(%newobject getSplitChild;)
74  virtual HOM_Pane *getSplitChild(int child) = 0;
75 
76  virtual void splitSwap() = 0;
77 
78  virtual void splitRotate() = 0;
79 
80  virtual bool isSplitMaximized() = 0;
81 
82  virtual bool isSplitMinimized() = 0;
83 
84  virtual void setIsSplitMaximized(bool on) = 0;
85 
86  virtual bool isSplit() = 0;
87 
88  virtual void setSplitFraction(double value) = 0;
89 
90  virtual double getSplitFraction( ) = 0;
91 
92  virtual void setSplitDirection(int dir) = 0;
93 
94  virtual int getSplitDirection( ) = 0;
95 
96  virtual void setShowPaneTabs(bool value) = 0;
97  virtual void showPaneTabs(bool value) = 0;
98  virtual bool isShowingPaneTabs( ) = 0;
99 
100  virtual void showPaneTabsStow(bool value) = 0;
101  virtual bool isShowingPaneTabsStow( ) = 0;
102 
103  virtual void *_qtParentWindow() = 0;
104  virtual std::vector<int> _qtScreenGeometry() = 0;
105 
106 };
107 
108 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1343
GLsizei const GLfloat * value
Definition: glcorearb.h:824
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_Pane()
Definition: HOM_Pane.h:30
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
HOM_Pane(const HOM_Pane &)
Definition: HOM_Pane.h:32
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:108
#define HOM_API
Definition: HOM_API.h:13
virtual void * _qtParentWindow()=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1342
virtual ~HOM_Pane()
Definition: HOM_Pane.h:34
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint index
Definition: glcorearb.h:786
#define SWIGPYTHONOUT(x)
Definition: HOM_Defines.h:30