##// END OF EJS Templates
Fix issue with ghost axes being drawn when last axis removed...
Fix issue with ghost axes being drawn when last axis removed Change-Id: Id638bc225ef901301a4268530f574a2de6f2ff63 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>

File last commit:

r2834:77545ecc2ba8
r2836:7a48aa2a436d
Show More
mainwindow.ui
582 lines | 15.0 KiB | text/plain | TextLexer
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1047</width>
<height>643</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="ChartView" name="chartView"/>
</item>
<item>
<widget class="QGroupBox" name="settingsBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Settings</string>
</property>
<widget class="QComboBox" name="animationsComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<item>
<property name="text">
<string>No animations</string>
</property>
</item>
<item>
<property name="text">
<string>Series animation</string>
</property>
</item>
<item>
<property name="text">
<string>Grid animation</string>
</property>
</item>
<item>
<property name="text">
<string>All animations</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="xAxisComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>23</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<string>X Value Axis</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>No X Axis</string>
</property>
</item>
<item>
<property name="text">
<string>X Value Axis</string>
</property>
</item>
<item>
<property name="text">
<string>X Log Axis</string>
</property>
</item>
<item>
<property name="text">
<string>X DateTime Axis</string>
</property>
</item>
<item>
<property name="text">
<string>X Category Axis</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="yAxisComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>49</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<string>Y Value Axis</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>No Y Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Y Value Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Y Log Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Y DateTime Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Y Category Axis</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="backgroundComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Background: White</string>
</property>
</item>
<item>
<property name="text">
<string>Background: Blue</string>
</property>
</item>
<item>
<property name="text">
<string>Background: Yellow + Black Border</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="plotAreaComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>PlotArea: Transparent</string>
</property>
</item>
<item>
<property name="text">
<string>PlotArea: Magenta</string>
</property>
</item>
<item>
<property name="text">
<string>PlotArea: Gray + Red Border</string>
</property>
</item>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>185</width>
<height>100</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="yMinSpin">
<property name="decimals">
<number>5</number>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Y max</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Y min</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>X max</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="xMinSpin">
<property name="decimals">
<number>5</number>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>X min</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="yMaxSpin">
<property name="decimals">
<number>5</number>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="xMaxSpin">
<property name="decimals">
<number>5</number>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QComboBox" name="themeComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>230</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Theme: Light</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: Blue Cerulean</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: Dark</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: Brown Sand</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: Blue Ncs</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: High Contrast</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: Blue Icy</string>
</property>
</item>
<item>
<property name="text">
<string>Theme: Qt</string>
</property>
</item>
</widget>
<widget class="QPushButton" name="addSeriesButton">
<property name="geometry">
<rect>
<x>100</x>
<y>280</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add Series</string>
</property>
</widget>
<widget class="QPushButton" name="removeSeriesButton">
<property name="geometry">
<rect>
<x>50</x>
<y>300</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Remove Series</string>
</property>
</widget>
<widget class="QComboBox" name="countComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<string>100</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>100</string>
</property>
</item>
<item>
<property name="text">
<string>1000</string>
</property>
</item>
<item>
<property name="text">
<string>10000</string>
</property>
</item>
<item>
<property name="text">
<string>100000</string>
</property>
</item>
<item>
<property name="text">
<string>1000000</string>
</property>
</item>
<item>
<property name="text">
<string>10000000</string>
</property>
</item>
</widget>
<widget class="QLabel" name="fpsLabel">
<property name="geometry">
<rect>
<x>10</x>
<y>550</y>
<width>47</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>FPS:</string>
</property>
</widget>
<widget class="QPushButton" name="addGLSeriesButton">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add GL Series</string>
</property>
</widget>
<widget class="QComboBox" name="colorsComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>330</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<item>
<property name="text">
<string>Black</string>
</property>
</item>
<item>
<property name="text">
<string>Red</string>
</property>
</item>
<item>
<property name="text">
<string>Green</string>
</property>
</item>
<item>
<property name="text">
<string>Blue</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="widthComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>350</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
<item>
<property name="text">
<string>3</string>
</property>
</item>
<item>
<property name="text">
<string>4</string>
</property>
</item>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1047</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>ChartView</class>
<extends>QGraphicsView</extends>
<header>chartview.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>