Add imageCropper

This commit is contained in:
zhangdaan
2021-05-31 15:40:51 +08:00
parent 39a4e485de
commit 3aad1f9c36
21 changed files with 1614 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPushButton>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
public slots:
void onCustomCrop();
void onSimpleCrop();
private:
void setupLayout();
private:
QPushButton* btnCustomCrop;
QPushButton* btnSimpleCrop;
};
#endif // MAINWINDOW_H