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.
597 lines
14 KiB
597 lines
14 KiB
3 days ago
|
<?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>1200</width>
|
||
|
<height>800</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>MainWindow</string>
|
||
|
</property>
|
||
|
<property name="tabShape">
|
||
|
<enum>QTabWidget::TabShape::Triangular</enum>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="centralwidget">
|
||
|
<widget class="UChart" name="displayer" native="true">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>40</x>
|
||
|
<y>20</y>
|
||
|
<width>650</width>
|
||
|
<height>650</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="layoutWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>190</x>
|
||
|
<y>690</y>
|
||
|
<width>361</width>
|
||
|
<height>61</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="back_botton">
|
||
|
<property name="enabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Orientation::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="start_botton">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Orientation::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="next_botton">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="step_label">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>40</x>
|
||
|
<y>670</y>
|
||
|
<width>141</width>
|
||
|
<height>41</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<pointsize>16</pointsize>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Step:0/0</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="Agents_groupBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>730</x>
|
||
|
<y>20</y>
|
||
|
<width>420</width>
|
||
|
<height>151</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Agents</string>
|
||
|
</property>
|
||
|
<widget class="QLineEdit" name="single_coordinat_lineEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>30</y>
|
||
|
<width>113</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="add_single_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>130</x>
|
||
|
<y>30</y>
|
||
|
<width>100</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>add single</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLineEdit" name="delete_order_lineEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>70</y>
|
||
|
<width>81</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="delete_order_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>110</x>
|
||
|
<y>70</y>
|
||
|
<width>121</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>delete by order</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="clear_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>110</y>
|
||
|
<width>100</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>clear</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QTextEdit" name="init_coordinat_edit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>250</x>
|
||
|
<y>30</y>
|
||
|
<width>160</width>
|
||
|
<height>110</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="add_by_matrix_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>130</x>
|
||
|
<y>110</y>
|
||
|
<width>100</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>add by matrix</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="Running_data_groupBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>730</x>
|
||
|
<y>290</y>
|
||
|
<width>420</width>
|
||
|
<height>181</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Running data</string>
|
||
|
</property>
|
||
|
<widget class="QTextEdit" name="neighbor_textEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>50</y>
|
||
|
<width>160</width>
|
||
|
<height>120</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>50</x>
|
||
|
<y>30</y>
|
||
|
<width>71</width>
|
||
|
<height>17</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Adjacency</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>300</x>
|
||
|
<y>30</y>
|
||
|
<width>67</width>
|
||
|
<height>17</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Coordinate</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QTextEdit" name="coordinat_textEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>250</x>
|
||
|
<y>50</y>
|
||
|
<width>160</width>
|
||
|
<height>120</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="control_groupBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>730</x>
|
||
|
<y>490</y>
|
||
|
<width>420</width>
|
||
|
<height>91</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Play Control</string>
|
||
|
</property>
|
||
|
<widget class="QLineEdit" name="step_lineEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>230</x>
|
||
|
<y>60</y>
|
||
|
<width>50</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="pushButton_6">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>350</x>
|
||
|
<y>60</y>
|
||
|
<width>61</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Goto</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_5">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>290</x>
|
||
|
<y>60</y>
|
||
|
<width>50</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>/0</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QSpinBox" name="rate_spinBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>100</x>
|
||
|
<y>60</y>
|
||
|
<width>44</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="value">
|
||
|
<number>5</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>60</y>
|
||
|
<width>41</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Rate</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_9">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>150</x>
|
||
|
<y>60</y>
|
||
|
<width>31</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>HZ</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QSpinBox" name="step_length_spinBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>100</x>
|
||
|
<y>30</y>
|
||
|
<width>44</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="value">
|
||
|
<number>5</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_10">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>30</y>
|
||
|
<width>81</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Step Length</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QCheckBox" name="debug_checkBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>230</x>
|
||
|
<y>30</y>
|
||
|
<width>121</width>
|
||
|
<height>22</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Debug</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="reset_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>350</x>
|
||
|
<y>30</y>
|
||
|
<width>61</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Reset</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="Algorithm_groupBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>730</x>
|
||
|
<y>180</y>
|
||
|
<width>420</width>
|
||
|
<height>101</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Algorithm</string>
|
||
|
</property>
|
||
|
<widget class="QComboBox" name="algorithm_comboBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>80</x>
|
||
|
<y>30</y>
|
||
|
<width>100</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_6">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>30</y>
|
||
|
<width>61</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Pattern</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLineEdit" name="set_step_lineEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>80</x>
|
||
|
<y>60</y>
|
||
|
<width>101</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>500</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="set_step__pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>190</x>
|
||
|
<y>30</y>
|
||
|
<width>151</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Set</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_7">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>60</y>
|
||
|
<width>61</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>RunStep</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="calculate_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>190</x>
|
||
|
<y>60</y>
|
||
|
<width>151</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Calculate</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="running_data_groupBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>730</x>
|
||
|
<y>600</y>
|
||
|
<width>420</width>
|
||
|
<height>70</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>File I/O</string>
|
||
|
</property>
|
||
|
<widget class="QLineEdit" name="file_name_lineEdit">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>90</x>
|
||
|
<y>30</y>
|
||
|
<width>120</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="select_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>220</x>
|
||
|
<y>30</y>
|
||
|
<width>95</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Select</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton" name="save_pushButton">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>320</x>
|
||
|
<y>30</y>
|
||
|
<width>95</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Save</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" name="label_8">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>30</y>
|
||
|
<width>67</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>File Name</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>UChart</class>
|
||
|
<extends>QWidget</extends>
|
||
|
<header location="global">uchart.h</header>
|
||
|
<container>1</container>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|