#ifndef MAINWINDOW_HPP #define MAINWINDOW_HPP #include #include class QPushButton; class QTextBrowser; class MainWindow : public QWidget { Q_OBJECT Q_CLASSINFO("Author", "Alexander Popov") Q_CLASSINFO("Status", "Active") private slots: void onButtonReleased(); void onCaptureProcessOutput(); private: QPushButton *button; QTextBrowser *textBrowser; QProcess process; public: explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); }; #endif // MAINWINDOW_HPP