DSCAnalysisTool/YT_TANGOUS_Release/anawidget.h

46 lines
959 B
C
Raw Normal View History

2025-03-06 07:25:37 +00:00
#ifndef ANAWIDGET_H
#define ANAWIDGET_H
#include <QtWidgets/QWidget>
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>
#include <QMessageBox>
class AnaWidget : public QWidget
{
Q_OBJECT
public:
AnaWidget(QWidget *parent = 0);
~AnaWidget();
QPushButton *m_realbutton;
QPushButton *m_startbutton;
QPushButton *m_stopbutton;
QPushButton *m_anabutton;
QPushButton *m_calcubutton;
QPushButton *m_choosebutton;
QPushButton *m_cancelbutton;
protected:
public slots:
void show_area_edit();
void show_tang_edit();
void enable_calcu_button();
private:
QLineEdit *m_lineEdit, *m_tlineEdit;
QLabel *m_label, *m_tlabel;
QLineEdit *m_tang1_lineEdit;
QLabel *m_tang1_label;
QLineEdit *m_target1_lineEdit;
QLabel *m_target1_label;
QLineEdit *m_tang2_lineEdit;
QLabel *m_tang2_label;
QLineEdit *m_target2_lineEdit;
QLabel *m_target2_label;
};
#endif // ANAWIDGET_H