##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r1062:b014e09f2329
r1337:3acf26407503
Show More
ColorScaleEditor.ui
163 lines | 4.3 KiB | text/plain | TextLexer
Alexandre Leroux
Inits color scale widget
r1042 <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ColorScaleEditor</class>
<widget class="QDialog" name="ColorScaleEditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>258</width>
<height>232</height>
</rect>
</property>
<property name="windowTitle">
<string>Color scale editor</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="okButton">
<property name="text">
<string>OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Preview</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QCustomPlot" name="plot" native="true"/>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="thresholdLabel">
<property name="text">
<string>Thresholds:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="thresholdAutoButton">
<property name="text">
<string>Automatic</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QRadioButton" name="thresholdManualButton">
<property name="text">
<string>Manual</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="minLabel">
<property name="text">
<string>Min:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="maxLabel">
<property name="text">
<string>Max:</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QDoubleSpinBox" name="minSpinBox">
<property name="showGroupSeparator" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QDoubleSpinBox" name="maxSpinBox">
<property name="showGroupSeparator" stdset="0">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="gradientLabel">
<property name="text">
<string>Gradient:</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="gradientComboBox"/>
</item>
</layout>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QCustomPlot</class>
<extends>QWidget</extends>
<header>Visualization/qcustomplot.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>gradientComboBox</tabstop>
<tabstop>thresholdAutoButton</tabstop>
<tabstop>thresholdManualButton</tabstop>
<tabstop>minSpinBox</tabstop>
Alexandre Leroux
Call the calculation of the thresholds in the scale editor (with each click on the 'automatic' mode)
r1062 <tabstop>maxSpinBox</tabstop>
<tabstop>okButton</tabstop>
Alexandre Leroux
Inits color scale widget
r1042 <tabstop>cancelButton</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>