qtrocket/gui/AnalysisWindow.h
Travis Hunter e6bf1fea9b
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc-13, g++-13, ubuntu-latest) (push) Has been cancelled
Revert "Merge pull request #20 from cthunter01/propagator"
This reverts commit 6280d9fb0184275843a8f4406c7293e41e65a639, reversing
changes made to 3c9c8b8c6a2b2e7430ff09efdc2cc0c1996b16ca.
2025-04-16 18:23:28 -06:00

50 lines
953 B
C++

#ifndef ANALYSISWINDOW_H
#define ANALYSISWINDOW_H
/// \cond
// C
// C++
// 3rd party
#include <QDialog>
/// \endcond
// qtrocket headers
namespace Ui {
class AnalysisWindow;
}
/**
* @brief The AnalysisWindow class.
*
* The Analysis Window class shows a plot of rocket state data. This allows visual inspection of
* flight data such as altitude vs. time.
*/
class AnalysisWindow : public QDialog
{
Q_OBJECT
public:
/**
* @brief AnalysisWindow constructor.
* @param parent Parent widget
*
* @note The constructor will make a call to QtRocket and grab the current Rocket model
* and automatically plot altitude vs time
*/
explicit AnalysisWindow(QWidget *parent = nullptr);
~AnalysisWindow();
private slots:
void onButton_plotAltitude_clicked();
void onButton_plotVelocity_clicked();
void onButton_plotMotorCurve_clicked();
private:
Ui::AnalysisWindow *ui;
};
#endif // ANALYSISWINDOW_H