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.

612 lines
17 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>669</width>
<height>611</height>
4 years ago
</rect>
</property>
4 years ago
<property name="palette">
<palette>
<active>
4 years ago
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
4 years ago
<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>
4 years ago
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
4 years ago
<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>
4 years ago
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
4 years ago
<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>
4 years ago
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
4 years ago
<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>
4 years ago
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
4 years ago
<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>
4 years ago
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>251</red>
<green>250</green>
<blue>250</blue>
</color>
</brush>
</colorrole>
4 years ago
<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">
4 years ago
<string notr="true">background-color: rgb(11,10,10);
color: rgb(251, 250, 250);</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
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="RenderArea" name="renderArea" native="true">
<property name="enabled">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QPushButton" name="btnBackgroundColor">
<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>
</item>
<item>
<widget class="QPushButton" name="btnLineColor">
<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> Line colour</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>318</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="btnAstroid">
<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);
4 years ago
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>
</item>
<item>
<widget class="QPushButton" name="btnCicloid">
<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);
4 years ago
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>
</item>
<item>
<widget class="QPushButton" name="btnHuygens">
<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);
4 years ago
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>
</item>
<item>
<widget class="QPushButton" name="btnHypo">
<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);
4 years ago
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>
</item>
<item>
<widget class="QPushButton" name="btnLine">
<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>Line</string>
</property>
</widget>
</item>
4 years ago
<item>
<widget class="QPushButton" name="btnCircle">
<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>Circle</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnEllipse">
<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>Ellipse</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnFancy">
<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>Fancy</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnStarfish">
<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>Starfish</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCloud">
<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>Cloud</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnInverseCloud">
<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>Inverse Cloud</string>
</property>
</widget>
</item>
4 years ago
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<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::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="scaleInput">
4 years ago
<property name="maximumSize">
<size>
<width>61</width>
<height>16777215</height>
</size>
</property>
4 years ago
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);</string>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="maximum">
4 years ago
<double>150.000000000000000</double>
4 years ago
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_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::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="intervalInput">
4 years ago
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>61</width>
<height>16777215</height>
</size>
</property>
4 years ago
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);</string>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<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::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="stepInput">
4 years ago
<property name="maximumSize">
<size>
<width>61</width>
<height>16777215</height>
</size>
</property>
4 years ago
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(36, 35, 35);</string>
</property>
<property name="maximum">
<number>1024</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
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>