ADD_SUBDIRECTORY(dialogs)
-SET(MEDCALCGUI_SOURCES
- XmedConsoleDriver.cxx
- WorkspaceController.cxx
- XmedDataModel.cxx
- MEDEventListener_i.cxx
- MEDModule.cxx
- DatasourceController.cxx
- PresentationController.cxx
- factory.cxx
-)
+FILE(GLOB MEDCALCGUI_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx")
-SET(MEDCALCGUI_HEADERS MEDModule.hxx MEDEventListener_i.hxx WorkspaceController.hxx DatasourceController.hxx PresentationController.hxx)
+SET(MEDCALCGUI_HEADERS
+ MEDModule.hxx
+ MEDEventListener_i.hxx
+ WorkspaceController.hxx
+ DatasourceController.hxx
+ PresentationController.hxx)
QT_WRAP_MOC(MEDCALCGUI_HEADERS_MOC ${MEDCALCGUI_HEADERS})
_dlgInterpolateField = new DlgInterpolateField(_studyEditor);
connect(_dlgInterpolateField,SIGNAL(inputValidated()),
this, SLOT(OnInterpolateFieldInputValidated()));
-
}
DatasourceController::~DatasourceController() {
<context>
<name>PresentationController</name>
<message>
- <source>LAB_VIEW_MODE_REPLACE</source>
- <translation>Replace</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_REPLACE</source>
- <translation>Replace</translation>
- </message>
- <message>
- <source>LAB_VIEW_MODE_OVERLAP</source>
- <translation>Overlap</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_OVERLAP</source>
- <translation>Overlap</translation>
- </message>
- <message>
- <source>LAB_VIEW_MODE_NEW_LAYOUT</source>
- <translation>New layout</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_NEW_LAYOUT</source>
- <translation>New layout</translation>
- </message>
- <message>
- <source>LAB_VIEW_MODE_SPLIT_VIEW</source>
- <translation>Split</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_SPLIT_VIEW</source>
- <translation>Split</translation>
+ <source>TITLE_PRESENTATION_PARAMETERS</source>
+ <translation>Presentation parameters</translation>
</message>
<message>
<source>LAB_PRESENTATION_SCALAR_MAP</source>
<translation>This field is already defined in the workspace</translation>
</message>
</context>
+ <context>
+ <name>WidgetPresentationParameters</name>
+ <message>
+ <source>LAB_FIELD</source>
+ <translation>Field:</translation>
+ </message>
+ <message>
+ <source>LAB_EUCLIDEAN_NORM</source>
+ <translation>Euclidean norm</translation>
+ </message>
+ <message>
+ <source>LAB_SCALARBAR</source>
+ <translation>Scalar bar:</translation>
+ </message>
+ <message>
+ <source>LAB_RANGE</source>
+ <translation>Range:</translation>
+ </message>
+ <message>
+ <source>LAB_ALL_TIMESTEPS</source>
+ <translation>All timesteps</translation>
+ </message>
+ <message>
+ <source>LAB_ONE_TIMESTEP</source>
+ <translation>Selected timestep</translation>
+ </message>
+ <message>
+ <source>LAB_USER_RANGE</source>
+ <translation>User-specified</translation>
+ </message>
+ <message>
+ <source>LAB_TIMESTEP</source>
+ <translation>Timestep:</translation>
+ </message>
+ <message>
+ <source>LAB_MIN_VALUE</source>
+ <translation>Min value:</translation>
+ </message>
+ <message>
+ <source>LAB_MAX_VALUE</source>
+ <translation>Max value:</translation>
+ </message>
+ <message>
+ <source>LAB_COLOR_MAP</source>
+ <translation>Color map:</translation>
+ </message>
+ <message>
+ <source>LAB_BLUE_TO_RED</source>
+ <translation>Blue to red rainbow</translation>
+ </message>
+ <message>
+ <source>LAB_COOL_TO_WARM</source>
+ <translation>Cool to warm</translation>
+ </message>
+ </context>
<context>
<name>DlgAlias</name>
<message>
<source>FILE_FILTER_ALL</source>
<translation>All files (*.*)</translation>
</message>
+ <message>
+ <source>LAB_VIEW_MODE</source>
+ <translation>View mode:</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_REPLACE</source>
+ <translation>Replace</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_OVERLAP</source>
+ <translation>Overlap</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_NEW_LAYOUT</source>
+ <translation>New layout</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_SPLIT_VIEW</source>
+ <translation>Split</translation>
+ </message>
</context>
</TS>
<context>
<name>PresentationController</name>
<message>
- <source>LAB_VIEW_MODE_REPLACE</source>
- <translation>Remplacer</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_REPLACE</source>
- <translation>Remplacer</translation>
- </message>
- <message>
- <source>LAB_VIEW_MODE_OVERLAP</source>
- <translation>Superposer</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_OVERLAP</source>
- <translation>Superposer</translation>
- </message>
- <message>
- <source>LAB_VIEW_MODE_NEW_LAYOUT</source>
- <translation>Nouvel onglet</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_NEW_LAYOUT</source>
- <translation>Nouvel onglet</translation>
- </message>
- <message>
- <source>LAB_VIEW_MODE_SPLIT_VIEW</source>
- <translation>Scinder</translation>
- </message>
- <message>
- <source>TIP_VIEW_MODE_SPLIT_VIEW</source>
- <translation>Scinder</translation>
+ <source>TITLE_PRESENTATION_PARAMETERS</source>
+ <translation>Paramètres de presentation</translation>
</message>
<message>
<source>LAB_PRESENTATION_SCALAR_MAP</source>
</context>
<context>
<name>DatasourceController</name>
- <message>
- <source>MEDPresentationScalarMap</source>
- <translation>Carte scalaire</translation>
- </message>
<message>
<location filename="MEDCALC/gui/DatasourceController.cxx" line="45"/>
<source>LAB_ADD_DATA_SOURCE</source>
<translation>Ce champ est déjà défini dans l'espace de travail</translation>
</message>
</context>
+ <context>
+ <name>WidgetPresentationParameters</name>
+ <message>
+ <source>LAB_FIELD</source>
+ <translation>Champ :</translation>
+ </message>
+ <message>
+ <source>LAB_EUCLIDEAN_NORM</source>
+ <translation>Norme euclidienne</translation>
+ </message>
+ <message>
+ <source>LAB_SCALARBAR</source>
+ <translation>Echelle de valeurs :</translation>
+ </message>
+ <message>
+ <source>LAB_RANGE</source>
+ <translation>Intervalle :</translation>
+ </message>
+ <message>
+ <source>LAB_ALL_TIMESTEPS</source>
+ <translation>Tous les pas de temps</translation>
+ </message>
+ <message>
+ <source>LAB_ONE_TIMESTEP</source>
+ <translation>Pas de temps sélectionné</translation>
+ </message>
+ <message>
+ <source>LAB_USER_RANGE</source>
+ <translation>Personnalisé :</translation>
+ </message>
+ <message>
+ <source>LAB_TIMESTEP</source>
+ <translation>Pas de temps :</translation>
+ </message>
+ <message>
+ <source>LAB_MIN_VALUE</source>
+ <translation>Valeur min :</translation>
+ </message>
+ <message>
+ <source>LAB_MAX_VALUE</source>
+ <translation>Valeur max :</translation>
+ </message>
+ <message>
+ <source>LAB_COLOR_MAP</source>
+ <translation>Table de couleurs :</translation>
+ </message>
+ <message>
+ <source>LAB_BLUE_TO_RED</source>
+ <translation>Arc-en-ciel blue vers rouge</translation>
+ </message>
+ <message>
+ <source>LAB_COOL_TO_WARM</source>
+ <translation>Froid vers chaud</translation>
+ </message>
+ </context>
<context>
<name>DlgAlias</name>
<message>
<source>FILE_FILTER_ALL</source>
<translation>Tous les fichiers (*.*)</translation>
</message>
+ <message>
+ <source>LAB_VIEW_MODE</source>
+ <translation>Mode de rendu :</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_REPLACE</source>
+ <translation>Remplacer</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_OVERLAP</source>
+ <translation>Superposer</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_NEW_LAYOUT</source>
+ <translation>Nouvel onglet</translation>
+ </message>
+ <message>
+ <source>LAB_VIEW_MODE_SPLIT_VIEW</source>
+ <translation>Scinder</translation>
+ </message>
</context>
</TS>
#include "MEDModule.hxx"
#include "Basics_Utils.hxx"
#include "QtxActionGroup.h"
+#include "QtxActionToolMgr.h"
#include "MEDFactoryClient.hxx"
#include <SalomeApp_Application.h>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <QMessageBox>
-
-static const int OPTIONS_VIEW_MODE_ID = 943;
-static const int OPTIONS_VIEW_MODE_REPLACE_ID = 944;
-static const int OPTIONS_VIEW_MODE_OVERLAP_ID = 945;
-static const int OPTIONS_VIEW_MODE_NEW_LAYOUT_ID = 946;
-static const int OPTIONS_VIEW_MODE_SPLIT_VIEW_ID = 947;
+#include <QDockWidget>
PresentationController::PresentationController(MEDModule* salomeModule)
{
STDLOG("Creating a PresentationController");
_salomeModule = salomeModule;
_studyEditor = _salomeModule->getStudyEditor();
+
+ _widgetPresentationParameters = new WidgetPresentationParameters();
+
+ QMainWindow* parent = salomeModule->getApp()->desktop();
+ QDockWidget *dockWidget = new QDockWidget(parent);
+ dockWidget->setVisible(false);
+ dockWidget->setWindowTitle(tr("TITLE_PRESENTATION_PARAMETERS"));
+ dockWidget->setObjectName(tr("TITLE_PRESENTATION_PARAMETERS"));
+ dockWidget->setFeatures(QDockWidget::AllDockWidgetFeatures);
+ dockWidget->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
+ dockWidget->setWidget(_widgetPresentationParameters);
+ parent->addDockWidget(Qt::LeftDockWidgetArea, dockWidget);
+ dockWidget->show();
}
PresentationController::~PresentationController()
PresentationController::createActions()
{
STDLOG("Creating PresentationController actions");
- int toolbarId = _salomeModule->createTool("View Mode", "PresentationToolbar");
+ int presentationToolbarId = _salomeModule->createTool("View Mode", "PresentationToolbar");
int presentationMenuId = _salomeModule->createMenu(tr("MENU_PRESENTATIONS"), -1, 1);
- // View Mode
- QtxActionGroup* ag = _salomeModule->createActionGroup(OPTIONS_VIEW_MODE_ID, true);
- ag->setText("View mode");
- ag->setUsesDropDown(true);
-
- QString label = tr("LAB_VIEW_MODE_REPLACE");
- QString tooltip = tr("TIP_VIEW_MODE_REPLACE");
- QAction* a = _salomeModule->createAction(OPTIONS_VIEW_MODE_REPLACE_ID,label,QIcon(),label,tooltip,0);
- a->setCheckable(true);
- a->setChecked(true);
- ag->add(a);
-
- label = tr("LAB_VIEW_MODE_OVERLAP");
- tooltip = tr("TIP_VIEW_MODE_OVERLAP");
- a = _salomeModule->createAction(OPTIONS_VIEW_MODE_OVERLAP_ID,label,QIcon(),label,tooltip,0);
- a->setCheckable(true);
- ag->add(a);
-
- label = tr("LAB_VIEW_MODE_NEW_LAYOUT");
- tooltip = tr("TIP_VIEW_MODE_NEW_LAYOUT");
- a = _salomeModule->createAction(OPTIONS_VIEW_MODE_NEW_LAYOUT_ID,label,QIcon(),label,tooltip,0);
- a->setCheckable(true);
- ag->add(a);
-
- label = tr("LAB_VIEW_MODE_SPLIT_VIEW");
- tooltip = tr("TIP_VIEW_MODE_SPLIT_VIEW");
- a = _salomeModule->createAction(OPTIONS_VIEW_MODE_SPLIT_VIEW_ID,label,QIcon(),label,tooltip,0);
- a->setCheckable(true);
- ag->add(a);
-
- _salomeModule->createTool(OPTIONS_VIEW_MODE_ID, toolbarId);
-
// Presentations
- label = tr("LAB_PRESENTATION_SCALAR_MAP");
- tooltip = tr("TIP_PRESENTATION_SCALAR_MAP");
+ QString label = tr("LAB_PRESENTATION_SCALAR_MAP");
+ QString tooltip = tr("TIP_PRESENTATION_SCALAR_MAP");
QString icon = tr(_getIconName("ICO_PRESENTATION_SCALAR_MAP").c_str());
int actionId;
actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeScalarMap()),icon,tooltip);
- _salomeModule->createTool(actionId, toolbarId);
+ _salomeModule->createTool(actionId, presentationToolbarId);
_salomeModule->action(actionId)->setIconVisibleInMenu(true);
_salomeModule->createMenu(actionId, presentationMenuId);
tooltip = tr("TIP_PRESENTATION_CONTOUR");
icon = tr(_getIconName("ICO_PRESENTATION_CONTOUR").c_str());
actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeContour()),icon,tooltip);
- _salomeModule->createTool(actionId, toolbarId);
+ _salomeModule->createTool(actionId, presentationToolbarId);
_salomeModule->action(actionId)->setIconVisibleInMenu(true);
_salomeModule->createMenu(actionId, presentationMenuId);
tooltip = tr("TIP_PRESENTATION_VECTOR_FIELD");
icon = tr(_getIconName("ICO_PRESENTATION_VECTOR_FIELD").c_str());
actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeVectorField()),icon,tooltip);
- _salomeModule->createTool(actionId, toolbarId);
+ _salomeModule->createTool(actionId, presentationToolbarId);
_salomeModule->action(actionId)->setIconVisibleInMenu(true);
_salomeModule->createMenu(actionId, presentationMenuId);
tooltip = tr("TIP_PRESENTATION_SLICES");
icon = tr(_getIconName("ICO_PRESENTATION_SLICES").c_str());
actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeSlices()),icon,tooltip);
- _salomeModule->createTool(actionId, toolbarId);
+ _salomeModule->createTool(actionId, presentationToolbarId);
_salomeModule->action(actionId)->setIconVisibleInMenu(true);
_salomeModule->createMenu(actionId, presentationMenuId);
tooltip = tr("TIP_PRESENTATION_DEFLECTION_SHAPE");
icon = tr(_getIconName("ICO_PRESENTATION_DEFLECTION_SHAPE").c_str());
actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeDeflectionShape()),icon,tooltip);
- _salomeModule->createTool(actionId, toolbarId);
+ _salomeModule->createTool(actionId, presentationToolbarId);
_salomeModule->action(actionId)->setIconVisibleInMenu(true);
_salomeModule->createMenu(actionId, presentationMenuId);
tooltip = tr("TIP_PRESENTATION_POINT_SPRITE");
icon = tr(_getIconName("ICO_PRESENTATION_POINT_SPRITE").c_str());
actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizePointSprite()),icon,tooltip);
- _salomeModule->createTool(actionId, toolbarId);
+ _salomeModule->createTool(actionId, presentationToolbarId);
_salomeModule->action(actionId)->setIconVisibleInMenu(true);
_salomeModule->createMenu(actionId, presentationMenuId);
}
MEDCALC::MEDPresentationViewMode
PresentationController::getSelectedViewMode()
{
- if (_salomeModule->action(OPTIONS_VIEW_MODE_REPLACE_ID)->isChecked()) {
- return MEDCALC::VIEW_MODE_REPLACE;
- }
- else if (_salomeModule->action(OPTIONS_VIEW_MODE_OVERLAP_ID)->isChecked()) {
- return MEDCALC::VIEW_MODE_OVERLAP;
- }
- else if (_salomeModule->action(OPTIONS_VIEW_MODE_NEW_LAYOUT_ID)->isChecked()) {
- return MEDCALC::VIEW_MODE_NEW_LAYOUT;
- }
- else if (_salomeModule->action(OPTIONS_VIEW_MODE_SPLIT_VIEW_ID)->isChecked()) {
- return MEDCALC::VIEW_MODE_SPLIT_VIEW;
- }
+ return _widgetPresentationParameters->getViewMode();
}
void
XmedDataObject* dataObject = new XmedDataObject();
dataObject->setFieldHandler(*fieldHandler);
event->objectdata = dataObject;
- emit presentationSignal(event);
+ emit presentationSignal(event); // --> WorkspaceController::processPresentationEvent
}
}
#include "XmedDataModel.hxx"
#include <SALOME_AppStudyEditor.hxx>
+#include "WidgetPresentationParameters.hxx"
typedef struct {
enum EventType {
private:
MEDModule* _salomeModule;
SALOME_AppStudyEditor* _studyEditor; // borrowed to MEDModule
-
+ WidgetPresentationParameters* _widgetPresentationParameters;
};
#endif /* PRESENTATION_CONTROLLER_HXX */
* and containing a tree view for rendering a hierarchical data
* model. This datamodel contains the objects used in the workspace.
*/
-//WorkspaceController::WorkspaceController(StandardApp_Module* salomeModule)
WorkspaceController::WorkspaceController(MEDModule* salomeModule)
: TreeGuiManager(salomeModule->getApp(), "Workspace")
{
}
WorkspaceController::~WorkspaceController() {
- std::cout << "WorkspaceController::~WorkspaceController()\n";
+ STDLOG("WorkspaceController::~WorkspaceController()");
MEDEventListener_i::release();
}
QString tooltip = tr("TIP_SAVE_WORKSPACE");
QString icon = tr("ICO_WORKSPACE_SAVE");
int actionId = _salomeModule->createStandardAction(label,this,SLOT(OnSaveWorkspace()),icon,tooltip);
- //_salomeModule->addActionInToolbar(actionId);
_salomeModule->createTool(actionId, toolbarId);
label = tr("LAB_CLEAN_WORKSPACE");
tooltip = tr("TIP_CLEAN_WORKSPACE");
icon = tr("ICO_WORKSPACE_CLEAN");
actionId = _salomeModule->createStandardAction(label,this,SLOT(OnCleanWorkspace()),icon,tooltip);
-//_salomeModule->addActionInToolbar(actionId);
_salomeModule->createTool(actionId, toolbarId);
}
XmedDataObject* dataObject = event->objectdata;
+ // --> Send commands to SALOME Python console
if ( event->eventtype == PresentationEvent::EVENT_VIEW_OBJECT_SCALAR_MAP ) {
QString viewMode = _getViewMode();
+ //QString displayedInfo = ; // from PresentationController combobox
+ //QString scalarBarRange = ; // from PresentationController spinbox
+ //QString colorMap = ; // from PresentationController combobox
MEDCALC::FieldHandler* fieldHandler = dataObject->getFieldHandler();
QStringList commands;
commands += QString("medcalc.MakeScalarMap(accessField(%1), %2)").arg(fieldHandler->id).arg(viewMode);
-# Copyright (C) 2012-2015 CEA/DEN, EDF R&D
+# Copyright (C) 2012-2016 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
INCLUDE(UseQtExt)
-SET(MEDCALCGUI_dialogs_FORMS
- GenericDialog.ui
- DlgAlias.ui
- DlgUseInWorkspace.ui
- DlgChangeUnderlyingMesh.ui
- DlgInterpolateField.ui
- DlgImageToMed.ui
-)
+FILE(GLOB MEDCALCGUI_dialogs_FORMS "${CMAKE_CURRENT_SOURCE_DIR}/*.ui")
QT_WRAP_UIC(MEDCALCGUI_dialogs_FORMS_HEADERS ${MEDCALCGUI_dialogs_FORMS})
SET(MEDCALCGUI_dialogs_FILES
${CMAKE_CURRENT_BINARY_DIR}
${GUI_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/..
+ ${PROJECT_BINARY_DIR}/idl
)
SET(MEDCALCGUI_dialogs_SOURCES
DlgChangeUnderlyingMesh.cxx
DlgInterpolateField.cxx
DlgImageToMed.cxx
+ WidgetPresentationParameters.cxx
)
ADD_LIBRARY(MEDCALCGUI_dialogs SHARED ${MEDCALCGUI_dialogs_SOURCES} ${MEDCALCGUI_dialogs_HEADERS_MOC} ${MEDCALCGUI_dialogs_FORMS_HEADERS})
--- /dev/null
+#include "WidgetPresentationParameters.hxx"
+
+WidgetPresentationParameters::WidgetPresentationParameters(QWidget* parent)
+ : QWidget(parent)
+{
+ ui.setupUi(this); // To be done first
+}
+
+MEDCALC::MEDPresentationViewMode
+WidgetPresentationParameters::getViewMode() {
+ QString viewMode = this->ui.comboBoxViewMode->currentText();
+ if (viewMode == tr("LAB_VIEW_MODE_REPLACE")) {
+ return MEDCALC::VIEW_MODE_REPLACE;
+ }
+ else if (viewMode == tr("LAB_VIEW_MODE_OVERLAP")) {
+ return MEDCALC::VIEW_MODE_OVERLAP;
+ }
+ else if (viewMode == tr("LAB_VIEW_MODE_NEW_LAYOUT")) {
+ return MEDCALC::VIEW_MODE_NEW_LAYOUT;
+ }
+ else if (viewMode == tr("LAB_VIEW_MODE_SPLIT_VIEW")) {
+ return MEDCALC::VIEW_MODE_SPLIT_VIEW;
+ }
+}
+
+std::string
+WidgetPresentationParameters::getField()
+{
+ return this->ui.comboBoxField->currentText().toStdString();
+}
+
+std::string
+WidgetPresentationParameters::getScalarBarRange()
+{
+ return this->ui.comboBoxScalarBarRange->currentText().toStdString();
+}
+
+double
+WidgetPresentationParameters::getScalarBarTimestep()
+{
+ return this->ui.doubleSpinBoxTimeStep->value();
+}
+
+double
+WidgetPresentationParameters::getScalarBarMinVal()
+{
+ return this->ui.doubleSpinBoxMinVal->value();
+}
+
+double
+WidgetPresentationParameters::getScalarBarMaxVal()
+{
+ return this->ui.doubleSpinBoxMaxVal->value();
+}
+
+std::string
+WidgetPresentationParameters::getColorMap()
+{
+ return this->ui.comboBoxColorMap->currentText().toStdString();
+}
--- /dev/null
+#ifndef WIDGET_PRESENTATION_PARAMETERS_HXX
+#define WIDGET_PRESENTATION_PARAMETERS_HXX
+
+#include "MEDCALCGUIdialogs.hxx"
+
+#include <QtGui>
+#include "ui_WidgetPresentationParameters.h"
+
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(MEDPresentationManager)
+
+class WidgetPresentationParameters : public QWidget
+{
+public:
+ WidgetPresentationParameters(QWidget* parent = 0);
+
+ MEDCALC::MEDPresentationViewMode getViewMode();
+ std::string getField();
+ std::string getScalarBarRange();
+ double getScalarBarTimestep();
+ double getScalarBarMinVal();
+ double getScalarBarMaxVal();
+ std::string getColorMap();
+
+ private:
+ Ui_WidgetPresentationParameters ui; // instance of the class defined in ui_WidgetPresentationParameters.h
+};
+
+
+#endif
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>WidgetPresentationParameters</class>
+ <widget class="QWidget" name="WidgetPresentationParameters">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>404</width>
+ <height>230</height>
+ </rect>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>300</width>
+ <height>200</height>
+ </size>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>LAB_FIELD</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QComboBox" name="comboBoxField">
+ <item>
+ <property name="text">
+ <string>LAB_EUCLIDEAN_NORM</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="labelTimeStep">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>LAB_TIMESTEP</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1">
+ <widget class="QDoubleSpinBox" name="doubleSpinBoxTimeStep">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="labelMinVal">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>LAB_MIN_VALUE</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="1">
+ <widget class="QDoubleSpinBox" name="doubleSpinBoxMinVal">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="0">
+ <widget class="QLabel" name="labelMaxVal">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>LAB_MAX_VALUE</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <widget class="QDoubleSpinBox" name="doubleSpinBoxMaxVal">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>LAB_COLOR_MAP</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="1">
+ <widget class="QComboBox" name="comboBoxColorMap">
+ <item>
+ <property name="text">
+ <string>LAB_BLUE_TO_RED</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>LAB_COOL_TO_WARM</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>LAB_VIEW_MODE</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="comboBoxViewMode">
+ <item>
+ <property name="text">
+ <string>LAB_VIEW_MODE_REPLACE</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>LAB_VIEW_MODE_OVERLAP</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>LAB_VIEW_MODE_NEW_LAYOUT</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>LAB_VIEW_MODE_SPLIT_VIEW</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QComboBox" name="comboBoxScalarBarRange">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <item>
+ <property name="text">
+ <string>LAB_ALL_TIMESTEPS</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>LAB_ONE_TIMESTEP</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>LAB_USER_RANGE</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>LAB_SCALARBAR</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_5">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>LAB_RANGE</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>