5#include <qstackedwidget.h>
6#include <qpushbutton.h>
11#include "ui_NewRendererDialog.h"
29 NewRendererDialog(QWidget *parent, std::vector<string> rendererNames, std::vector<string> descriptions, std::vector<string> iconPaths, std::vector<string> smallIconPaths,
30 std::vector<bool> dim2DSupport, std::vector<bool> dim3DSupport, vector<bool> particleSupport);
36 void _buttonChecked();
37 void _buttonDoubleClicked();
38 void _showRelevantRenderers();
41 void _createButtons();
42 void _setUpImage(std::string imageName, QLabel *label);
43 void _uncheckAllButtons();
44 void _selectFirstValidRenderer();
45 QPushButton *_createButton(QIcon icon, QString name,
int index);
47 std::vector<string> _rendererNames;
48 std::vector<string> _descriptions;
49 std::vector<string> _iconPaths;
50 std::vector<string> _smallIconPaths;
51 std::vector<bool> _dim2DSupport;
52 std::vector<bool> _dim3DSupport;
53 std::vector<bool> _particleSupport;
54 std::vector<QPushButton *> _buttons;
58 std::string _selectedRenderer;
62class CBWidget :
public QWidget,
public QTableWidgetItem {
void InitializeDataSources(VAPoR::DataStatus *dataStatus)
NewRendererDialog(QWidget *parent, std::vector< string > rendererNames, std::vector< string > descriptions, std::vector< string > iconPaths, std::vector< string > smallIconPaths, std::vector< bool > dim2DSupport, std::vector< bool > dim3DSupport, vector< bool > particleSupport)
std::string GetSelectedRenderer()
A class that manages the display of Renderer parameters.
static void _newRendererDialogAccepted(VAPoR::ControlExec *_controlExec, NewRendererDialog *_newRendererDialog)
static void _showIntelDriverWarning(VAPoR::ControlExec *_controlExec, const string &rendererType)
Provides API for VAPOR visualizer User Interfaces (UIs)
A class for describing the currently loaded dataset.