HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RE_Window Class Reference

#include <RE_Window.h>

Public Member Functions

 RE_Window (RE_Server *server, RE_WindowType type=RE_WINDOW_NORMAL, RE_VisualType visType=RE_NORMAL_VIS)
 
virtual ~RE_Window ()
 
void setName (const char *name)
 
void setIconName (const char *name)
 
void setParentWindow (RE_Window *parent)
 
const RE_WindowgetParentWindow () const
 
RE_ServergetServer ()
 
RE_VisualgetVisual ()
 
RE_RendergetRender ()
 
void setRender (RE_Render *r)
 
RE_IDType openWindow ()
 
void showWindow ()
 
void closeWindow ()
 
void initMaxSize (int w, int h)
 
void initMinSize (int w, int h)
 
void initVisual (RE_Visual *visual)
 
void setLimitPositions (bool limitpos)
 
bool getLimitPositions () const
 
void moveWindow (int x, int y)
 
void sizeWindow (int w, int h)
 
void moveAndSizeWindow (int x, int y, int w, int h)
 
void setWindowOpacity (fpreal opacity)
 
void maximizeWindow ()
 
void restoreWindow ()
 
bool isMaximized () const
 
void fullscreenWindow (bool full)
 
bool isFullscreenWindow () const
 
void lowerWindow ()
 
void raiseWindow ()
 
int getBorderWidth () const
 
int getBorderHeight () const
 
int getBorderTopSize () const
 
int getBorderLeftSize () const
 
int getBorderBottomSize () const
 
int getBorderRightSize () const
 
UT_DimRect findLocation () const
 
void setWindowAlwaysOnTop (bool newstate)
 
int getWindowAlwaysOnTop () const
 
void setWindowFloatOnTop (bool on_top)
 
RE_DisplayMode getMode () const
 
RE_VisualType getVisualType () const
 
void setVisualType (RE_VisualType t)
 
void setWindowType (RE_WindowType t)
 
RE_WindowType getWindowType () const
 
void setWindowID (RE_IDType id)
 
RE_IDType getWindowID () const
 
int matchID (RE_IDType wid) const
 
virtual RE_IDType getBufferID () const
 
OGLDrawable getGraphicsDrawable () const
 
void setGraphicsDrawable (OGLDrawable d)
 
void setIMESupport (bool enable)
 
void setWindowBorders (int left, int right, int top, int bottom)
 
void updateMaximizedFlag (bool is_maximized)
 
bool isQuadBufferStereo () const
 
int screen () const
 
fpreal screenToDeviceScale () const
 Get screen-to-window scale. More...
 

Static Public Member Functions

static QWidget * mainQtWindow ()
 Return the Qt main window. More...
 
static QWidget * createQtWindow (RE_WindowType win_type)
 
static bool appActive ()
 Returns true if Houdini or any of its sub windows are focused. More...
 
static bool isTabFocusEnabled ()
 
static void enableTabFocus (bool enable)
 
static const char * windowTag ()
 

Detailed Description

Definition at line 33 of file RE_Window.h.

Constructor & Destructor Documentation

RE_Window::RE_Window ( RE_Server server,
RE_WindowType  type = RE_WINDOW_NORMAL,
RE_VisualType  visType = RE_NORMAL_VIS 
)
virtual RE_Window::~RE_Window ( )
virtual

Member Function Documentation

static bool RE_Window::appActive ( )
static

Returns true if Houdini or any of its sub windows are focused.

void RE_Window::closeWindow ( )
static QWidget* RE_Window::createQtWindow ( RE_WindowType  win_type)
static

Create a Qt window widget for the given window type. The caller takes ownership of the returned object.

static void RE_Window::enableTabFocus ( bool  enable)
static
UT_DimRect RE_Window::findLocation ( ) const
void RE_Window::fullscreenWindow ( bool  full)
int RE_Window::getBorderBottomSize ( ) const
inline

Definition at line 108 of file RE_Window.h.

int RE_Window::getBorderHeight ( ) const
inline

Definition at line 102 of file RE_Window.h.

int RE_Window::getBorderLeftSize ( ) const
inline

Definition at line 106 of file RE_Window.h.

int RE_Window::getBorderRightSize ( ) const
inline

Definition at line 110 of file RE_Window.h.

int RE_Window::getBorderTopSize ( ) const
inline

Definition at line 104 of file RE_Window.h.

int RE_Window::getBorderWidth ( ) const
inline

