HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_FloatingPanel.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_FloatingPanel_h__
10 #define __HOM_FloatingPanel_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 <string>
18 #include <vector>
19 
20 class HOM_ShelfDock;
21 class HOM_Pane;
22 class HOM_PaneTab;
23 class HOM_Vector2;
24 
25 SWIGOUT(%rename(FloatingPanel) HOM_FloatingPanel;)
26 
28 {
29 public:
31  { HOM_CONSTRUCT_OBJECT(this) }
33  { HOM_CONSTRUCT_OBJECT(this) }
35  { HOM_DESTRUCT_OBJECT(this) }
36 
37  virtual std::string __repr__() = 0;
38 
39  virtual std::vector<HOM_ElemPtr<HOM_Pane> > panes() = 0;
40 
41  virtual std::vector<HOM_ElemPtr<HOM_PaneTab> > paneTabs() = 0;
42 
43  SWIGOUT(%newobject paneTabOfType;)
44  virtual HOM_PaneTab *paneTabOfType(HOM_EnumValue &type, int index = 0) = 0;
45 
46  SWIGOUT(%newobject findPaneTab;)
47  virtual HOM_PaneTab *findPaneTab(const char *name) = 0;
48 
49  virtual std::string name() = 0;
50 
51  virtual void setName(const char *name) = 0;
52 
53  virtual bool containsPlaybar() = 0;
54  virtual void setContainsPlaybar(bool on) = 0;
55 
56  virtual bool containsShelf() = 0;
57  virtual void setContainsShelf(bool on) = 0;
58 
59  virtual bool containsStatusBar() = 0;
60  virtual void setContainsStatusBar(bool on) = 0;
61 
62  virtual bool containsMenuBar() = 0;
63  virtual void setContainsMenuBar(bool on) = 0;
64 
65  virtual bool isAttachedToDesktop() = 0;
66  virtual void attachToDesktop(bool on) = 0;
67 
68  virtual bool isFullscreen() = 0;
69  virtual void setIsFullscreen(bool on) = 0;
70 
71  SWIGOUT(%newobject position;)
72  virtual HOM_Vector2 *position() = 0;
73  virtual void setPosition(const std::vector<int> &position)
74  = 0;
75  SWIGOUT(%newobject size;)
76  virtual HOM_Vector2 *size() = 0;
77  virtual void setSize(const std::vector<int> &size)
78  = 0;
79 
80  virtual void close() = 0;
81 
82  virtual void *_qtParentWindow() = 0;
83 };
84 
85 #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
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
void close() override
#define HOM_API
Definition: HOM_API.h:13
HOM_FloatingPanel(const HOM_FloatingPanel &)
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
GLuint const GLchar * name
Definition: glcorearb.h:786
GLsizeiptr size
Definition: glcorearb.h:664
virtual ~HOM_FloatingPanel()
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLuint index
Definition: glcorearb.h:786
SIM_API const UT_StringHolder position
type
Definition: core.h:1059