##// END OF EJS Templates
Make category axis label positioning at value work for polar charts...
Make category axis label positioning at value work for polar charts Task-number: QTRD-3515 Change-Id: Icd38469386c7fc923047533f2a25b726f2f6caa5 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>

File last commit:

r2801:acb3f8c5f190
r2801:acb3f8c5f190
Show More
mainwindow.ui
949 lines | 26.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>1193</width>
<height>1004</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="angularShadesComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>313</y>
<width>187</width>
<height>20</height>
</rect>
</property>
<item>
<property name="text">
<string>No angular shades</string>
</property>
</item>
<item>
<property name="text">
<string>Gray angular shades</string>
</property>
</item>
<item>
<property name="text">
<string>Yellow ang. shades + custom pen</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="radialShadesComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>339</y>
<width>175</width>
<height>20</height>
</rect>
</property>
<item>
<property name="text">
<string>No radial shades</string>
</property>
</item>
<item>
<property name="text">
<string>Green radial shades</string>
</property>
</item>
<item>
<property name="text">
<string>Blue rad. shades + custom pen</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="animationsComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>471</y>
<width>104</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="labelComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>445</y>
<width>134</width>
<height>20</height>
</rect>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>No labels</string>
</property>
</item>
<item>
<property name="text">
<string>Black label</string>
</property>
</item>
<item>
<property name="text">
<string>White label + blue pen</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="titleComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>551</y>
<width>130</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>3</number>
</property>
<item>
<property name="text">
<string>Invisible empty title</string>
</property>
</item>
<item>
<property name="text">
<string>Visible empty title</string>
</property>
</item>
<item>
<property name="text">
<string>Invisible title</string>
</property>
</item>
<item>
<property name="text">
<string>Black title</string>
</property>
</item>
<item>
<property name="text">
<string>White title + blue pen</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="gridComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>577</y>
<width>104</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>1</number>
</property>
<item>
<property name="text">
<string>Invisible grid</string>
</property>
</item>
<item>
<property name="text">
<string>Black grid</string>
</property>
</item>
<item>
<property name="text">
<string>Custom grid pen</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="arrowComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>603</y>
<width>114</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>1</number>
</property>
<item>
<property name="text">
<string>Invisible arrow</string>
</property>
</item>
<item>
<property name="text">
<string>Black arrow</string>
</property>
</item>
<item>
<property name="text">
<string>Custom arrow pen</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="angularAxisComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>23</y>
<width>134</width>
<height>20</height>
</rect>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>No Angular Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Angular Value Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Angular Log Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Angular DateTime Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Angular Category Axis</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="radialAxisComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>49</y>
<width>126</width>
<height>20</height>
</rect>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>No Radial Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Radial Value Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Radial Log Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Radial DateTime Axis</string>
</property>
</item>
<item>
<property name="text">
<string>Radial Category Axis</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="themeComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>814</y>
<width>131</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="QLabel" name="hoverLabel">
<property name="geometry">
<rect>
<x>10</x>
<y>840</y>
<width>117</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Hover coordinates here!</string>
</property>
</widget>
<widget class="QComboBox" name="backgroundComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>877</y>
<width>195</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>903</y>
<width>165</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>207</y>
<width>185</width>
<height>100</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="radialMinSpin">
<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>10.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Radial max</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Radial min</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Angular max</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="angularMinSpin">
<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>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Angular min</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="radialMaxSpin">
<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>10.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="angularMaxSpin">
<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>10.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>365</y>
<width>210</width>
<height>74</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Label format</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="labelFormatEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Label font size</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="labelFontSizeSpin">
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QFontComboBox" name="labelFontComboBox"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>497</y>
<width>190</width>
<height>48</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Title font size</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="titleFontSizeSpin">
<property name="minimum">
<number>-100000</number>
</property>
<property name="maximum">
<number>100000</number>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QFontComboBox" name="titleFontComboBox"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>655</y>
<width>168</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_16">
<property name="text">
<string>Log Base</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="logBaseSpin">
<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="value">
<double>8.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>680</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="1">
<widget class="QCheckBox" name="moreCategoriesCheckBox">
<property name="text">
<string>More Categories</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="niceNumbersCheckBox">
<property name="text">
<string>Nice Numbers</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>740</y>
<width>221</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_17">
<property name="text">
<string>DateTime format</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="dateFormatEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>766</y>
<width>136</width>
<height>42</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QCheckBox" name="series1checkBox">
<property name="text">
<string>1</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="series2checkBox">
<property name="text">
<string>2</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="series3checkBox">
<property name="text">
<string>3</string>
</property>
</widget>
</item>
<item row="0" column="3" rowspan="2">
<widget class="QCheckBox" name="series7checkBox">
<property name="text">
<string>7</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="series4checkBox">
<property name="text">
<string>4</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="series5checkBox">
<property name="text">
<string>5</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="series6checkBox">
<property name="text">
<string>6</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>75</y>
<width>178</width>
<height>126</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Angular Tick count</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="anglesSpin">
<property name="minimum">
<number>-9999</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
<property name="singleStep">
<number>5</number>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="radialMinorTicksSpin"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Radial Tick count</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Angular Minor Tick count</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="radialTicksSpin"/>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="angularMinorTicksSpin"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Radial Minor Tick count</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="angularTicksSpin"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Label angles</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QComboBox" name="minorGridComboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>630</y>
<width>141</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>1</number>
</property>
<item>
<property name="text">
<string>Invisible minor grid</string>
</property>
</item>
<item>
<property name="text">
<string>Black minor grid</string>
</property>
</item>
<item>
<property name="text">
<string>Custom minor grid pen</string>
</property>
</item>
</widget>
<widget class="QCheckBox" name="categoryLabelLocationCheckBox">
<property name="geometry">
<rect>
<x>10</x>
<y>710</y>
<width>142</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Category Label On Tick</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1193</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>