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) = 0;
56 
57  SWIGOUT(%newobject currentTab;)
58  virtual HOM_PaneTab *currentTab() = 0;
59 
60  SWIGOUT(%newobject tabOfType;)
61  virtual HOM_PaneTab *tabOfType(HOM_EnumValue &type, int index = 0) = 0;
62 
63  SWIGOUT(%newobject splitHorizontally;)
64  virtual HOM_Pane *splitHorizontally() = 0;
65 
66  SWIGOUT(%newobject splitVertically;)
67  virtual HOM_Pane *splitVertically() = 0;
68 
69  SWIGOUT(%newobject getSplitParent;)
70  virtual HOM_Pane *getSplitParent() = 0;
71 
72  SWIGOUT(%newobject getSplitChild;)
73  virtual HOM_Pane *getSplitChild(int child) = 0;
74 
75  virtual void splitSwap() = 0;
76 
77  virtual void splitRotate() = 0;
78 
79  virtual bool isSplitMaximized() = 0;
80 
81  virtual bool isSplitMinimized() = 0;
82 
83  virtual void setIsSplitMaximized(bool on) = 0;
84 
85  virtual bool isSplit() = 0;
86 
87  virtual void setSplitFraction(double value) = 0;
88 
89  virtual double getSplitFraction( ) = 0;
90 
91  virtual void setSplitDirection(int dir) = 0;
92 
93  virtual int getSplitDirection( ) = 0;
94 
95  virtual void setShowPaneTabs(bool value) = 0;
96  virtual void showPaneTabs(bool value) = 0;
97  virtual bool isShowingPaneTabs( ) = 0;
98 
99  virtual void showPaneTabsStow(bool value) = 0;
100  virtual bool isShowingPaneTabsStow( ) = 0;
101 
102  virtual void *_qtParentWindow() = 0;
103  virtual std::vector<int> _qtScreenGeometry() = 0;
104 
105 };
106 
107 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
HOM_Pane()
Definition: HOM_Pane.h:30
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
HOM_Pane(const HOM_Pane &)
Definition: HOM_Pane.h:32
#define HOM_API
Definition: HOM_API.h:13
virtual void * _qtParentWindow()=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
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
Definition: core.h:1131
type
Definition: core.h:1059