Definition at line 100 of file RE_Window.h.

virtual RE_IDType RE_Window::getBufferID ( ) const
inlinevirtual

Definition at line 140 of file RE_Window.h.

OGLDrawable RE_Window::getGraphicsDrawable ( ) const
inline

Definition at line 142 of file RE_Window.h.

bool RE_Window::getLimitPositions ( ) const
inline

Definition at line 69 of file RE_Window.h.

RE_DisplayMode RE_Window::getMode ( ) const
const RE_Window* RE_Window::getParentWindow ( ) const
inline

Definition at line 46 of file RE_Window.h.

RE_Render* RE_Window::getRender ( )
RE_Server* RE_Window::getServer ( )
inline

Definition at line 52 of file RE_Window.h.

RE_Visual* RE_Window::getVisual ( )
inline

Definition at line 53 of file RE_Window.h.

RE_VisualType RE_Window::getVisualType ( ) const
inline

Definition at line 124 of file RE_Window.h.

int RE_Window::getWindowAlwaysOnTop ( ) const
inline

Definition at line 118 of file RE_Window.h.

RE_IDType RE_Window::getWindowID ( ) const
inline

Definition at line 135 of file RE_Window.h.

RE_WindowType RE_Window::getWindowType ( ) const
inline

Definition at line 131 of file RE_Window.h.

void RE_Window::initMaxSize ( int  w,
int  h 
)
void RE_Window::initMinSize ( int  w,
int  h 
)
void RE_Window::initVisual ( RE_Visual visual)
bool RE_Window::isFullscreenWindow ( ) const
inline

Definition at line 96 of file RE_Window.h.

bool RE_Window::isMaximized ( ) const
inline

Definition at line 89 of file RE_Window.h.

bool RE_Window::isQuadBufferStereo ( ) const
static bool RE_Window::isTabFocusEnabled ( )
static
void RE_Window::lowerWindow ( )
static QWidget* RE_Window::mainQtWindow ( )
static

Return the Qt main window.

int RE_Window::matchID ( RE_IDType  wid) const
inline

Definition at line 137 of file RE_Window.h.

void RE_Window::maximizeWindow ( )
void RE_Window::moveAndSizeWindow ( int  x,
int  y,
int  w,
int  h 
)
void RE_Window::moveWindow ( int  x,
int  y 
)
RE_IDType RE_Window::openWindow ( )
void RE_Window::raiseWindow ( )
void RE_Window::restoreWindow ( )
int RE_Window::screen ( ) const

Return the screen number containing this window. If the underlying platform window has not been created yet then return the primary screen number.

fpreal RE_Window::screenToDeviceScale ( ) const

Get screen-to-window scale.

void RE_Window::setGraphicsDrawable ( OGLDrawable  d)
inline

Definition at line 143 of file RE_Window.h.

void RE_Window::setIconName ( const char *  name)
void RE_Window::setIMESupport ( bool  enable)
void RE_Window::setLimitPositions ( bool  limitpos)
inline

Definition at line 67 of file RE_Window.h.

void RE_Window::setName ( const char *  name)
void RE_Window::setParentWindow ( RE_Window parent)
void RE_Window::setRender ( RE_Render r)
inline

Definition at line 56 of file RE_Window.h.

void RE_Window::setVisualType ( RE_VisualType  t)
inline

Definition at line 126 of file RE_Window.h.

void RE_Window::setWindowAlwaysOnTop ( bool  newstate)
void RE_Window::setWindowBorders ( int  left,
int  right,
int  top,
int  bottom 
)
inline

Definition at line 158 of file RE_Window.h.

void RE_Window::setWindowFloatOnTop ( bool  on_top)
void RE_Window::setWindowID ( RE_IDType  id)
inline

Definition at line 134 of file RE_Window.h.

void RE_Window::setWindowOpacity ( fpreal  opacity)
void RE_Window::setWindowType ( RE_WindowType  t)
inline

Definition at line 129 of file RE_Window.h.

void RE_Window::showWindow ( )
void RE_Window::sizeWindow ( int  w,
int  h 
)
void RE_Window::updateMaximizedFlag ( bool  is_maximized)
inline

Definition at line 168 of file RE_Window.h.

static const char* RE_Window::windowTag ( )
inlinestatic

Return the string tag used to identify whether a Qt widget is the window for an RE_Window object.

Definition at line 178 of file RE_Window.h.


The documentation for this class was generated from the following file: