Added run button and parameter dialog

This commit is contained in:
2026-07-20 18:46:59 +02:00
parent 4cfe7c3a0e
commit 38e3d7aae9
16 changed files with 587 additions and 72 deletions

View File

@@ -86,6 +86,27 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="simulationTab">
<attribute name="title"><string>Simulation</string></attribute>
<layout class="QVBoxLayout" name="simulationTabLayout">
<item>
<widget class="QGroupBox" name="openModelicaGroupBox">
<property name="title"><string>OpenModelica</string></property>
<layout class="QVBoxLayout" name="openModelicaLayout">
<item><widget class="QLabel" name="openModelicaPathLabel"><property name="text"><string>OpenModelica executable:</string></property></widget></item>
<item>
<layout class="QHBoxLayout" name="openModelicaPathLayout">
<item><widget class="QLineEdit" name="openModelicaPathEdit"><property name="placeholderText"><string>Leave empty to find omc on PATH</string></property></widget></item>
<item><widget class="QPushButton" name="browseOpenModelicaButton"><property name="text"><string>Browse…</string></property></widget></item>
</layout>
</item>
<item><widget class="QLabel" name="openModelicaHintLabel"><property name="text"><string>Select the omc executable, for example ~/.local/bin/omc.</string></property><property name="wordWrap"><bool>true</bool></property></widget></item>
</layout>
</widget>
</item>
<item><spacer name="simulationSpacer"><property name="orientation"><enum>Qt::Orientation::Vertical</enum></property><property name="sizeHint" stdset="0"><size><width>20</width><height>40</height></size></property></spacer></item>
</layout>
</widget>
<widget class="QWidget" name="syntaxTab">
<attribute name="title"><string>Text highlighting</string></attribute>
<layout class="QVBoxLayout" name="syntaxTabLayout">