373 lines
10 KiB
XML
373 lines
10 KiB
XML
<?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>1031</width>
|
|
<height>694</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>QtRocket</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../qtrocket.qrc">
|
|
<normaloff>:/images/resources/rocket64.png</normaloff>:/images/resources/rocket64.png</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QSplitter" name="splitter_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>6</x>
|
|
<y>6</y>
|
|
<width>1021</width>
|
|
<height>631</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="childrenCollapsible">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="childrenCollapsible">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="RocketTreeView" name="rocketTreeView">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="rocketPartButtons" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>2</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<widget class="QPushButton" name="calculateTrajectory_btn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>240</x>
|
|
<y>440</y>
|
|
<width>191</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Calculate Trajectory</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>260</x>
|
|
<y>80</y>
|
|
<width>161</width>
|
|
<height>196</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="initialAngle">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>90.0</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="mass">
|
|
<property name="text">
|
|
<string>1.0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Cd</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Angle</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="initialVelocity">
|
|
<property name="text">
|
|
<string>5.0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="dragCoeff">
|
|
<property name="text">
|
|
<string>0.5</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>mass</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Initial Velocity</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="timeStep">
|
|
<property name="text">
|
|
<string>0.01</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Time Step</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="gridLayoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>90</x>
|
|
<y>290</y>
|
|
<width>421</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="loadRSE_btn">
|
|
<property name="text">
|
|
<string>Load RSE Database File</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="databaseFileLine">
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QComboBox" name="engineSelectorComboBox"/>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="setMotor_btn">
|
|
<property name="text">
|
|
<string>Set Motor</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QPushButton" name="getTCMotorData_btn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>240</x>
|
|
<y>390</y>
|
|
<width>201</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Get Thrustcurve Motor Data</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QCustomPlot" name="plotWindow" native="true"/>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1031</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="actionNew"/>
|
|
<addaction name="actionOpen"/>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="actionSave_As"/>
|
|
<addaction name="actionClose"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionQuit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuEdit">
|
|
<property name="title">
|
|
<string>Edit</string>
|
|
</property>
|
|
<addaction name="actionSimulation_Options"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuTools">
|
|
<property name="title">
|
|
<string>Tools</string>
|
|
</property>
|
|
<addaction name="actionSaveMotorDatabase"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuHelp">
|
|
<property name="title">
|
|
<string>Help</string>
|
|
</property>
|
|
<addaction name="actionAbout"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuEdit"/>
|
|
<addaction name="menuTools"/>
|
|
<addaction name="menuHelp"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="actionAbout">
|
|
<property name="icon">
|
|
<iconset theme="help-about">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>About</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNew">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-new">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>New</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOpen">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-open">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-save">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionClose">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionQuit">
|
|
<property name="icon">
|
|
<iconset theme="application-exit">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Quit</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave_As">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="document-save-as">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save As</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSimulation_Options">
|
|
<property name="text">
|
|
<string>Simulation Options</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSaveMotorDatabase">
|
|
<property name="text">
|
|
<string>Save Motor Database</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>RocketTreeView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>gui/RocketTreeView.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>QCustomPlot</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/qcustomplot.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../qtrocket.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|