A Widget that can be reused to provide a variable selection tab in any renderer EventRouter class.
More...
#include <variablesWidget.h>
A Widget that can be reused to provide a variable selection tab in any renderer EventRouter class.
The VariablesWidget class handles all setting and getting of state in a variables sub-tab of a renderer EventRouter. Implementers of new tabs in vaporgui can insert one of these widgets as a tab in the renderer tab. Implement this as follows:
The EventRouter must provide a VariableWidget* as a member of the EventRouter. It is necessary to construct the VariablesWidget in the EventRouter constructor, and add it as a tab to the EventRouter.
Issue QFrame::hide() for the various unused frames in this Widget in the EventRouter constructor. Call VariablesWidget::updateTab() in EventRouter::updateTab() Call VariablesWidget::reinitTab() in EventRouter::reinitTab().
- Author
- Alan Norton
- Version
- 3.0
- Date
- June 2015
Definition at line 34 of file variablesWidget.h.
VAPoR::VariablesWidget::VariablesWidget |
( |
QWidget * |
parent | ) |
|
virtual VAPoR::VariablesWidget::~VariablesWidget |
( |
| ) |
|
|
inlinevirtual |
void VAPoR::VariablesWidget::reinitTab |
( |
bool |
doOverride | ) |
|
void VAPoR::VariablesWidget::setCompRatio |
( |
int |
num | ) |
|
|
protectedslot |
Connected to the compression ratio selector, setting the lod index.
void VAPoR::VariablesWidget::SetFidelity |
( |
int |
buttonID | ) |
|
|
protectedslot |
Connected to the fidelity button selector, setting the fidelity index.
void VAPoR::VariablesWidget::SetFidelityDefault |
( |
| ) |
|
|
protectedslot |
Connected to the fidelity setDefault button, setting current fidelity as default.
void VAPoR::VariablesWidget::setHeightVarNum |
( |
int |
| ) |
|
|
protectedslot |
Respond to selecting the HGT variable.
void VAPoR::VariablesWidget::setNumRefinements |
( |
int |
num | ) |
|
|
protectedslot |
Connected to the refinement selector, setting the refinement index.
void VAPoR::VariablesWidget::setVariableDims |
( |
int |
| ) |
|
|
protectedslot |
Respond to choosing the variable dimension.
void VAPoR::VariablesWidget::setVarNum |
( |
int |
| ) |
|
|
protectedslot |
Respond to selecting the single (primary) variable of field.
void VAPoR::VariablesWidget::setXVarNum |
( |
int |
| ) |
|
|
protectedslot |
Respond to selecting the x component variable of field.
void VAPoR::VariablesWidget::setYVarNum |
( |
int |
| ) |
|
|
protectedslot |
Respond to selecting the y component variable of field.
void VAPoR::VariablesWidget::setZVarNum |
( |
int |
| ) |
|
|
protectedslot |
Respond to selecting the z component variable of field.
The documentation for this class was generated from the following file: