mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
444a97e6c9
QQtExample工程依赖于QQt工程
33 lines
550 B
C++
33 lines
550 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow ( QWidget* parent = 0 );
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
|
|
private:
|
|
Ui::MainWindow* ui;
|
|
QByteArray headerFileBytes;
|
|
QByteArray sourceFileBytes;
|
|
|
|
|
|
// QObject interface
|
|
public:
|
|
virtual bool eventFilter ( QObject* watched, QEvent* event ) override;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|