All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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
void setDialogParentHint (RE_IDType parent_hint)
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 setWindowOpacity (fpreal opacity)
void maximizeWindow ()
void restoreWindow ()
bool isMaximized () const
void fullscreenWindow (bool full)
bool isFullscreenWindow () const
void lowerWindow ()
void raiseWindow ()
void setHasWindowFrame (bool b)
bool hasWindowFrame () const
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 (bool extra=false) 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 void initQtWindow (QWidget &window, RE_WindowType win_type, bool always_on_top)
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 ()
static const intgetDefaultWindowBorderSizes ()
 Get Default Window Border Sizes. More...
static int getDefaultWindowTitleBarHeight ()

Detailed Description

Definition at line 37 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 ( )

Member Function Documentation

static bool RE_Window::appActive ( )

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)

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)
UT_DimRect RE_Window::findLocation ( ) const
void RE_Window::fullscreenWindow ( bool  full)
int RE_Window::getBorderBottomSize ( ) const

Definition at line 116 of file RE_Window.h.

int RE_Window::getBorderHeight ( ) const

Definition at line 110 of file RE_Window.h.

int RE_Window::getBorderLeftSize ( ) const

Definition at line 114 of file RE_Window.h.

int RE_Window::getBorderRightSize ( ) const

Definition at line 118 of file RE_Window.h.

int RE_Window::getBorderTopSize ( ) const

Definition at line 112 of file RE_Window.h.

int RE_Window::getBorderWidth ( ) const

Definition at line 108 of file RE_Window.h.

virtual RE_IDType RE_Window::getBufferID ( ) const

Definition at line 153 of file RE_Window.h.

static const int* RE_Window::getDefaultWindowBorderSizes ( )

Get Default Window Border Sizes.

static int RE_Window::getDefaultWindowTitleBarHeight ( )
OGLDrawable RE_Window::getGraphicsDrawable ( ) const

Definition at line 156 of file RE_Window.h.

bool RE_Window::getLimitPositions ( ) const

Definition at line 77 of file RE_Window.h.

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

Definition at line 50 of file RE_Window.h.

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

Definition at line 55 of file RE_Window.h.

RE_Visual* RE_Window::getVisual ( )

Definition at line 57 of file RE_Window.h.

RE_VisualType RE_Window::getVisualType ( ) const

Definition at line 132 of file RE_Window.h.

int RE_Window::getWindowAlwaysOnTop ( ) const

Definition at line 126 of file RE_Window.h.

RE_IDType RE_Window::getWindowID ( ) const

Definition at line 145 of file RE_Window.h.

RE_WindowType RE_Window::getWindowType ( bool  extra = false) const
bool RE_Window::hasWindowFrame ( ) const
void RE_Window::initMaxSize ( int  w,
int  h 
void RE_Window::initMinSize ( int  w,
int  h 
static void RE_Window::initQtWindow ( QWidget &  window,
RE_WindowType  win_type,
bool  always_on_top 

Initialize the given widget window with the desired Houdini window properties, look and feel.

void RE_Window::initVisual ( RE_Visual visual)
bool RE_Window::isFullscreenWindow ( ) const
bool RE_Window::isMaximized ( ) const
bool RE_Window::isQuadBufferStereo ( ) const
static bool RE_Window::isTabFocusEnabled ( )
void RE_Window::lowerWindow ( )
static QWidget* RE_Window::mainQtWindow ( )

Return the Qt main window.

int RE_Window::matchID ( RE_IDType  wid) const

Definition at line 150 of file RE_Window.h.

void RE_Window::maximizeWindow ( )
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::setDialogParentHint ( RE_IDType  parent_hint)
void RE_Window::setGraphicsDrawable ( OGLDrawable  d)

Definition at line 157 of file RE_Window.h.

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

Definition at line 75 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)

Definition at line 61 of file RE_Window.h.

void RE_Window::setVisualType ( RE_VisualType  t)

Definition at line 134 of file RE_Window.h.

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

Definition at line 179 of file RE_Window.h.

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

Definition at line 144 of file RE_Window.h.

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

Definition at line 137 of file RE_Window.h.

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

Definition at line 189 of file RE_Window.h.

static const char* RE_Window::windowTag ( )

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

Definition at line 199 of file RE_Window.h.

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