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.
 
 

60 lines
1010 B

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = root);
~MainWindow();
protected:
void paintEvent(QPaintEvent* event) Q_DECL_OVERRIDE;
private slots:
void on_btnAstroid_clicked();
void on_btnCicloid_clicked();
void on_btnHuygens_clicked();
void on_btnHypo_clicked();
void on_btnLine_clicked();
void on_intervalInput_valueChanged(double arg1);
void on_scaleInput_valueChanged(double arg1);
void on_stepInput_valueChanged(int arg1);
void on_btnBackgroundColor_clicked();
void on_btnLineColor_clicked();
void on_btnCircle_clicked();
void on_btnEllipse_clicked();
void on_btnFancy_clicked();
void on_btnStarfish_clicked();
void on_btnCloud_clicked();
void on_btnInverseCloud_clicked();
private:
void UpdateUi();
constexpr static QWidget* root = 0;
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H