VAPoR  3.0.0
Public Member Functions | Static Public Member Functions | List of all members
VAPoR::RenderHolder Class Reference

A class that manages the display of Renderer parameters. More...

#include <renderholder.h>

Inheritance diagram for VAPoR::RenderHolder:

Public Member Functions

 RenderHolder (QWidget *parent)
virtual ~RenderHolder ()
void updateTableWidget ()
 Make the tableWidget match the currently displayed RenderParams. More...

Static Public Member Functions

static RenderHoldergetInstance ()
static void setCurrentIndex (int indx)
static int addWidget (QWidget *, const char *name, string tag)

Detailed Description

A class that manages the display of Renderer parameters.

This is a singleton class that manages a QTableWidget that indicates the currently available Renderers, and a QStackedWidget that displays the various parameters associated with the selected renderer.

Alan Norton
April 2015

Definition at line 27 of file renderholder.h.

Constructor & Destructor Documentation

VAPoR::RenderHolder::RenderHolder ( QWidget *  parent)
virtual VAPoR::RenderHolder::~RenderHolder ( )

Definition at line 35 of file renderholder.h.

Member Function Documentation

static int VAPoR::RenderHolder::addWidget ( QWidget *  ,
const char *  name,
string  tag 

Add a widget (EventRouter) to the QStackedWidget.

[in]QWidget*Widget to be added
[in]nameName of the renderer to be displayed
[in]tagindicating type of renderer to be displayed
index of widget in the stackedWidget
static RenderHolder* VAPoR::RenderHolder::getInstance ( )

Definition at line 36 of file renderholder.h.

static void VAPoR::RenderHolder::setCurrentIndex ( int  indx)

Specify the index of the page to be displayed of the stackedWidget.

[in]indxpage index

Definition at line 46 of file renderholder.h.

void VAPoR::RenderHolder::updateTableWidget ( )

Make the tableWidget match the currently displayed RenderParams.

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