#ifndef WIDGET_H #define WIDGET_H #include namespace Ui { class Widget; } class Widget : public QWidget { Q_OBJECT public: explicit Widget(QWidget *parent = 0); ~Widget(); private: Ui::Widget *ui; private slots: void initForm(); void on_btnCalc_clicked(); void on_btnCalc2_clicked(); }; #endif // WIDGET_H