2
0
forked from Ivasoft/DSView
Files
DSView/DSLogic-gui/pv/decoder/spiconfig.ui
DreamSourceLab 493d61d6c0 Initial version.
2014-01-15 19:48:01 +08:00

382 lines
9.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SpiConfig</class>
<widget class="QDialog" name="SpiConfig">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>442</width>
<height>535</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>442</width>
<height>535</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>442</width>
<height>535</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>70</x>
<y>480</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>351</width>
<height>191</height>
</rect>
</property>
<property name="title">
<string>Probes Setting</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>241</width>
<height>145</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="verticalSpacing">
<number>16</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SSn </string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="ssn_comboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>SCLK </string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="sclk_comboBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>MOSI</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="mosi_comboBox"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>MISO</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="miso_comboBox"/>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>30</x>
<y>230</y>
<width>351</width>
<height>221</height>
</rect>
</property>
<property name="title">
<string>Mode Setting</string>
</property>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>311</width>
<height>181</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout_2">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="verticalSpacing">
<number>16</number>
</property>
<property name="bottomMargin">
<number>16</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>CPOL</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cpol_comboBox">
<item>
<property name="text">
<string>0 - Clock is Low when Inactive</string>
</property>
</item>
<item>
<property name="text">
<string>1 - Clock is High when Inactive</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>CPHA</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cpha_comboBox">
<item>
<property name="text">
<string>0 - Data is Valid on Clock Rising Edge</string>
</property>
</item>
<item>
<property name="text">
<string>1 - Data is Valid on Clock Falling Edge</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Bits</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="bits_comboBox">
<property name="currentIndex">
<number>4</number>
</property>
<item>
<property name="text">
<string>4</string>
</property>
</item>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>11</string>
</property>
</item>
<item>
<property name="text">
<string>12</string>
</property>
</item>
<item>
<property name="text">
<string>13</string>
</property>
</item>
<item>
<property name="text">
<string>14</string>
</property>
</item>
<item>
<property name="text">
<string>15</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>24</string>
</property>
</item>
<item>
<property name="text">
<string>32</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Order</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="order_comboBox">
<item>
<property name="text">
<string>MSB - Most Significant Bit First</string>
</property>
</item>
<item>
<property name="text">
<string>LSB - Least Significant Bit First</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>SSn</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="cs_comboBox">
<item>
<property name="text">
<string>SSn is Active Low</string>
</property>
</item>
<item>
<property name="text">
<string>SSn is Active High</string>
</property>
</item>
<item>
<property name="text">
<string>Don't use SSn</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</widget>
<zorder>groupBox</zorder>
<zorder>buttonBox</zorder>
<zorder>groupBox_2</zorder>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>SpiConfig</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>SpiConfig</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>