Module vrVredUi
[frames] | no frames]

Module vrVredUi

Contains some function to access the vred ui widgets.

Functions
long long
getMainWindow()
Returns the pointer address of vred main window.
Function Details

getMainWindow()

 

Returns the pointer address of vred main window. In order to use it in python you need to wrap it to a QMainWindow in python:

  from PySide6 import QtWidgets
  from shiboken6 import wrapInstance
  def vredMainWindow() : 
      main_window_ptr = getMainWindow() 
      return wrapInstance(long(main_window_ptr), QtWidgets.QMainWindow)

For your convenience the vredMainWindow() wrapper function is already defined when you start Vred.

Returns: long long
The main window Widget.