It's an app that I made through an online course in which I learned the basics of the Qt framework and GUI building. https://git.thepra.dev/thepra/QtCurvesCpp
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.

439 lines
11 KiB

4 years 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>
4 years ago
<width>670</width>
<height>612</height>
4 years ago
</rect>
</property>
4 years ago
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>26</red>
<green>26</green>
<blue>26</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>26</red>
<green>26</green>
<blue>26</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>26</red>
<green>26</green>
<blue>26</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>11</red>
<green>10</green>
<blue>10</blue>
4 years ago
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
4 years ago
<property name="windowTitle">
<string>MainWindow</string>
</property>
4 years ago
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(11,10,10);</string>
4 years ago
</property>
4 years ago
<widget class="QWidget" name="centralWidget">
4 years ago
<property name="styleSheet">
<string notr="true">background-color: rgb(16, 15, 15);</string>
4 years ago
</property>
4 years ago
<widget class="RenderArea" name="renderArea" native="true">
<property name="enabled">
<bool>true</bool>
</property>
4 years ago
<property name="geometry">
<rect>
4 years ago
<x>11</x>
<y>11</y>
<width>561</width>
<height>538</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnAstroid">
<property name="geometry">
<rect>
<x>580</x>
<y>12</y>
<width>80</width>
<height>21</height>
4 years ago
</rect>
</property>
4 years ago
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
4 years ago
</property>
<property name="text">
<string>Astroid</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="btnCicloid">
<property name="geometry">
<rect>
<x>580</x>
<y>39</y>
<width>80</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
4 years ago
</property>
<property name="text">
<string>Cicloid</string>
</property>
</widget>
<widget class="QPushButton" name="btnHuygens">
<property name="geometry">
<rect>
<x>580</x>
<y>66</y>
<width>80</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
4 years ago
</property>
<property name="text">
<string>Huygens</string>
</property>
</widget>
<widget class="QPushButton" name="btnHypo">
<property name="geometry">
<rect>
<x>580</x>
<y>93</y>
<width>80</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
4 years ago
</property>
<property name="text">
<string>Hypo Cycloid</string>
</property>
</widget>
<widget class="QPushButton" name="btnLine_2">
<property name="geometry">
<rect>
<x>10</x>
<y>560</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
4 years ago
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
4 years ago
</property>
<property name="text">
<string>Background colour</string>
</property>
</widget>
<widget class="QPushButton" name="btnLine_3">
<property name="geometry">
<rect>
<x>120</x>
<y>560</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string> Line colour</string>
</property>
</widget>
<widget class="QPushButton" name="btnLine">
<property name="geometry">
<rect>
<x>580</x>
<y>120</y>
<width>80</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);
border-color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>Line</string>
</property>
4 years ago
</widget>
4 years ago
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>580</x>
<y>150</y>
<width>81</width>
<height>43</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>Scale</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="scaleInput">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>580</x>
<y>200</y>
<width>81</width>
<height>43</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>Interval lenght</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="intervalInput">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>580</x>
<y>250</y>
<width>81</width>
<height>43</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>Step count</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="stepInput">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
</layout>
</widget>
4 years ago
</widget>
<widget class="QStatusBar" name="statusBar"/>
</widget>
<layoutdefault spacing="6" margin="11"/>
4 years ago
<customwidgets>
<customwidget>
<class>RenderArea</class>
<extends>QWidget</extends>
<header>renderarea.h</header>
<container>1</container>
</customwidget>
</customwidgets>
4 years ago
<resources/>
<connections/>
</ui>