|
@@ -0,0 +1,1128 @@
|
|
|
+<?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>794</width>
|
|
|
+ <height>522</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="font">
|
|
|
+ <font>
|
|
|
+ <family>宋体</family>
|
|
|
+ <pointsize>10</pointsize>
|
|
|
+ </font>
|
|
|
+ </property>
|
|
|
+ <property name="windowTitle">
|
|
|
+ <string>QChart绘图详细功能</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="centralWidget">
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>5</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QSplitter" name="splitter">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <widget class="QToolBox" name="toolBox">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>260</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="maximumSize">
|
|
|
+ <size>
|
|
|
+ <width>400</width>
|
|
|
+ <height>16777215</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="frameShape">
|
|
|
+ <enum>QFrame::NoFrame</enum>
|
|
|
+ </property>
|
|
|
+ <property name="currentIndex">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="page">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>385</width>
|
|
|
+ <height>383</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <attribute name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/3.ico</normaloff>:/images/images/3.ico</iconset>
|
|
|
+ </attribute>
|
|
|
+ <attribute name="label">
|
|
|
+ <string>图表设置</string>
|
|
|
+ </attribute>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_5">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QScrollArea" name="scrollArea_2">
|
|
|
+ <property name="widgetResizable">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="scrollAreaWidgetContents_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>-64</y>
|
|
|
+ <width>363</width>
|
|
|
+ <height>532</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox">
|
|
|
+ <property name="title">
|
|
|
+ <string>标题</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_2">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QLineEdit" name="editTitle"/>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QPushButton" name="btnSetTitle">
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>设置标题文字</string>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>设置</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnSetTitleFont">
|
|
|
+ <property name="text">
|
|
|
+ <string>设置标题字体</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_4">
|
|
|
+ <property name="title">
|
|
|
+ <string>图例</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_9">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QRadioButton" name="radioButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>上方</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QRadioButton" name="radioButton_2">
|
|
|
+ <property name="text">
|
|
|
+ <string>下方</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QRadioButton" name="radioButton_3">
|
|
|
+ <property name="text">
|
|
|
+ <string>左侧</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="1">
|
|
|
+ <widget class="QRadioButton" name="radioButton_4">
|
|
|
+ <property name="text">
|
|
|
+ <string>右侧</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0">
|
|
|
+ <widget class="QCheckBox" name="chkLegendVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>图例可见</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="1">
|
|
|
+ <widget class="QCheckBox" name="chkBoxLegendBackground">
|
|
|
+ <property name="text">
|
|
|
+ <string>背景可见</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="0">
|
|
|
+ <widget class="QPushButton" name="btnLegendFont">
|
|
|
+ <property name="text">
|
|
|
+ <string>字体</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="1">
|
|
|
+ <widget class="QPushButton" name="btnLegendlabelColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>标签颜色</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_2">
|
|
|
+ <property name="title">
|
|
|
+ <string>边距</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QLabel" name="label">
|
|
|
+ <property name="text">
|
|
|
+ <string>左边距</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QSpinBox" name="spinMarginLeft">
|
|
|
+ <property name="minimum">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <number>500</number>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QLabel" name="label_2">
|
|
|
+ <property name="text">
|
|
|
+ <string>右边距</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="1">
|
|
|
+ <widget class="QSpinBox" name="spinMarginRight">
|
|
|
+ <property name="minimum">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <number>500</number>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0">
|
|
|
+ <widget class="QLabel" name="label_3">
|
|
|
+ <property name="text">
|
|
|
+ <string>上边距</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="1">
|
|
|
+ <widget class="QSpinBox" name="spinMarginTop">
|
|
|
+ <property name="minimum">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <number>500</number>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="0">
|
|
|
+ <widget class="QLabel" name="label_4">
|
|
|
+ <property name="text">
|
|
|
+ <string>下边距</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="1">
|
|
|
+ <widget class="QSpinBox" name="spinMarginBottom">
|
|
|
+ <property name="minimum">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <number>500</number>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="4" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnSetMargin">
|
|
|
+ <property name="text">
|
|
|
+ <string>设置边距</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_15">
|
|
|
+ <property name="title">
|
|
|
+ <string>动画效果</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_10">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QLabel" name="label_6">
|
|
|
+ <property name="text">
|
|
|
+ <string>动画效果</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QComboBox" name="cBoxAnimation">
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>NoAnimation</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>GridAxisAnimations</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>SeriesAnimations</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>AllAnimations</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QLabel" name="label_8">
|
|
|
+ <property name="text">
|
|
|
+ <string>主 题</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="1">
|
|
|
+ <widget class="QComboBox" name="cBoxTheme">
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>Light</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>BlueCerulean</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>Dark</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>BrownSand</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>BlueNcs</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>HighContrast</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>BlueIcy</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <property name="text">
|
|
|
+ <string>Qt</string>
|
|
|
+ </property>
|
|
|
+ </item>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="page_2">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>385</width>
|
|
|
+ <height>383</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <attribute name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/dis3.ico</normaloff>:/images/images/dis3.ico</iconset>
|
|
|
+ </attribute>
|
|
|
+ <attribute name="label">
|
|
|
+ <string>曲线设置</string>
|
|
|
+ </attribute>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_10">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QScrollArea" name="scrollArea_3">
|
|
|
+ <property name="widgetResizable">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="scrollAreaWidgetContents_3">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>363</width>
|
|
|
+ <height>431</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_9">
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_12">
|
|
|
+ <property name="maximumSize">
|
|
|
+ <size>
|
|
|
+ <width>16777215</width>
|
|
|
+ <height>60</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="title">
|
|
|
+ <string>选择操作序列</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
+ <item>
|
|
|
+ <widget class="QRadioButton" name="radioSeries0">
|
|
|
+ <property name="text">
|
|
|
+ <string>Sin曲线</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QRadioButton" name="radioSeries1">
|
|
|
+ <property name="text">
|
|
|
+ <string>Cos曲线</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_13">
|
|
|
+ <property name="title">
|
|
|
+ <string>曲线外观</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_3">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QPushButton" name="btnSeriesName">
|
|
|
+ <property name="text">
|
|
|
+ <string>序列名称</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QLineEdit" name="editSeriesName">
|
|
|
+ <property name="text">
|
|
|
+ <string>Sin曲线</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QCheckBox" name="chkSeriesVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>序列可见</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="1">
|
|
|
+ <widget class="QCheckBox" name="chkPointVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>数据点可见</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0">
|
|
|
+ <widget class="QPushButton" name="btnSeriesColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>曲线颜色</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="1">
|
|
|
+ <widget class="QPushButton" name="btnSeriesPen">
|
|
|
+ <property name="text">
|
|
|
+ <string>曲线Pen</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="0">
|
|
|
+ <widget class="QLabel" name="label_5">
|
|
|
+ <property name="text">
|
|
|
+ <string>透明度</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="1">
|
|
|
+ <widget class="QSlider" name="sliderSeriesOpacity">
|
|
|
+ <property name="maximum">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ <property name="pageStep">
|
|
|
+ <number>2</number>
|
|
|
+ </property>
|
|
|
+ <property name="value">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_3">
|
|
|
+ <property name="title">
|
|
|
+ <string>数据点标签</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_7">
|
|
|
+ <item>
|
|
|
+ <widget class="QCheckBox" name="chkPointLabelVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>数据点标签可见</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="btnSeriesLabColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>标签颜色</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="btnSeriesLabFont">
|
|
|
+ <property name="text">
|
|
|
+ <string>标签字体</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_14">
|
|
|
+ <property name="title">
|
|
|
+ <string>标签格式</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
+ <item>
|
|
|
+ <widget class="QRadioButton" name="radioSeriesLabFormat0">
|
|
|
+ <property name="text">
|
|
|
+ <string>@yPoint</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QRadioButton" name="radioSeriesLabFormat1">
|
|
|
+ <property name="text">
|
|
|
+ <string>(@xPoint, @yPoint)</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QWidget" name="page_3">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>385</width>
|
|
|
+ <height>383</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <attribute name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/39.ico</normaloff>:/images/images/39.ico</iconset>
|
|
|
+ </attribute>
|
|
|
+ <attribute name="label">
|
|
|
+ <string>坐标轴设置</string>
|
|
|
+ </attribute>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QScrollArea" name="scrollArea">
|
|
|
+ <property name="verticalScrollBarPolicy">
|
|
|
+ <enum>Qt::ScrollBarAsNeeded</enum>
|
|
|
+ </property>
|
|
|
+ <property name="widgetResizable">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="scrollAreaWidgetContents">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>-459</y>
|
|
|
+ <width>363</width>
|
|
|
+ <height>834</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="leftMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="rightMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>3</number>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_7">
|
|
|
+ <property name="title">
|
|
|
+ <string>设置坐标轴对象</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
+ <item>
|
|
|
+ <widget class="QRadioButton" name="radioX">
|
|
|
+ <property name="text">
|
|
|
+ <string>X轴</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QRadioButton" name="radioY">
|
|
|
+ <property name="text">
|
|
|
+ <string>Y轴</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_8">
|
|
|
+ <property name="title">
|
|
|
+ <string>坐标轴总体</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_4">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QLabel" name="label_7">
|
|
|
+ <property name="text">
|
|
|
+ <string>最小值</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QDoubleSpinBox" name="spinAxisMin">
|
|
|
+ <property name="minimum">
|
|
|
+ <double>-1000.000000000000000</double>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <double>1000.000000000000000</double>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QLabel" name="label_11">
|
|
|
+ <property name="text">
|
|
|
+ <string>最大值</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="1">
|
|
|
+ <widget class="QDoubleSpinBox" name="spinAxisMax">
|
|
|
+ <property name="minimum">
|
|
|
+ <double>-1000.000000000000000</double>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <double>1000.000000000000000</double>
|
|
|
+ </property>
|
|
|
+ <property name="value">
|
|
|
+ <double>10.000000000000000</double>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0" colspan="2">
|
|
|
+ <widget class="QCheckBox" name="chkBoxVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>isVisible</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnSetAxisRange">
|
|
|
+ <property name="text">
|
|
|
+ <string>设置坐标范围</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_6">
|
|
|
+ <property name="title">
|
|
|
+ <string>轴标题</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_6">
|
|
|
+ <item row="0" column="1" colspan="2">
|
|
|
+ <widget class="QLineEdit" name="editAxisTitle">
|
|
|
+ <property name="text">
|
|
|
+ <string>time(secs)</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="2">
|
|
|
+ <widget class="QPushButton" name="btnAxisSetTitleFont">
|
|
|
+ <property name="text">
|
|
|
+ <string>设置字体</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QPushButton" name="btnAxisSetTitle">
|
|
|
+ <property name="text">
|
|
|
+ <string>设置标题</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0" colspan="2">
|
|
|
+ <widget class="QCheckBox" name="chkBoxAxisTitle">
|
|
|
+ <property name="text">
|
|
|
+ <string>isTitleVisible</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_10">
|
|
|
+ <property name="title">
|
|
|
+ <string>轴刻度标签</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_7">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QPushButton" name="pushButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>标签格式</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QLineEdit" name="editAxisLabelFormat">
|
|
|
+ <property name="text">
|
|
|
+ <string>%.1f</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QPushButton" name="btnAxisLabelColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>文字颜色</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="1">
|
|
|
+ <widget class="QPushButton" name="btnAxisLabelFont">
|
|
|
+ <property name="text">
|
|
|
+ <string>设置字体</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0" colspan="2">
|
|
|
+ <widget class="QCheckBox" name="chkBoxLabelsVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>labelsVisible</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_11">
|
|
|
+ <property name="title">
|
|
|
+ <string>GridLine</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout">
|
|
|
+ <item>
|
|
|
+ <widget class="QCheckBox" name="chkGridLineVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>isGridLineVisible</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="btnGridLineColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>gridLineColor</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="pushButton_10">
|
|
|
+ <property name="text">
|
|
|
+ <string>gridLinePen</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_9">
|
|
|
+ <property name="title">
|
|
|
+ <string>Axis and Ticks</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_5">
|
|
|
+ <item row="3" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnAxisLinePenColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>linePenColor</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QSpinBox" name="spinTickCount">
|
|
|
+ <property name="minimum">
|
|
|
+ <number>1</number>
|
|
|
+ </property>
|
|
|
+ <property name="maximum">
|
|
|
+ <number>1000</number>
|
|
|
+ </property>
|
|
|
+ <property name="value">
|
|
|
+ <number>10</number>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0" colspan="2">
|
|
|
+ <widget class="QCheckBox" name="chkAxisLineVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>isLineVisible</string>
|
|
|
+ </property>
|
|
|
+ <property name="checked">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QLabel" name="label_9">
|
|
|
+ <property name="text">
|
|
|
+ <string>Tick个数</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnAxisLinePen">
|
|
|
+ <property name="text">
|
|
|
+ <string>linePen</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QGroupBox" name="groupBox_5">
|
|
|
+ <property name="title">
|
|
|
+ <string>MinorTick</string>
|
|
|
+ </property>
|
|
|
+ <layout class="QGridLayout" name="gridLayout_8">
|
|
|
+ <item row="0" column="0">
|
|
|
+ <widget class="QLabel" name="label_10">
|
|
|
+ <property name="text">
|
|
|
+ <string>MinorTick个数</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="1">
|
|
|
+ <widget class="QSpinBox" name="spinMinorTickCount">
|
|
|
+ <property name="value">
|
|
|
+ <number>4</number>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="1" column="0" colspan="2">
|
|
|
+ <widget class="QCheckBox" name="chkMinorTickVisible">
|
|
|
+ <property name="text">
|
|
|
+ <string>isMinorGridLineVisible</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="2" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnMinorColor">
|
|
|
+ <property name="text">
|
|
|
+ <string>minorGridLineColor</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="3" column="0" colspan="2">
|
|
|
+ <widget class="QPushButton" name="btnMinorPen">
|
|
|
+ <property name="text">
|
|
|
+ <string>minorGridLinePen</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ <widget class="QChartView" name="chartView"/>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ <widget class="QToolBar" name="mainToolBar">
|
|
|
+ <property name="toolButtonStyle">
|
|
|
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
|
+ </property>
|
|
|
+ <attribute name="toolBarArea">
|
|
|
+ <enum>TopToolBarArea</enum>
|
|
|
+ </attribute>
|
|
|
+ <attribute name="toolBarBreak">
|
|
|
+ <bool>false</bool>
|
|
|
+ </attribute>
|
|
|
+ <addaction name="actDraw"/>
|
|
|
+ <addaction name="actZoomIn"/>
|
|
|
+ <addaction name="actZoomOut"/>
|
|
|
+ <addaction name="actZoomReset"/>
|
|
|
+ <addaction name="actQuit"/>
|
|
|
+ </widget>
|
|
|
+ <action name="actDraw">
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/828.bmp</normaloff>:/images/images/828.bmp</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>刷新绘图</string>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>刷新绘图</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actQuit">
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/132.bmp</normaloff>:/images/images/132.bmp</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>退出</string>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>退出</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actZoomIn">
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/418.bmp</normaloff>:/images/images/418.bmp</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>放大</string>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>放大</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actZoomOut">
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/416.bmp</normaloff>:/images/images/416.bmp</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>缩小</string>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>缩小</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ <action name="actZoomReset">
|
|
|
+ <property name="icon">
|
|
|
+ <iconset resource="res.qrc">
|
|
|
+ <normaloff>:/images/images/414.bmp</normaloff>:/images/images/414.bmp</iconset>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>原始大小</string>
|
|
|
+ </property>
|
|
|
+ <property name="toolTip">
|
|
|
+ <string>还原为原始大小</string>
|
|
|
+ </property>
|
|
|
+ </action>
|
|
|
+ </widget>
|
|
|
+ <layoutdefault spacing="6" margin="11"/>
|
|
|
+ <customwidgets>
|
|
|
+ <customwidget>
|
|
|
+ <class>QChartView</class>
|
|
|
+ <extends>QGraphicsView</extends>
|
|
|
+ <header location="global">qchartview.h</header>
|
|
|
+ </customwidget>
|
|
|
+ </customwidgets>
|
|
|
+ <resources>
|
|
|
+ <include location="res.qrc"/>
|
|
|
+ </resources>
|
|
|
+ <connections>
|
|
|
+ <connection>
|
|
|
+ <sender>actQuit</sender>
|
|
|
+ <signal>triggered()</signal>
|
|
|
+ <receiver>MainWindow</receiver>
|
|
|
+ <slot>close()</slot>
|
|
|
+ <hints>
|
|
|
+ <hint type="sourcelabel">
|
|
|
+ <x>-1</x>
|
|
|
+ <y>-1</y>
|
|
|
+ </hint>
|
|
|
+ <hint type="destinationlabel">
|
|
|
+ <x>389</x>
|
|
|
+ <y>242</y>
|
|
|
+ </hint>
|
|
|
+ </hints>
|
|
|
+ </connection>
|
|
|
+ </connections>
|
|
|
+</ui>
|