Workspace 6.21.5
Public Slots | Signals | Public Member Functions | Properties | List of all members
WSGLTransparencyDialog Class Reference

#include <Rendering/OpenGL/wsgltransparencydialog.h>

Inherits QDialog.

Public Slots

void setDepthPeelingEnabled (bool b)
 
void setNumDepthLayers (int n)
 

Signals

void depthPeelingToggled (bool)
 
void numDepthLayersChanged (int)
 

Public Member Functions

 WSGLTransparencyDialog (WSGLWidget &glWidget, QWidget *parent=nullptr)
 
 ~WSGLTransparencyDialog () override
 
bool getDepthPeelingEnabled () const
 
unsigned getNumDepthLayers () const
 

Properties

bool depthPeelingEnabled
 
unsigned numDepthLayers
 

Detailed Description

Dialog for modifying the transparency quality of a WSGLWidget

Constructor & Destructor Documentation

◆ WSGLTransparencyDialog()

WSGLTransparencyDialog ( WSGLWidget glWidget,
QWidget *  parent = nullptr 
)
Parameters
glWidgetThe WSGLWidget to modify the transparency quality.
parentThe parent widget of the transparency quality dialog.

Creates a WSGLTransparencyDialog will allow the user to modify the quality of the transparency for the specified WSGLWidget.

◆ ~WSGLTransparencyDialog()

~WSGLTransparencyDialog ( )
override

Destroys the dialog.

Member Function Documentation

◆ depthPeelingToggled

void depthPeelingToggled ( bool  )
signal

◆ getDepthPeelingEnabled()

bool getDepthPeelingEnabled ( ) const

◆ getNumDepthLayers()

unsigned getNumDepthLayers ( ) const

◆ numDepthLayersChanged

void numDepthLayersChanged ( int  )
signal

◆ setDepthPeelingEnabled

void setDepthPeelingEnabled ( bool  b)
slot

◆ setNumDepthLayers

void setNumDepthLayers ( int  n)
slot

Property Documentation

◆ depthPeelingEnabled

bool depthPeelingEnabled
readwrite

◆ numDepthLayers

unsigned numDepthLayers
readwrite