ui/mainwindow.ui
<?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>1174</width>
<height>755</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>920</width>
<height>755</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1175</width>
<height>755</height>
</size>
</property>
<property name="windowTitle">
<string>TIPE - Théorie et application de la méthode aux élements finis</string>
</property>
<property name="unifiedTitleAndToolBarOnMac">
<bool>true</bool>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="MplWidget" name="mpl" native="true">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>920</width>
<height>730</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QTextEdit" name="labelSelectModel">
<property name="geometry">
<rect>
<x>140</x>
<y>320</y>
<width>671</width>
<height>131</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="lineWrapColumnOrWidth">
<number>0</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:36pt;">Veuillez sélectionner un modèle de calcul</span></p></body></html></string>
</property>
<property name="cursorWidth">
<number>0</number>
</property>
</widget>
<widget class="QTextEdit" name="labelLimit">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>45</x>
<y>675</y>
<width>846</width>
<height>41</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="lineWrapColumnOrWidth">
<number>0</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;">
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:24pt; color:#fc0107;">⚠️ Dépassement de la limite élastique</span></p></body></html></string>
</property>
<property name="cursorWidth">
<number>0</number>
</property>
</widget>
</widget>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QDockWidget" name="dockWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>255</width>
<height>734</height>
</size>
</property>
<property name="features">
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
</property>
<property name="allowedAreas">
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
</property>
<property name="windowTitle">
<string>Options</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<widget class="QGroupBox" name="groupBoxModel">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>251</width>
<height>101</height>
</rect>
</property>
<property name="title">
<string>Sélection du modèle de calcul</string>
</property>
<widget class="QListWidget" name="listWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>256</width>
<height>81</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="labelStatus1">
<property name="geometry">
<rect>
<x>230</x>
<y>0</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="Line" name="line_5">
<property name="geometry">
<rect>
<x>0</x>
<y>100</y>
<width>251</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QGroupBox" name="groupBoxMaterial">
<property name="geometry">
<rect>
<x>0</x>
<y>110</y>
<width>251</width>
<height>51</height>
</rect>
</property>
<property name="title">
<string>Matériau</string>
</property>
<widget class="QComboBox" name="comboBoxMaterials">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>161</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="labelStatus2">
<property name="geometry">
<rect>
<x>230</x>
<y>20</y>
<width>21</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>✅</string>
</property>
</widget>
</widget>
<widget class="Line" name="line_6">
<property name="geometry">
<rect>
<x>0</x>
<y>160</y>
<width>251</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QGroupBox" name="groupBoxSection">
<property name="geometry">
<rect>
<x>0</x>
<y>170</y>
<width>251</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Section</string>
</property>
<widget class="QComboBox" name="comboBoxSections">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>161</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="labelStatus3">
<property name="geometry">
<rect>
<x>230</x>
<y>20</y>
<width>21</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>✅</string>
</property>
</widget>
<widget class="QLabel" name="labelSectionImage">
<property name="geometry">
<rect>
<x>15</x>
<y>55</y>
<width>46</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="labelWide">
<property name="geometry">
<rect>
<x>65</x>
<y>55</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Largeur en mm</string>
</property>
</widget>
<widget class="QLabel" name="labelTall">
<property name="geometry">
<rect>
<x>65</x>
<y>75</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Hauteur en mm</string>
</property>
</widget>
<widget class="QLabel" name="labelThick">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>65</x>
<y>95</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Epaisseur en mm</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxWide">
<property name="geometry">
<rect>
<x>180</x>
<y>50</y>
<width>68</width>
<height>24</height>
</rect>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxTall">
<property name="geometry">
<rect>
<x>180</x>
<y>70</y>
<width>68</width>
<height>24</height>
</rect>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxThick">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>180</x>
<y>90</y>
<width>68</width>
<height>24</height>
</rect>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>0</x>
<y>290</y>
<width>251</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QGroupBox" name="groupBoxConditions">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>300</y>
<width>251</width>
<height>136</height>
</rect>
</property>
<property name="title">
<string>Conditions aux limites</string>
</property>
<widget class="QComboBox" name="comboBoxConditions">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>181</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxReparti">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>15</x>
<y>110</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Réparti</string>
</property>
</widget>
<widget class="QLabel" name="labelEffort">
<property name="geometry">
<rect>
<x>15</x>
<y>85</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Effort en Newtons</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxEffort">
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>81</width>
<height>24</height>
</rect>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxLenght">
<property name="geometry">
<rect>
<x>140</x>
<y>50</y>
<width>81</width>
<height>24</height>
</rect>
</property>
<property name="decimals">
<number>0</number>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>10000.000000000000000</double>
</property>
<property name="value">
<double>1000.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="labelLenght">
<property name="geometry">
<rect>
<x>15</x>
<y>55</y>
<width>116</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Longeur en mm</string>
</property>
</widget>
</widget>
<widget class="Line" name="line_4">
<property name="geometry">
<rect>
<x>0</x>
<y>435</y>
<width>251</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QGroupBox" name="groupBoxElements">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>445</y>
<width>251</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>Selection du nombre d'éléments</string>
</property>
<widget class="QCheckBox" name="checkBoxElements">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Auto</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QSlider" name="horizontalSliderElements">
<property name="geometry">
<rect>
<x>70</x>
<y>20</y>
<width>111</width>
<height>22</height>
</rect>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>12</number>
</property>
<property name="singleStep">
<number>0</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="value">
<number>7</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QPushButton" name="pushButtonPlotMatrix">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>50</y>
<width>141</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Matrice de rigidité</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditElements">
<property name="geometry">
<rect>
<x>190</x>
<y>20</y>
<width>61</width>
<height>21</height>
</rect>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBoxResults">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>620</y>
<width>251</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>Resultats</string>
</property>
<widget class="QComboBox" name="comboBoxResults">
<property name="geometry">
<rect>
<x>5</x>
<y>25</y>
<width>131</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>Déplacements</string>
</property>
</item>
<item>
<property name="text">
<string>Contraintes</string>
</property>
</item>
</widget>
<widget class="QLabel" name="labelStatus5">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>230</x>
<y>20</y>
<width>21</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="pushButtonSave">
<property name="geometry">
<rect>
<x>130</x>
<y>55</y>
<width>113</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Save Graph</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonExcel">
<property name="geometry">
<rect>
<x>10</x>
<y>55</y>
<width>113</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Export xls</string>
</property>
</widget>
</widget>
<widget class="Line" name="line_3">
<property name="geometry">
<rect>
<x>0</x>
<y>610</y>
<width>251</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QGroupBox" name="groupBoxComputation">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>540</y>
<width>251</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Calculs</string>
</property>
<widget class="QPushButton" name="pushButtonStartComputation">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>141</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Lancer les calculs</string>
</property>
</widget>
<widget class="QLabel" name="labelComputationInfo">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="Line" name="line_7">
<property name="geometry">
<rect>
<x>0</x>
<y>530</y>
<width>251</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</widget>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>MplWidget</class>
<extends>QWidget</extends>
<header location="global">mplwidget</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>checkBoxElements</sender>
<signal>clicked(bool)</signal>
<receiver>horizontalSliderElements</receiver>
<slot>setHidden(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>35</x>
<y>349</y>
</hint>
<hint type="destinationlabel">
<x>145</x>
<y>350</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButtonStartComputation</sender>
<signal>clicked(bool)</signal>
<receiver>groupBoxResults</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>70</x>
<y>537</y>
</hint>
<hint type="destinationlabel">
<x>125</x>
<y>677</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBoxElements</sender>
<signal>clicked(bool)</signal>
<receiver>lineEditElements</receiver>
<slot>setHidden(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>35</x>
<y>431</y>
</hint>
<hint type="destinationlabel">
<x>220</x>
<y>432</y>
</hint>
</hints>
</connection>
</connections>
</ui>