28 virtual void* _mainWindow() = 0;
31 virtual void* _createWindow() = 0;
32 virtual void* _createDialog() = 0;
33 virtual void* _createMenu() = 0;
34 virtual void* _createIcon(
const char* icon_name,
int width,
int height) = 0;
35 virtual bool canCreateIcon(
const char *icon_name) = 0;
37 virtual void* _createParmDialog(
HOM_Node *hom_node,
bool showTitleBar,
bool compact,
double labelsize) = 0;
38 virtual void _setParmDialogNode(
void *widget,
HOM_Node *hom_node) = 0;
39 virtual HOM_Node* _parmDialogNode(
void *widget) = 0;
41 virtual std::vector<std::string> _getParmDialogValueNames(
void *widget) = 0;
42 virtual std::string _getParmDialogValue(
void *widget,
const char *
name) = 0;
43 virtual bool _setParmDialogValue(
void *widget,
const char *
name,
const char*
value) = 0;
44 virtual bool _pressParmDialogButton(
void *widget,
const char *
name) = 0;
46 virtual std::vector<HOM_ElemPtr<HOM_ParmTuple> > _getParmDialogVisibleParms(
void *widget) = 0;
48 virtual void* _getColor(
const char* color_name) = 0;
49 virtual void* _getCursor(
const char *cursor_name) = 0;
50 virtual void* _getBrush(
const char* color_name) = 0;
52 virtual std::string styleSheet(
const char *file_path=
nullptr) = 0;
54 virtual std::map<std::string, int> _qtKeyToUIKey(
int qtKey,
55 int qtKeymodifiers) = 0;
62 int native_virtual_key) = 0;
63 virtual bool _hasExtendedKeyEventInfo(
int native_key_code) = 0;
64 virtual int _eventKeyIfNoModifiers(
int native_key_code) = 0;
65 virtual std::string _eventTextIfNoModifiers(
int native_key_code) = 0;
68 virtual void _registerOpaqueKeyResolveInfoCallback(
70 void *py_callback) = 0;
72 virtual void _unregisterOpaqueKeyResolveInfoCallback(
76 virtual void _opaqueHotkeyAssignments(
78 const std::vector<std::string> &hotkey_symbols,
79 std::vector<std::vector<std::string> > &
result) = 0;
86 void _registerKeyResolveInfoCallback(
int64 widget,
87 InterpreterObject callback)
89 self->_registerOpaqueKeyResolveInfoCallback(
90 reinterpret_cast<void *>(widget), callback);
93 void _unregisterKeyResolveInfoCallback(
int64 widget)
95 self->_unregisterOpaqueKeyResolveInfoCallback(
96 reinterpret_cast<void *>(widget));
99 std::vector<std::vector<std::string> >
100 _hotkeyAssignments(
int64 widget,
101 const std::vector<std::string> &hotkey_symbols)
103 std::vector<std::vector<std::string> >
result;
104 self->_opaqueHotkeyAssignments(
105 reinterpret_cast<void *>(widget), hotkey_symbols, result);
113 const std::vector<std::string> &override_contexts) = 0;
115 virtual double inchesToPixels(
double inches) = 0;
116 virtual double pixelsToInches(
double pixels) = 0;
118 virtual void skipClosingMenusForCurrentButtonPress() = 0;
120 virtual bool _launchRenderGalleryBackgroundRender(
121 const char *delegate,
122 const char *usd_filepath,
123 const char *rendersettings_prim,
124 const char *override_camera,
125 int override_res_x,
int override_res_y,
126 const char *lopnet_path,
130 virtual void _renderGalleryBackgroundRenderMouseClick(
131 int x,
int y,
const char *lopnet_path,
135 virtual void _stopRenderGalleryBackgroundRender(
136 const char *lopnet_path,
144 virtual std::string _galleryEntryNameMimeType() = 0;
148 virtual std::string _orboltNodeTypeNameMimeType() = 0;
151 virtual std::string _persistentHandleNameMimeType() = 0;
156 virtual std::string _usdPrimitivePathMimeType() = 0;
157 virtual std::string _usdPrimitivePythonMimeType() = 0;
158 virtual std::string _usdPropertyPathMimeType() = 0;
159 virtual std::string _usdPropertyPythonMimeType() = 0;
160 virtual std::string _assetGalleryEntryMimeType() = 0;
162 virtual int _galleryNameRole() = 0;
163 virtual int _galleryThumbRole() = 0;
164 virtual int _galleryCreationDateRole() = 0;
165 virtual int _galleryStarRole() = 0;
166 virtual int _galleryDiffMarkerRole() = 0;
167 virtual int _galleryColorRole() = 0;
168 virtual int _galleryTagsRole() = 0;
169 virtual int _galleryThumbValidRole() = 0;
170 virtual int _galleryMetadataRole() = 0;
171 virtual int _gallerySnapshotFileRole() = 0;
172 virtual int _gallerySnapshotRole() = 0;
173 virtual int _galleryRenderingRole() = 0;
174 virtual int _galleryCloneIdRole() = 0;
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
**But if you need a result
GLint GLsizei GLsizei height
void ignore(T const &) VULKAN_HPP_NOEXCEPT
UT_Optional< int > HOM_OptionalInt
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)