You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

640 lines
28 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>KSGraphWizardInterf</class>
<widget class="QWizard">
<property name="name">
<cstring>KSGraphWizardInterf</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>533</width>
<height>491</height>
</rect>
</property>
<property name="caption">
<string>Graph wizard</string>
</property>
<widget class="QWidget">
<property name="name">
<cstring>page</cstring>
</property>
<attribute name="title">
<string></string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>25</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string>&lt;center&gt;&lt;h2&gt;Welcome in the graph wizard !&lt;/h2&gt;&lt;/center&gt;
&lt;br&gt;
&lt;p&gt;This wizard allows you to create graphs easily and quickly. Notice that it doesn't cover all aspects of graph appearance, but concentrates on organising your data. You will have to tune other graph properties after finishing work with this wizard. Graphs are created in two simple steps:&lt;/p&gt;
&lt;br&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;b&gt;First step.&lt;/b&gt;
In the first step you choose a graph type and a worksheet with your data. The graph is added to the currently selected axes, but if you didn't create axes yet you will have an occasion to create a new axes object together with your graph.
&lt;/UL&gt;
&lt;br&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;b&gt;Second step.&lt;/b&gt;
In the second step you assign data to the graph. Each graph accepts a few matrices, some are required and some are optional. For example, an ordinary XY plot accepts four matrices: X,&lt;b&gt;Y&lt;/b&gt;, DX, DY - optional matrices are grayed out. You assign the data to them by selecting areas in the worksheet, but you can also write a formula. The size of all matrices must be correct, in this example all ones must be column vectors with the same number of rows.
&lt;/UL&gt;</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="alignment">
<set>WordBreak|AlignJustify|AlignTop</set>
</property>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>page</cstring>
</property>
<attribute name="title">
<string>1. Choose a source worksheet and a graph type</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>GroupBox2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>4</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>220</height>
</size>
</property>
<property name="title">
<string>Select graph type</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QIconView" row="1" column="1">
<item>
<property name="text">
<string>New Item</string>
</property>
<property name="pixmap">
<pixmap>image0</pixmap>
</property>
</item>
<item>
<property name="text">
<string>New Item</string>
</property>
<property name="pixmap">
<pixmap>image0</pixmap>
</property>
</item>
<property name="name">
<cstring>graphSubtype</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="mouseTracking">
<bool>false</bool>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="vScrollBarMode">
<enum>Auto</enum>
</property>
<property name="hScrollBarMode">
<enum>AlwaysOff</enum>
</property>
<property name="dragAutoScroll">
<bool>false</bool>
</property>
<property name="itemsMovable">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" row="0" column="1">
<property name="name">
<cstring>TextLabel6</cstring>
</property>
<property name="text">
<string> Subtype</string>
</property>
</widget>
<widget class="QListBox" row="1" column="0">
<item>
<property name="text">
<string>XY plot</string>
</property>
</item>
<item>
<property name="text">
<string>Pixmap</string>
</property>
</item>
<item>
<property name="text">
<string>Contour</string>
</property>
</item>
<item>
<property name="text">
<string>Surface</string>
</property>
</item>
<item>
<property name="text">
<string>Figure</string>
</property>
</item>
<property name="name">
<cstring>graphType</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>160</width>
<height>32767</height>
</size>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<bold>1</bold>
</font>
</property>
<property name="margin">
<number>3</number>
</property>
<property name="hScrollBarMode">
<enum>AlwaysOff</enum>
</property>
</widget>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel5</cstring>
</property>
<property name="text">
<string> Type :</string>
</property>
</widget>
</grid>
</widget>
<widget class="QGroupBox" row="0" column="0">
<property name="name">
<cstring>GroupBox5</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>1</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Worksheet</string>
</property>
<property name="alignment">
<set>AlignTop</set>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>15</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="KSChannelList" row="0" column="0">
<property name="name">
<cstring>worksheetList</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>150</height>
</size>
</property>
</widget>
</grid>
</widget>
<widget class="QButtonGroup" row="0" column="1">
<property name="name">
<cstring>useAxes</cstring>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="title">
<string>Axes</string>
</property>
<property name="exclusive">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>40</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QRadioButton" row="2" column="0">
<property name="name">
<cstring>newAxes3D</cstring>
</property>
<property name="text">
<string>Create new XYZ axes</string>
</property>
</widget>
<widget class="QRadioButton" row="1" column="0">
<property name="name">
<cstring>newAxes2D</cstring>
</property>
<property name="text">
<string>Create new XY axes</string>
</property>
</widget>
<widget class="QRadioButton" row="0" column="0">
<property name="name">
<cstring>selectedAxes</cstring>
</property>
<property name="text">
<string>Use the selected axes</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>page</cstring>
</property>
<attribute name="title">
<string>2. Assign data to the graph</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>5</number>
</property>
<widget class="QGroupBox" row="0" column="0">
<property name="name">
<cstring>GroupBox3_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Graph data</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QTabWidget" row="0" column="1" rowspan="3" colspan="1">
<property name="name">
<cstring>TabWidget2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="tabShape">
<enum>Rounded</enum>
</property>
<widget class="QWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Data range</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QFrame" row="0" column="0">
<property name="name">
<cstring>sheetEditorPlace</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Options</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QCheckBox" row="0" column="0">
<property name="name">
<cstring>useFormula</cstring>
</property>
<property name="text">
<string>Formula</string>
</property>
</widget>
<spacer row="2" column="0">
<property name="name" stdset="0">
<cstring>Spacer2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QTextEdit" row="1" column="0">
<property name="name">
<cstring>formulaString</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
</size>
</property>
</widget>
</grid>
</widget>
</widget>
<widget class="QListBox" row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
</property>
</item>
<property name="name">
<cstring>channelList</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>3</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>32767</height>
</size>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>channelDescription</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>32767</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Select a data channel on the list above and assign data to it by selecting cells of the worksheet.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignJustify|AlignTop</set>
</property>
<property name="indent">
<number>5</number>
</property>
</widget>
<widget class="QPushButton" row="1" column="0">
<property name="name">
<cstring>clearChannel</cstring>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>page</cstring>
</property>
<attribute name="title">
<string>Click &lt;b&gt;Finish&lt;/b&gt; to create the graph</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QFrame" row="0" column="0">
<property name="name">
<cstring>previewPlace</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="paletteBackgroundColor">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="frameShape">
<enum>Panel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
</widget>
</grid>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>KSChannelList</class>
<header location="local">kschannellist.h</header>
<sizehint>
<width>-1</width>
<height>-1</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<pixmap>image1</pixmap>
</customwidget>
</customwidgets>
<images>
<image name="image0">
<data format="XPM.GZ" length="1347">789c7dd3cd4e84301405e03d4fd17077c430fc2e8c9947d0b834312e4a4b8b8bd1641c17c6f8eef6b614da5ee0c2a227f938eda29c0af6f2fcc88a53f675e3b777c1c4c4afac90df97cbcfebdbf937cbdb8699b7ae589ddf6579c9047bfafc18710d660d951d8c838ba27171c4d8d66dd5da0f278c5dedb1c4d8f3febee7183546def19a77181546d18b46f418b98b4ab928302a3bf648650900e5ee78c3f9beb2c6b40c7c5f3923e4919a8d0815c0b86d02951606665176021599486d1a2594d21a0633310a7b10296911326a947b94c6ed26840b5a7b6c0b8e51d29e2b31bec53384c300714f0c6604b42742c410a0a9a12d1b3da4c59869c70428edd13a6da1464aa742941873abac0a5aa8f12a44d42cead0a46adbc46acf840a8dbbd4a9599533a8a8f1ca1bd8344e1df7cceae03cabf2bf61fef790fd03a2a94f81</data>
</image>
<image name="image1">
<data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
</image>
</images>
<layoutdefaults spacing="6" margin="11"/>
</UI>